Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.WaterFlowControl.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.001849/0.001849, allocations: 107.8 kB / 19.71 MB, free: 2.145 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.002606/0.002606, allocations: 212.5 kB / 23 MB, free: 4.969 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.618/1.618, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.527/3.527, allocations: 0.49 GB / 0.7959 GB, free: 35.46 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.WaterFlowControl,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conWat.opeMod|conWat.PEle|conWat.TWatIn|conWat.mWatSet_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.WaterFlowControl") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.WaterFlowControl,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conWat.opeMod|conWat.PEle|conWat.TWatIn|conWat.mWatSet_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.WaterFlowControl") [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.002135/0.002135, allocations: 72.78 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5019/0.5041, allocations: 176.1 MB / 1.327 GB, free: 0.9688 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.WaterFlowControl): time 0.008645/0.5127, allocations: 4.825 MB / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.007138/0.5198, allocations: 3.292 MB / 1.335 GB, free: 8.82 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001321/0.5212, allocations: 39.75 kB / 1.335 GB, free: 8.781 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.002189/0.5234, allocations: 0.6916 MB / 1.336 GB, free: 8.086 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001878/0.5252, allocations: 0.5614 MB / 1.336 GB, free: 7.523 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.002617/0.5279, allocations: 0.9509 MB / 1.337 GB, free: 6.574 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.003988/0.5318, allocations: 2.365 MB / 1.34 GB, free: 4.199 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00222/0.5341, allocations: 1.21 MB / 1.341 GB, free: 2.941 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001217/0.5353, allocations: 0.8446 MB / 1.342 GB, free: 2.094 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001147/0.5364, allocations: 0.8944 MB / 1.342 GB, free: 1.195 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.000312/0.5367, allocations: 204 kB / 1.343 GB, free: 0.9961 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006483/0.5374, allocations: 315.8 kB / 1.343 GB, free: 0.6875 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0006988/0.5381, allocations: 0.6933 MB / 1.344 GB, free: 15.99 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0008991/0.539, allocations: 0.8038 MB / 1.344 GB, free: 15.18 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.003793/0.5428, allocations: 2.976 MB / 1.347 GB, free: 12.2 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.802e-06/0.5428, allocations: 4 kB / 1.347 GB, free: 12.19 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.625e-06/0.5428, allocations: 0 / 1.347 GB, free: 12.19 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.494e-05/0.5428, allocations: 0 / 1.347 GB, free: 12.19 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 328 * Number of variables: 328 Notification: Performance of Generate backend data structure: time 0.005463/0.5483, allocations: 2.6 MB / 1.35 GB, free: 9.523 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 6.265e-05/0.5484, allocations: 8.031 kB / 1.35 GB, free: 9.516 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00114/0.5495, allocations: 311.2 kB / 1.35 GB, free: 9.211 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00302/0.5525, allocations: 1.418 MB / 1.352 GB, free: 7.766 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002887/0.5528, allocations: 285.5 kB / 1.352 GB, free: 7.449 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002242/0.553, allocations: 148 kB / 1.352 GB, free: 7.305 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002936/0.556, allocations: 1.51 MB / 1.353 GB, free: 5.672 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.587e-05/0.556, allocations: 7.938 kB / 1.353 GB, free: 5.664 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000128/0.5561, allocations: 52 kB / 1.353 GB, free: 5.613 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.537e-05/0.5562, allocations: 32 kB / 1.353 GB, free: 5.582 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001988/0.5582, allocations: 1.024 MB / 1.354 GB, free: 4.551 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008665/0.5668, allocations: 5.602 MB / 1.36 GB, free: 14.77 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001734/0.5686, allocations: 0.8918 MB / 1.361 GB, free: 13.79 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007216/0.5693, allocations: 411.4 kB / 1.361 GB, free: 13.36 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002593/0.5695, allocations: 48.91 kB / 1.361 GB, free: 13.31 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00119/0.5707, allocations: 0.6793 MB / 1.362 GB, free: 12.58 MB / 1.061 GB Notification: Performance of pre-optimization done (n=110): time 4.519e-06/0.5707, allocations: 0 / 1.362 GB, free: 12.58 MB / 1.061 GB Notification: Performance of matching and sorting (n=110): time 0.002914/0.5737, allocations: 1.331 MB / 1.363 GB, free: 11.25 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002248/0.5739, allocations: 319.6 kB / 1.364 GB, free: 10.87 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003219/0.5771, allocations: 2.04 MB / 1.366 GB, free: 8.777 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0001966/0.5773, allocations: 94.81 kB / 1.366 GB, free: 8.68 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.001056/0.5784, allocations: 0.9314 MB / 1.367 GB, free: 7.738 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003374/0.5787, allocations: 297.8 kB / 1.367 GB, free: 7.445 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006163/0.5793, allocations: 379.4 kB / 1.367 GB, free: 7.07 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0002012/0.5795, allocations: 305.1 kB / 1.367 GB, free: 6.77 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008915/0.5804, allocations: 443.8 kB / 1.368 GB, free: 6.336 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001372/0.5818, allocations: 1.01 MB / 1.369 GB, free: 5.117 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001773/0.5835, allocations: 1.083 MB / 1.37 GB, free: 3.879 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.058e-05/0.5836, allocations: 4 kB / 1.37 GB, free: 3.875 MB / 1.061 GB Notification: Performance of matching and sorting (n=206) (initialization): time 0.003023/0.5866, allocations: 1.473 MB / 1.371 GB, free: 2.395 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.911e-05/0.5866, allocations: 16 kB / 1.371 GB, free: 2.379 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.141e-05/0.5866, allocations: 16 kB / 1.371 GB, free: 2.363 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.787e-05/0.5867, allocations: 20 kB / 1.371 GB, free: 2.344 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007067/0.5874, allocations: 203.5 kB / 1.372 GB, free: 2.145 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.21e-05/0.5874, allocations: 27.88 kB / 1.372 GB, free: 2.117 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001068/0.5885, allocations: 147.1 kB / 1.372 GB, free: 1.973 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000127/0.5886, allocations: 68 kB / 1.372 GB, free: 1.906 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * Number of states: 0 () * Number of discrete variables: 142 ($PRE.con.transition3.enableFire,$PRE.con.transition5.enableFire,$PRE.con.transition9.enableFire,$PRE.con.transition7.enableFire,$PRE.con.transition10.enableFire,$PRE.con.transition1.enableFire,$PRE.con.transition2.enableFire,$PRE.con.transition8.enableFire,$PRE.con.transition6.enableFire,$PRE.con.transition4.enableFire,$PRE.mWat_flow.tab.nextTimeEvent,$whenCondition8,$PRE.runSig.combiTimeTable.nextTimeEvent,$whenCondition3,$PRE.avaSig.combiTimeTable.nextTimeEvent,$whenCondition2,$PRE.PEle.tab.nextTimeEvent,$whenCondition1,con.warUpCtr.pre.u,con.warUpCtr.hysPow.y,$PRE.con.warUpCtr.hysPow.y,con.warUpCtr.hysTem.y,$PRE.con.warUpCtr.hysTem.y,con.transition3.t_start,$PRE.con.transition3.t_start,con.transition5.t_start,$PRE.con.transition5.t_start,con.transition9.t_start,$PRE.con.transition9.t_start,con.transition7.t_start,$PRE.con.transition7.t_start,con.transition10.t_start,$PRE.con.transition10.t_start,con.transition1.t_start,$PRE.con.transition1.t_start,con.transition2.t_start,$PRE.con.transition2.t_start,con.transition8.t_start,$PRE.con.transition8.t_start,con.transition6.t_start,$PRE.con.transition6.t_start,stateGraphRoot.resume,stateGraphRoot.suspend,PEle.tab.nextTimeEventScaled,$PRE.PEle.tab.nextTimeEventScaled,PEle.tab.nextTimeEvent,avaSig.combiTimeTable.nextTimeEventScaled,$PRE.avaSig.combiTimeTable.nextTimeEventScaled,avaSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEventScaled,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEvent,con.timer.entryTime,$PRE.con.timer.entryTime,con.timer.passed,$PRE.con.timer.passed,con.transition4.t_start,$PRE.con.transition4.t_start,con.transition4.fire,con.transition4.enableFire,con.transition4.localCondition,con.plaOff.oldActive,$PRE.con.plaOff.oldActive,con.plaOff.newActive,$PRE.con.plaOff.newActive,con.plaOff.inPort[3].occupied,con.plaOff.inPort[2].occupied,con.plaOff.localActive,$PRE.con.plaOff.localActive,con.plaOff.active,con.transition6.enableFire,con.transition6.localCondition,$PRE.con.warUpCtr.pre.u,con.warUpCtr.y,con.transition8.enableFire,con.nor.oldActive,$PRE.con.nor.oldActive,con.nor.newActive,$PRE.con.nor.newActive,con.nor.localActive,$PRE.con.nor.localActive,con.nor.active,con.transition2.enableFire,con.transition2.localCondition,con.transition1.enableFire,con.transition1.localCondition,con.assWatMas.hys.y,$PRE.con.assWatMas.hys.y,con.assWatMas.nand.y,con.transition10.enableFire,con.transition10.localCondition,con.transition7.enableFire,con.transition7.localCondition,con.transition9.enableFire,con.transition5.enableFire,con.transition3.enableFire,con.hys.y,$PRE.con.hys.y,con.cooDow.active,con.cooDow.oldActive,$PRE.con.cooDow.oldActive,con.cooDow.newActive,$PRE.con.cooDow.newActive,con.cooDow.outPort[2].available,con.cooDow.inPort[2].occupied,con.cooDow.localActive,$PRE.con.cooDow.localActive,con.warUp.active,con.warUp.oldActive,$PRE.con.warUp.oldActive,con.warUp.newActive,$PRE.con.warUp.newActive,con.warUp.outPort[2].available,con.warUp.inPort[2].occupied,con.warUp.localActive,$PRE.con.warUp.localActive,con.pumOn.oldActive,$PRE.con.pumOn.oldActive,con.pumOn.newActive,$PRE.con.pumOn.newActive,con.pumOn.outPort[2].available,con.pumOn.localActive,$PRE.con.pumOn.localActive,con.pumOn.active,con.staBy.oldActive,$PRE.con.staBy.oldActive,con.staBy.newActive,$PRE.con.staBy.newActive,con.staBy.outPort[2].available,con.staBy.localActive,$PRE.con.staBy.localActive,con.staBy.active,mWat_flow.tab.nextTimeEventScaled,$PRE.mWat_flow.tab.nextTimeEventScaled,mWat_flow.tab.nextTimeEvent,stateGraphRoot.activeSteps,conWat.offStaBy.y,conWat.opeMod,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition7) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (206): * Single equations (assignments): 206 * 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.001277/0.5899, allocations: 0.6171 MB / 1.372 GB, free: 1.277 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003812/0.5903, allocations: 202.7 kB / 1.373 GB, free: 1.078 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00196/0.5922, allocations: 0.9934 MB / 1.374 GB, free: 76 kB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.623e-05/0.5922, allocations: 11.98 kB / 1.374 GB, free: 64 kB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.822e-06/0.5923, allocations: 4 kB / 1.374 GB, free: 60 kB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007345/0.593, allocations: 306.4 kB / 1.374 GB, free: 15.75 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002028/0.5932, allocations: 43.98 kB / 1.374 GB, free: 15.71 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004201/0.5936, allocations: 51.83 kB / 1.374 GB, free: 15.66 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000349/0.594, allocations: 160.8 kB / 1.374 GB, free: 15.5 MB / 1.076 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002232/0.5962, allocations: 1.733 MB / 1.376 GB, free: 13.76 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002286/0.5985, allocations: 1.902 MB / 1.378 GB, free: 11.84 MB / 1.076 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008793/0.5994, allocations: 476 kB / 1.378 GB, free: 11.37 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.001981/0.6013, allocations: 1.289 MB / 1.379 GB, free: 10.06 MB / 1.076 GB Notification: Performance of Backend: time 1.353e-06/0.6013, allocations: 0 / 1.379 GB, free: 10.06 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.004702/0.606, allocations: 1.177 MB / 1.381 GB, free: 9.062 MB / 1.076 GB Notification: Performance of SimCode: time 0.00619/0.6122, allocations: 3.663 MB / 1.384 GB, free: 5.34 MB / 1.076 GB Notification: Performance of Templates: time 0.04753/0.6598, allocations: 22.4 MB / 1.406 GB, free: 15.19 MB / 1.107 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.WaterFlowControl.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.WaterFlowControl.pipe ; mkfifo Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.WaterFlowControl.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.WaterFlowControl.pipe >> ../files/Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.WaterFlowControl.sim & ./Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.WaterFlowControl -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.WaterFlowControl.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.WaterFlowControl_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_CHPs_BaseClasses_Validation_WaterFlowControl.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.WaterFlowControl.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: 11.064009237998107]