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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001572/0.001572, allocations: 114.3 kB / 16.42 MB, free: 6.039 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.001923/0.001923, allocations: 196.1 kB / 17.35 MB, free: 5.629 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.385/1.385, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.607/2.607, allocations: 461.9 MB / 0.7355 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001459/0.001459, allocations: 63.89 kB / 1.055 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.004/1.005, allocations: 157.4 MB / 1.208 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.WaterFlowControl): time 0.008256/1.013, allocations: 5.234 MB / 1.214 GB, free: 8.531 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00703/1.02, allocations: 3.289 MB / 1.217 GB, free: 5.23 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001582/1.022, allocations: 23.88 kB / 1.217 GB, free: 5.207 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.002365/1.025, allocations: 0.6987 MB / 1.217 GB, free: 4.512 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001792/1.026, allocations: 473.2 kB / 1.218 GB, free: 4.047 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002853/1.029, allocations: 1.048 MB / 1.219 GB, free: 3.004 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.003548/1.033, allocations: 2.31 MB / 1.221 GB, free: 0.6836 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002507/1.035, allocations: 1.432 MB / 1.223 GB, free: 15.21 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001739/1.037, allocations: 0.8406 MB / 1.223 GB, free: 14.37 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001432/1.039, allocations: 0.8516 MB / 1.224 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0006517/1.039, allocations: 204 kB / 1.224 GB, free: 13.32 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000959/1.04, allocations: 311.8 kB / 1.225 GB, free: 13.01 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.000898/1.041, allocations: 0.6776 MB / 1.225 GB, free: 12.33 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.001679/1.043, allocations: 1.045 MB / 1.226 GB, free: 11.28 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.003647/1.046, allocations: 2.91 MB / 1.229 GB, free: 8.363 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/1.046, allocations: 0 / 1.229 GB, free: 8.363 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.204e-06/1.047, allocations: 0 / 1.229 GB, free: 8.363 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.487e-05/1.047, allocations: 0 / 1.229 GB, free: 8.363 MB / 0.9512 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.004171/1.051, allocations: 2.575 MB / 1.232 GB, free: 5.695 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.394e-05/1.051, allocations: 16.03 kB / 1.232 GB, free: 5.68 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004397/1.051, allocations: 253.9 kB / 1.232 GB, free: 5.43 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00232/1.054, allocations: 1.472 MB / 1.233 GB, free: 3.91 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001732/1.054, allocations: 161 kB / 1.234 GB, free: 3.746 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000197/1.054, allocations: 144 kB / 1.234 GB, free: 3.605 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002416/1.056, allocations: 1.502 MB / 1.235 GB, free: 1.98 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.844e-05/1.056, allocations: 7.938 kB / 1.235 GB, free: 1.973 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001195/1.057, allocations: 52 kB / 1.235 GB, free: 1.922 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.767e-05/1.057, allocations: 32 kB / 1.235 GB, free: 1.891 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001833/1.058, allocations: 1.02 MB / 1.236 GB, free: 0.8633 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007899/1.066, allocations: 6.26 MB / 1.242 GB, free: 10.42 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001704/1.068, allocations: 0.9623 MB / 1.243 GB, free: 9.371 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007334/1.069, allocations: 460.6 kB / 1.244 GB, free: 8.891 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002841/1.069, allocations: 130.7 kB / 1.244 GB, free: 8.746 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001076/1.07, allocations: 0.6565 MB / 1.245 GB, free: 8.043 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=110): time 3.787e-06/1.07, allocations: 0 / 1.245 GB, free: 8.043 MB / 0.9669 GB Notification: Performance of matching and sorting (n=110): time 0.002672/1.073, allocations: 1.302 MB / 1.246 GB, free: 6.738 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002105/1.073, allocations: 364.2 kB / 1.246 GB, free: 6.301 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002784/1.076, allocations: 2.002 MB / 1.248 GB, free: 4.25 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0001904/1.076, allocations: 93.69 kB / 1.248 GB, free: 4.152 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009357/1.077, allocations: 0.9026 MB / 1.249 GB, free: 3.238 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002822/1.077, allocations: 284.5 kB / 1.249 GB, free: 2.957 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005347/1.078, allocations: 375.3 kB / 1.25 GB, free: 2.582 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000113/1.078, allocations: 305.1 kB / 1.25 GB, free: 2.281 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008328/1.079, allocations: 439.8 kB / 1.25 GB, free: 1.852 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00118/1.08, allocations: 0.869 MB / 1.251 GB, free: 0.8047 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001632/1.082, allocations: 1.067 MB / 1.252 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.768e-06/1.082, allocations: 7.938 kB / 1.252 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of matching and sorting (n=206) (initialization): time 0.00257/1.084, allocations: 1.459 MB / 1.254 GB, free: 14.1 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.619e-05/1.084, allocations: 18.97 kB / 1.254 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.898e-05/1.084, allocations: 12 kB / 1.254 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.747e-05/1.084, allocations: 24 kB / 1.254 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007067/1.085, allocations: 203.5 kB / 1.254 GB, free: 13.85 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.57e-05/1.085, allocations: 27.92 kB / 1.254 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008892/1.086, allocations: 154.6 kB / 1.254 GB, free: 13.67 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001518/1.086, allocations: 71.98 kB / 1.254 GB, free: 13.6 MB / 0.9825 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.001111/1.087, allocations: 0.6166 MB / 1.255 GB, free: 12.97 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003948/1.088, allocations: 193.6 kB / 1.255 GB, free: 12.78 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002139/1.09, allocations: 1.048 MB / 1.256 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.53e-05/1.09, allocations: 11.98 kB / 1.256 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.242e-06/1.09, allocations: 4 kB / 1.256 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006116/1.091, allocations: 378.4 kB / 1.256 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002579/1.091, allocations: 47.92 kB / 1.257 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004363/1.091, allocations: 43.95 kB / 1.257 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003307/1.092, allocations: 152.8 kB / 1.257 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002175/1.094, allocations: 1.772 MB / 1.258 GB, free: 9.293 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002238/1.096, allocations: 1.916 MB / 1.26 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009162/1.097, allocations: 0.5309 MB / 1.261 GB, free: 6.824 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.002276/1.099, allocations: 1.277 MB / 1.262 GB, free: 5.523 MB / 0.9825 GB Notification: Performance of Backend: time 6.81e-07/1.099, allocations: 0 / 1.262 GB, free: 5.523 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.004319/1.104, allocations: 1.223 MB / 1.263 GB, free: 4.457 MB / 0.9825 GB Notification: Performance of SimCode: time 0.006471/1.11, allocations: 3.601 MB / 1.267 GB, free: 0.8008 MB / 0.9825 GB Notification: Performance of Templates: time 0.04218/1.152, allocations: 20.89 MB / 1.287 GB, free: 12.05 MB / 1.014 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