Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WaterFlowControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) 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.WaterFlowControl,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conWat.opeMod|conWat.PEle|conWat.TWatIn|conWat.mWatSet_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WaterFlowControl") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.WaterFlowControl,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conWat.opeMod|conWat.PEle|conWat.TWatIn|conWat.mWatSet_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WaterFlowControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001369/0.001369, allocations: 115.9 kB / 16.42 MB, free: 6.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001996/0.001996, allocations: 183.9 kB / 17.34 MB, free: 5.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.425/1.425, allocations: 222.9 MB / 241.1 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.741/2.741, allocations: 472.7 MB / 0.746 GB, free: 420 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001606/0.001606, allocations: 72.12 kB / 1.07 GB, free: 9.543 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.047/1.049, allocations: 159.9 MB / 1.226 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.WaterFlowControl): time 0.008307/1.057, allocations: 5.241 MB / 1.231 GB, free: 8.238 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.00686/1.064, allocations: 3.289 MB / 1.235 GB, free: 4.938 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001875/1.066, allocations: 31.81 kB / 1.235 GB, free: 4.906 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.002736/1.069, allocations: 0.6907 MB / 1.235 GB, free: 4.215 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.002046/1.071, allocations: 0.4932 MB / 1.236 GB, free: 3.719 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.00356/1.074, allocations: 1.039 MB / 1.237 GB, free: 2.688 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.004819/1.079, allocations: 2.306 MB / 1.239 GB, free: 380 kB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002917/1.082, allocations: 1.432 MB / 1.241 GB, free: 14.9 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002053/1.084, allocations: 0.8329 MB / 1.241 GB, free: 14.07 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001529/1.086, allocations: 0.8516 MB / 1.242 GB, free: 13.21 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.000692/1.086, allocations: 204 kB / 1.242 GB, free: 13.01 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00109/1.088, allocations: 303.8 kB / 1.243 GB, free: 12.71 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.001012/1.089, allocations: 0.6699 MB / 1.243 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.001924/1.09, allocations: 1.053 MB / 1.244 GB, free: 10.98 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.004507/1.095, allocations: 2.922 MB / 1.247 GB, free: 8.055 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/1.095, allocations: 4 kB / 1.247 GB, free: 8.051 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.312e-06/1.095, allocations: 0 / 1.247 GB, free: 8.051 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 0.0001337/1.095, allocations: 0 / 1.247 GB, free: 8.051 MB / 0.9669 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.007021/1.102, allocations: 2.652 MB / 1.25 GB, free: 5.309 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.179e-05/1.102, allocations: 8.031 kB / 1.25 GB, free: 5.301 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008058/1.103, allocations: 267.3 kB / 1.25 GB, free: 5.039 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00329/1.106, allocations: 1.493 MB / 1.252 GB, free: 3.5 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002135/1.107, allocations: 153 kB / 1.252 GB, free: 3.344 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003566/1.107, allocations: 152 kB / 1.252 GB, free: 3.195 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003288/1.11, allocations: 1.499 MB / 1.253 GB, free: 1.574 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.71e-05/1.11, allocations: 7.938 kB / 1.253 GB, free: 1.566 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001658/1.111, allocations: 55.98 kB / 1.253 GB, free: 1.512 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.195e-05/1.111, allocations: 43.94 kB / 1.253 GB, free: 1.469 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00223/1.113, allocations: 1.008 MB / 1.254 GB, free: 464 kB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009032/1.122, allocations: 6.258 MB / 1.26 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001723/1.124, allocations: 0.9588 MB / 1.261 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007671/1.124, allocations: 467.4 kB / 1.262 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003079/1.125, allocations: 122.7 kB / 1.262 GB, free: 8.34 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001154/1.126, allocations: 0.6566 MB / 1.263 GB, free: 7.637 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=110): time 6.512e-06/1.126, allocations: 3.938 kB / 1.263 GB, free: 7.633 MB / 0.9825 GB Notification: Performance of matching and sorting (n=110): time 0.002842/1.129, allocations: 1.308 MB / 1.264 GB, free: 6.324 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000207/1.129, allocations: 371.3 kB / 1.264 GB, free: 5.883 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003763/1.133, allocations: 2.002 MB / 1.266 GB, free: 3.832 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.000218/1.133, allocations: 93.62 kB / 1.266 GB, free: 3.734 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.001014/1.134, allocations: 0.9312 MB / 1.267 GB, free: 2.793 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003563/1.134, allocations: 285.9 kB / 1.267 GB, free: 2.512 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006986/1.135, allocations: 375.4 kB / 1.268 GB, free: 2.141 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001249/1.135, allocations: 313.1 kB / 1.268 GB, free: 1.832 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009621/1.136, allocations: 439.8 kB / 1.269 GB, free: 1.402 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001315/1.138, allocations: 0.869 MB / 1.269 GB, free: 360 kB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001815/1.139, allocations: 1.06 MB / 1.27 GB, free: 15.13 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.815e-05/1.139, allocations: 4 kB / 1.27 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of matching and sorting (n=206) (initialization): time 0.003094/1.142, allocations: 1.472 MB / 1.272 GB, free: 13.64 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.744e-05/1.143, allocations: 16.02 kB / 1.272 GB, free: 13.63 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.72e-05/1.143, allocations: 12 kB / 1.272 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.011e-05/1.143, allocations: 20 kB / 1.272 GB, free: 13.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000709/1.143, allocations: 207.5 kB / 1.272 GB, free: 13.39 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-05/1.143, allocations: 28.03 kB / 1.272 GB, free: 13.37 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001145/1.145, allocations: 155 kB / 1.272 GB, free: 13.21 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000168/1.145, allocations: 75.98 kB / 1.272 GB, free: 13.14 MB / 0.9981 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.00137/1.146, allocations: 0.6127 MB / 1.273 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007393/1.147, allocations: 206.7 kB / 1.273 GB, free: 12.31 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002595/1.149, allocations: 1.044 MB / 1.274 GB, free: 11.26 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.886e-05/1.15, allocations: 7.969 kB / 1.274 GB, free: 11.25 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.193e-06/1.15, allocations: 4 kB / 1.274 GB, free: 11.25 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009777/1.151, allocations: 391.4 kB / 1.275 GB, free: 10.85 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004898/1.151, allocations: 47.92 kB / 1.275 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007549/1.152, allocations: 43.97 kB / 1.275 GB, free: 10.76 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004465/1.152, allocations: 160.8 kB / 1.275 GB, free: 10.6 MB / 0.9981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00271/1.155, allocations: 1.764 MB / 1.277 GB, free: 8.82 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002525/1.157, allocations: 1.937 MB / 1.278 GB, free: 6.859 MB / 0.9981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000981/1.158, allocations: 0.5231 MB / 1.279 GB, free: 6.336 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002705/1.161, allocations: 1.277 MB / 1.28 GB, free: 5.035 MB / 0.9981 GB Notification: Performance of Backend: time 5.31e-07/1.161, allocations: 4 kB / 1.28 GB, free: 5.031 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.004721/1.166, allocations: 1.228 MB / 1.281 GB, free: 3.961 MB / 0.9981 GB Notification: Performance of SimCode: time 0.008152/1.174, allocations: 3.65 MB / 1.285 GB, free: 256 kB / 0.9981 GB Notification: Performance of Templates: time 0.04365/1.218, allocations: 20.3 MB / 1.305 GB, free: 12.09 MB / 1.029 GB make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WaterFlowControl.makefile (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WaterFlowControl.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WaterFlowControl.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WaterFlowControl.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WaterFlowControl.sim & ./Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WaterFlowControl -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WaterFlowControl.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WaterFlowControl_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_BaseClasses_Validation_WaterFlowControl.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WaterFlowControl.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches