Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001384/0.001384, allocations: 107 kB / 17.08 MB, free: 5.969 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001398/0.001399, allocations: 196.2 kB / 20.03 MB, free: 3.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.46/1.46, allocations: 222.9 MB / 245.7 MB, free: 4.195 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.01/3.01, allocations: 490 MB / 0.7695 GB, free: 3.09 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|assWatMas.mWat_flow|per.mWatMin_flow|runSig.y|assWatMas.assMes.u",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|assWatMas.mWat_flow|per.mWatMin_flow|runSig.y|assWatMas.assMes.u",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002251/0.002251, allocations: 63.89 kB / 1.104 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.959/0.9613, allocations: 164 MB / 1.264 GB, free: 7.309 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow): time 0.003942/0.9652, allocations: 2.462 MB / 1.266 GB, free: 5.598 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002355/0.9676, allocations: 1.572 MB / 1.268 GB, free: 4.5 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002233/0.9679, allocations: 3.281 kB / 1.268 GB, free: 4.5 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001031/0.9689, allocations: 333.7 kB / 1.268 GB, free: 4.379 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004886/0.9694, allocations: 218 kB / 1.268 GB, free: 4.273 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00079/0.9702, allocations: 273.3 kB / 1.269 GB, free: 4.133 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0005069/0.9707, allocations: 385.7 kB / 1.269 GB, free: 3.957 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001682/0.9709, allocations: 70.98 kB / 1.269 GB, free: 3.926 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002406/0.9712, allocations: 159 kB / 1.269 GB, free: 3.855 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002276/0.9714, allocations: 163.8 kB / 1.269 GB, free: 3.785 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 5.75e-05/0.9715, allocations: 22.88 kB / 1.269 GB, free: 3.781 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002199/0.9717, allocations: 80.3 kB / 1.269 GB, free: 3.762 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001409/0.9718, allocations: 126.4 kB / 1.27 GB, free: 3.711 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001643/0.972, allocations: 190.8 kB / 1.27 GB, free: 3.57 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005988/0.9726, allocations: 0.4985 MB / 1.27 GB, free: 3.359 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.9726, allocations: 5.031 kB / 1.27 GB, free: 3.355 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.984e-06/0.9726, allocations: 0 / 1.27 GB, free: 3.355 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.075e-06/0.9727, allocations: 0 / 1.27 GB, free: 3.355 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001164/0.9738, allocations: 0.8491 MB / 1.271 GB, free: 2.652 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.9739, allocations: 9.875 kB / 1.271 GB, free: 2.652 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000126/0.974, allocations: 63.59 kB / 1.271 GB, free: 2.617 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005429/0.9746, allocations: 434.9 kB / 1.272 GB, free: 2.277 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.895e-05/0.9746, allocations: 13.41 kB / 1.272 GB, free: 2.27 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.149e-05/0.9746, allocations: 11.88 kB / 1.272 GB, free: 2.266 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000293/0.9749, allocations: 143.3 kB / 1.272 GB, free: 2.184 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.9749, allocations: 0 / 1.272 GB, free: 2.184 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.819e-05/0.975, allocations: 3.422 kB / 1.272 GB, free: 2.184 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.975, allocations: 6.812 kB / 1.272 GB, free: 2.18 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001841/0.9752, allocations: 69.94 kB / 1.272 GB, free: 2.156 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00087/0.9761, allocations: 0.5815 MB / 1.272 GB, free: 1.754 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003153/0.9764, allocations: 123.7 kB / 1.272 GB, free: 1.691 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001096/0.9765, allocations: 52.8 kB / 1.273 GB, free: 1.664 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.191e-05/0.9765, allocations: 2.312 kB / 1.273 GB, free: 1.664 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002262/0.9768, allocations: 110 kB / 1.273 GB, free: 1.598 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=13): time 1.613e-06/0.9768, allocations: 0 / 1.273 GB, free: 1.598 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13): time 0.0005384/0.9773, allocations: 240.3 kB / 1.273 GB, free: 1.48 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.513e-05/0.9774, allocations: 79.64 kB / 1.273 GB, free: 1.387 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008389/0.9782, allocations: 0.6887 MB / 1.274 GB, free: 1.105 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.355e-05/0.9782, allocations: 36.61 kB / 1.274 GB, free: 1.066 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000164/0.9784, allocations: 266.1 kB / 1.274 GB, free: 0.8516 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.204e-05/0.9785, allocations: 39.48 kB / 1.274 GB, free: 0.8242 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.58e-05/0.9785, allocations: 52.28 kB / 1.274 GB, free: 0.793 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 8.367e-05/0.9786, allocations: 373.9 kB / 1.274 GB, free: 464 kB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001547/0.9788, allocations: 68.75 kB / 1.274 GB, free: 444 kB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001725/0.979, allocations: 133 kB / 1.275 GB, free: 356 kB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002239/0.9792, allocations: 130.4 kB / 1.275 GB, free: 288 kB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.9792, allocations: 3.938 kB / 1.275 GB, free: 284 kB / 0.9981 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004131/0.9796, allocations: 274.9 kB / 1.275 GB, free: 152 kB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.9797, allocations: 6.234 kB / 1.275 GB, free: 152 kB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.9797, allocations: 4.75 kB / 1.275 GB, free: 148 kB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.9797, allocations: 2.125 kB / 1.275 GB, free: 148 kB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001625/0.9799, allocations: 35.66 kB / 1.275 GB, free: 144 kB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-06/0.9799, allocations: 1.938 kB / 1.275 GB, free: 144 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001791/0.9801, allocations: 22.92 kB / 1.275 GB, free: 136 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.58e-05/0.9801, allocations: 14.25 kB / 1.275 GB, free: 128 kB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 14 ($PRE.runSig.combiTimeTable.nextTimeEvent,$whenCondition2,$PRE.mWat_flow.tab.nextTimeEvent,$whenCondition1,runSig.combiTimeTable.nextTimeEventScaled,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEvent,runSig.y,mWat_flow.tab.nextTimeEventScaled,$PRE.mWat_flow.tab.nextTimeEventScaled,mWat_flow.tab.nextTimeEvent,assWatMas.hys.y,$PRE.assWatMas.hys.y,assWatMas.assMes.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002251/0.9803, allocations: 214.2 kB / 1.275 GB, free: 15.97 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.998e-05/0.9804, allocations: 64.81 kB / 1.275 GB, free: 15.93 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000101/0.9805, allocations: 61.08 kB / 1.275 GB, free: 15.91 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.9805, allocations: 2.125 kB / 1.275 GB, free: 15.91 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.9805, allocations: 0 / 1.275 GB, free: 15.91 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.9805, allocations: 1.375 kB / 1.275 GB, free: 15.91 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003931/0.9809, allocations: 372.8 kB / 1.276 GB, free: 15.64 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.981, allocations: 3.938 kB / 1.276 GB, free: 15.64 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.636e-05/0.981, allocations: 6.438 kB / 1.276 GB, free: 15.64 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.666e-06/0.981, allocations: 1.594 kB / 1.276 GB, free: 15.64 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.517e-05/0.981, allocations: 10.55 kB / 1.276 GB, free: 15.63 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.981, allocations: 0 / 1.276 GB, free: 15.63 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.981, allocations: 0 / 1.276 GB, free: 15.63 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003895/0.9814, allocations: 218.6 kB / 1.276 GB, free: 15.5 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001122/0.9816, allocations: 132.2 kB / 1.276 GB, free: 15.37 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.492e-05/0.9816, allocations: 9.109 kB / 1.276 GB, free: 15.37 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001118/0.9817, allocations: 9.812 kB / 1.276 GB, free: 15.37 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.19e-05/0.9818, allocations: 20.94 kB / 1.276 GB, free: 15.36 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.79e-05/0.9818, allocations: 10.88 kB / 1.276 GB, free: 15.36 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0005443/0.9824, allocations: 466.8 kB / 1.277 GB, free: 15.17 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.51e-07/0.9824, allocations: 0 / 1.277 GB, free: 15.17 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.000324/0.9827, allocations: 64.19 kB / 1.277 GB, free: 15.16 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,assWatMas.assMes.u,assWatMas.hys.y,mWat_flow.tab.nextTimeEvent,mWat_flow.tab.nextTimeEventScaled,runSig.y,runSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 5 (runSig.combiTimeTable.nextTimeEventScaled,mWat_flow.tab.nextTimeEventScaled,assWatMas.hys.y,mWat_flow.tab.nextTimeEvent,runSig.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001567/0.9843, allocations: 434.3 kB / 1.277 GB, free: 14.95 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0003866/0.9847, allocations: 159 kB / 1.277 GB, free: 14.9 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.9847, allocations: 0 / 1.277 GB, free: 14.9 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001389/0.9848, allocations: 57.16 kB / 1.277 GB, free: 14.88 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005321/0.9854, allocations: 96.83 kB / 1.277 GB, free: 14.84 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001425/0.9868, allocations: 0.8895 MB / 1.278 GB, free: 14.34 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005577/0.9874, allocations: 0.8648 MB / 1.279 GB, free: 13.62 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.826e-05/0.9875, allocations: 33.81 kB / 1.279 GB, free: 13.61 MB / 1.014 GB Notification: Performance of SimCode: time 4.4e-07/0.9875, allocations: 0 / 1.279 GB, free: 13.61 MB / 1.014 GB Notification: Performance of Templates: time 0.01065/0.9981, allocations: 5.75 MB / 1.285 GB, free: 12.6 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.sim & ./Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.313093962031417]