Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001776/0.001776, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00229/0.00229, allocations: 217 kB / 22.25 MB, free: 4.855 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.46/1.46, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.135/3.135, allocations: 0.5107 GB / 0.8158 GB, free: 17.83 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance,fileNamePrefix="Buildings_latest_Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance,fileNamePrefix="Buildings_latest_Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001995/0.001995, allocations: 72.56 kB / 1.186 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3259/0.3279, allocations: 181.9 MB / 1.363 GB, free: 14.02 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.1897/0.5176, allocations: 158 MB / 1.518 GB, free: 15.44 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.0192/0.5368, allocations: 10.17 MB / 1.528 GB, free: 5.25 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002974/0.5398, allocations: 127 kB / 1.528 GB, free: 5.125 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.005949/0.5457, allocations: 1.869 MB / 1.53 GB, free: 3.246 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.005086/0.5508, allocations: 1.686 MB / 1.531 GB, free: 1.551 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.00268/0.5535, allocations: 0.8036 MB / 1.532 GB, free: 0.75 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.004999/0.5585, allocations: 3.172 MB / 1.535 GB, free: 13.57 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001889/0.5604, allocations: 0.9612 MB / 1.536 GB, free: 12.58 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002757/0.5631, allocations: 1.334 MB / 1.537 GB, free: 11.24 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002694/0.5658, allocations: 1.131 MB / 1.538 GB, free: 10.11 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0005332/0.5664, allocations: 128 kB / 1.539 GB, free: 9.98 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002175/0.5685, allocations: 0.7794 MB / 1.539 GB, free: 9.199 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0007808/0.5693, allocations: 497.9 kB / 1.54 GB, free: 8.711 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.001633/0.5709, allocations: 0.8235 MB / 1.541 GB, free: 7.883 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.005501/0.5765, allocations: 3.49 MB / 1.544 GB, free: 4.379 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.5765, allocations: 0 / 1.544 GB, free: 4.379 MB / 1.232 GB Notification: Performance of FrontEnd: time 2.104e-06/0.5765, allocations: 0 / 1.544 GB, free: 4.379 MB / 1.232 GB Notification: Performance of Transformations before backend: time 0.0001182/0.5766, allocations: 4 kB / 1.544 GB, free: 4.375 MB / 1.232 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.005699/0.5823, allocations: 2.819 MB / 1.547 GB, free: 1.508 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 4.679e-05/0.5823, allocations: 11.97 kB / 1.547 GB, free: 1.496 MB / 1.232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002533/0.5826, allocations: 130.7 kB / 1.547 GB, free: 1.359 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001649/0.5842, allocations: 394 kB / 1.547 GB, free: 0.9727 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004218/0.5884, allocations: 1.944 MB / 1.549 GB, free: 14.97 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.405e-05/0.5885, allocations: 58 kB / 1.549 GB, free: 14.91 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001668/0.5887, allocations: 76 kB / 1.549 GB, free: 14.84 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001708/0.5904, allocations: 1.037 MB / 1.55 GB, free: 13.73 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.6e-05/0.5904, allocations: 0 / 1.55 GB, free: 13.73 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.803e-05/0.5905, allocations: 35.98 kB / 1.55 GB, free: 13.7 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.204e-05/0.5905, allocations: 32.73 kB / 1.55 GB, free: 13.67 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00124/0.5918, allocations: 0.7025 MB / 1.551 GB, free: 12.96 MB / 1.248 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006483/0.5983, allocations: 3.661 MB / 1.555 GB, free: 9.215 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005098/0.5988, allocations: 302.6 kB / 1.555 GB, free: 8.91 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002609/0.599, allocations: 172.7 kB / 1.555 GB, free: 8.738 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001433/0.5992, allocations: 19.98 kB / 1.555 GB, free: 8.719 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.837e-05/0.5992, allocations: 34.56 kB / 1.555 GB, free: 8.676 MB / 1.248 GB Notification: Performance of pre-optimization done (n=30): time 2.554e-06/0.5992, allocations: 0 / 1.555 GB, free: 8.676 MB / 1.248 GB Notification: Performance of matching and sorting (n=32): time 0.003419/0.6026, allocations: 1.603 MB / 1.557 GB, free: 7.027 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.359e-05/0.6027, allocations: 59.41 kB / 1.557 GB, free: 6.957 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00465/0.6073, allocations: 2.957 MB / 1.56 GB, free: 3.984 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 6.179e-05/0.6074, allocations: 29.7 kB / 1.56 GB, free: 3.949 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.001098/0.6085, allocations: 1.071 MB / 1.561 GB, free: 2.871 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001475/0.6086, allocations: 123 kB / 1.561 GB, free: 2.75 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001827/0.6088, allocations: 118.1 kB / 1.561 GB, free: 2.625 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001449/0.609, allocations: 329.9 kB / 1.561 GB, free: 2.297 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002701/0.6092, allocations: 165 kB / 1.561 GB, free: 2.133 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004752/0.6097, allocations: 447.5 kB / 1.562 GB, free: 1.594 MB / 1.248 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: air.vol.dynBal.medium.p = air.vol.dynBal.p_start (boundary.p = air.vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002155/0.6119, allocations: 0.9973 MB / 1.563 GB, free: 0.5117 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.6119, allocations: 0 / 1.563 GB, free: 0.5117 MB / 1.248 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001422/0.6133, allocations: 0.8138 MB / 1.564 GB, free: 15.68 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 2.503e-05/0.6133, allocations: 8 kB / 1.564 GB, free: 15.68 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.155e-05/0.6133, allocations: 4 kB / 1.564 GB, free: 15.67 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002049/0.6135, allocations: 68.56 kB / 1.564 GB, free: 15.61 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003497/0.6139, allocations: 95.84 kB / 1.564 GB, free: 15.51 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001748/0.6156, allocations: 1.754 MB / 1.566 GB, free: 13.65 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009643/0.6166, allocations: 31.94 kB / 1.566 GB, free: 13.62 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.072e-05/0.6166, allocations: 24 kB / 1.566 GB, free: 13.59 MB / 1.264 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: air.vol.dynBal.medium.p = air.vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001155/0.6178, allocations: 0.7901 MB / 1.566 GB, free: 12.79 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004079/0.6182, allocations: 242.4 kB / 1.567 GB, free: 12.55 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000524/0.6187, allocations: 255.7 kB / 1.567 GB, free: 12.3 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.6187, allocations: 8.062 kB / 1.567 GB, free: 12.29 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.068e-05/0.6187, allocations: 7.938 kB / 1.567 GB, free: 12.29 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007291/0.6195, allocations: 0.5939 MB / 1.567 GB, free: 11.62 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003541/0.623, allocations: 1.885 MB / 1.569 GB, free: 9.637 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.182e-06/0.623, allocations: 4 kB / 1.569 GB, free: 9.633 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003081/0.6233, allocations: 63.84 kB / 1.569 GB, free: 9.57 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001699/0.6235, allocations: 60.81 kB / 1.569 GB, free: 9.508 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.732e-05/0.6235, allocations: 8 kB / 1.569 GB, free: 9.5 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001619/0.6251, allocations: 1.754 MB / 1.571 GB, free: 7.629 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.797e-06/0.6251, allocations: 7.938 kB / 1.571 GB, free: 7.621 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001315/0.6265, allocations: 0.9279 MB / 1.572 GB, free: 6.633 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009311/0.6274, allocations: 347.5 kB / 1.572 GB, free: 6.293 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003608/0.6278, allocations: 16 kB / 1.572 GB, free: 6.277 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007141/0.6285, allocations: 15.92 kB / 1.572 GB, free: 6.262 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.894e-05/0.6285, allocations: 31.89 kB / 1.572 GB, free: 6.23 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.882e-05/0.6286, allocations: 20.12 kB / 1.572 GB, free: 6.211 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.003453/0.632, allocations: 2.083 MB / 1.575 GB, free: 4.125 MB / 1.264 GB Notification: Performance of sort global known variables: time 1e-07/0.632, allocations: 0 / 1.575 GB, free: 4.125 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.001198/0.6332, allocations: 300 kB / 1.575 GB, free: 3.832 MB / 1.264 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (air.vol.dynBal.medium.Xi[1],air.vol.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001909/0.6351, allocations: 1.55 MB / 1.576 GB, free: 2.211 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.0009612/0.6361, allocations: 0.5076 MB / 1.577 GB, free: 1.691 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 7.223e-06/0.6361, allocations: 4 kB / 1.577 GB, free: 1.688 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0004235/0.6365, allocations: 301.7 kB / 1.577 GB, free: 1.383 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003858/0.6404, allocations: 0.9386 MB / 1.578 GB, free: 484 kB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02831/0.6687, allocations: 17.15 MB / 1.595 GB, free: 14.9 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002072/0.6707, allocations: 1.388 MB / 1.596 GB, free: 13.47 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001234/0.672, allocations: 346.8 kB / 1.596 GB, free: 13.12 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001133/0.6731, allocations: 0.8 MB / 1.597 GB, free: 12.32 MB / 1.295 GB Notification: Performance of SimCode: time 1.553e-06/0.6731, allocations: 0 / 1.597 GB, free: 12.32 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.738/1.411, allocations: 55.54 MB / 1.651 GB, free: 228.6 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.2/14.61, allocations: 3.859 kB / 1.651 GB, free: 228.6 MB / 1.295 GB " [Timeout remaining time 285] (rm -f Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance_res.csv --start-time 0 --stop-time 3600 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_latest_Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance.fmu > Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable air.vol.T in file Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance_res.csv. Warning: Get data of variable air.vol.T from file Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance_res.csv failed! Error: Could not read variable air.vol.Xi[1] in file Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance_res.csv. Warning: Get data of variable air.vol.Xi[1] from file Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 21.25395488506183]