Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_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_9_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.001807/0.001807, allocations: 112.7 kB / 16.42 MB, free: 6.512 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.002119/0.002119, allocations: 190.7 kB / 17.35 MB, free: 5.738 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.407/1.407, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.326/2.326, allocations: 390.3 MB / 0.6655 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001413/0.001413, allocations: 63.91 kB / 0.9516 GB, free: 7.648 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9892/0.9907, allocations: 140.4 MB / 1.089 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.WaterFlowControl): time 0.006739/0.9974, allocations: 5.237 MB / 1.094 GB, free: 1.801 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.005906/1.003, allocations: 3.286 MB / 1.097 GB, free: 15.44 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001381/1.005, allocations: 26.78 kB / 1.097 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.002277/1.007, allocations: 0.6928 MB / 1.098 GB, free: 15.13 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001847/1.009, allocations: 496.2 kB / 1.098 GB, free: 14.85 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.003139/1.012, allocations: 1.042 MB / 1.099 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.004341/1.017, allocations: 2.311 MB / 1.101 GB, free: 13.11 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003043/1.02, allocations: 1.431 MB / 1.103 GB, free: 12.43 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001973/1.022, allocations: 0.8308 MB / 1.104 GB, free: 12 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002104/1.024, allocations: 0.8557 MB / 1.104 GB, free: 11.53 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.001116/1.025, allocations: 202.7 kB / 1.105 GB, free: 11.53 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001579/1.026, allocations: 309.7 kB / 1.105 GB, free: 11.5 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.001364/1.028, allocations: 0.6765 MB / 1.106 GB, free: 11.13 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.002276/1.03, allocations: 1.042 MB / 1.107 GB, free: 10.36 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.005728/1.036, allocations: 2.903 MB / 1.109 GB, free: 9.125 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 7.685e-06/1.036, allocations: 1.031 kB / 1.109 GB, free: 9.125 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.685e-06/1.036, allocations: 0 / 1.109 GB, free: 9.125 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0001644/1.036, allocations: 0 / 1.109 GB, free: 9.125 MB / 0.8731 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.007053/1.043, allocations: 2.582 MB / 1.112 GB, free: 7.383 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.084e-05/1.043, allocations: 10.12 kB / 1.112 GB, free: 7.383 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006062/1.044, allocations: 251.8 kB / 1.112 GB, free: 7.258 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002743/1.047, allocations: 1.488 MB / 1.114 GB, free: 6.398 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001582/1.047, allocations: 152.6 kB / 1.114 GB, free: 6.312 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002031/1.047, allocations: 151.6 kB / 1.114 GB, free: 6.266 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003166/1.05, allocations: 1.503 MB / 1.115 GB, free: 5.461 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.967e-05/1.05, allocations: 6.5 kB / 1.115 GB, free: 5.457 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001277/1.05, allocations: 57.66 kB / 1.115 GB, free: 5.418 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.268e-05/1.05, allocations: 33.22 kB / 1.116 GB, free: 5.418 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002007/1.052, allocations: 1.014 MB / 1.117 GB, free: 5.023 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009083/1.061, allocations: 6.254 MB / 1.123 GB, free: 0.7031 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001796/1.063, allocations: 0.946 MB / 1.124 GB, free: 148 kB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008095/1.064, allocations: 465.2 kB / 1.124 GB, free: 15.9 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003092/1.064, allocations: 131.1 kB / 1.124 GB, free: 15.79 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001215/1.066, allocations: 0.6603 MB / 1.125 GB, free: 15.46 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=110): time 3.507e-06/1.066, allocations: 0 / 1.125 GB, free: 15.46 MB / 0.8887 GB Notification: Performance of matching and sorting (n=110): time 0.002889/1.069, allocations: 1.303 MB / 1.126 GB, free: 14.95 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002247/1.069, allocations: 365.2 kB / 1.126 GB, free: 14.54 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003531/1.072, allocations: 1.999 MB / 1.128 GB, free: 13.75 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0002188/1.073, allocations: 91.88 kB / 1.128 GB, free: 13.69 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009141/1.074, allocations: 0.9064 MB / 1.129 GB, free: 12.97 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003105/1.074, allocations: 285.5 kB / 1.13 GB, free: 12.76 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006135/1.074, allocations: 375.3 kB / 1.13 GB, free: 12.59 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001155/1.075, allocations: 305.8 kB / 1.13 GB, free: 12.29 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009328/1.076, allocations: 438.8 kB / 1.131 GB, free: 12.14 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001296/1.077, allocations: 0.8696 MB / 1.131 GB, free: 11.44 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001746/1.079, allocations: 1.067 MB / 1.133 GB, free: 10.66 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.005e-05/1.079, allocations: 6.344 kB / 1.133 GB, free: 10.65 MB / 0.8887 GB Notification: Performance of matching and sorting (n=206) (initialization): time 0.003196/1.082, allocations: 1.453 MB / 1.134 GB, free: 10.05 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 3.121e-05/1.082, allocations: 10.31 kB / 1.134 GB, free: 10.05 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.243e-05/1.082, allocations: 10.72 kB / 1.134 GB, free: 10.05 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.208e-05/1.082, allocations: 19.69 kB / 1.134 GB, free: 10.05 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007439/1.083, allocations: 213.6 kB / 1.134 GB, free: 10 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.955e-05/1.083, allocations: 26.94 kB / 1.134 GB, free: 10 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001195/1.084, allocations: 154.1 kB / 1.134 GB, free: 9.906 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001556/1.084, allocations: 70.44 kB / 1.134 GB, free: 9.895 MB / 0.8887 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.001442/1.086, allocations: 0.6191 MB / 1.135 GB, free: 9.527 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005236/1.086, allocations: 188.7 kB / 1.135 GB, free: 9.43 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002278/1.088, allocations: 1.037 MB / 1.136 GB, free: 9.023 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.353e-05/1.088, allocations: 7.672 kB / 1.136 GB, free: 9.023 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.178e-05/1.088, allocations: 3.828 kB / 1.136 GB, free: 9.023 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008378/1.089, allocations: 389.5 kB / 1.137 GB, free: 8.742 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000252/1.09, allocations: 47.14 kB / 1.137 GB, free: 8.715 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004524/1.09, allocations: 47.41 kB / 1.137 GB, free: 8.699 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004041/1.09, allocations: 152.2 kB / 1.137 GB, free: 8.66 MB / 0.8887 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002353/1.093, allocations: 1.773 MB / 1.139 GB, free: 7.52 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002612/1.095, allocations: 1.928 MB / 1.14 GB, free: 6.219 MB / 0.8887 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00106/1.096, allocations: 0.5267 MB / 1.141 GB, free: 6.004 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.002533/1.099, allocations: 1.274 MB / 1.142 GB, free: 5.523 MB / 0.8887 GB Notification: Performance of Backend: time 9.01e-07/1.099, allocations: 0 / 1.142 GB, free: 5.523 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.004657/1.104, allocations: 1.224 MB / 1.143 GB, free: 5.059 MB / 0.8887 GB Notification: Performance of SimCode: time 0.007983/1.112, allocations: 3.598 MB / 1.147 GB, free: 3.074 MB / 0.8887 GB Notification: Performance of Templates: time 0.04822/1.16, allocations: 20.28 MB / 1.167 GB, free: 10.63 MB / 0.9044 GB make -j1 -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.WaterFlowControl.makefile (rm -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.WaterFlowControl.pipe ; mkfifo Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.WaterFlowControl.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.WaterFlowControl.pipe >> ../files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.WaterFlowControl.sim & ./Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.WaterFlowControl -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.WaterFlowControl.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.WaterFlowControl_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_CHPs_BaseClasses_Validation_WaterFlowControl.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.WaterFlowControl.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches