Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ControlLoops.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ControlLoops,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conLoo.TCooSet|conLoo.TZon|conLoo.THeaSet|conLoo.yCoo|conLoo.yHea",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ControlLoops") translateModel(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ControlLoops,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conLoo.TCooSet|conLoo.TZon|conLoo.THeaSet|conLoo.yCoo|conLoo.yHea",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ControlLoops") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001109/0.001109, allocations: 109.5 kB / 16.41 MB, free: 6.441 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.001043/0.001043, allocations: 190.7 kB / 17.35 MB, free: 5.703 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.44/1.44, allocations: 222.9 MB / 241.1 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.546/2.546, allocations: 437 MB / 0.7112 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001498/0.001499, allocations: 63.89 kB / 1.019 GB, free: 9.418 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9389/0.9404, allocations: 151.6 MB / 1.167 GB, free: 3.863 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ControlLoops): time 0.004989/0.9455, allocations: 2.571 MB / 1.17 GB, free: 1.285 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.003783/0.9493, allocations: 1.645 MB / 1.171 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009516/0.9503, allocations: 15.94 kB / 1.171 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0005731/0.9509, allocations: 118.7 kB / 1.172 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0006155/0.9516, allocations: 99.06 kB / 1.172 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001062/0.9527, allocations: 331.5 kB / 1.172 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.00142/0.9541, allocations: 0.8958 MB / 1.173 GB, free: 14.17 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000992/0.9551, allocations: 486.2 kB / 1.173 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006337/0.9558, allocations: 334.7 kB / 1.174 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005308/0.9563, allocations: 330.3 kB / 1.174 GB, free: 13.03 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0002508/0.9566, allocations: 107.9 kB / 1.174 GB, free: 12.93 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001713/0.9567, allocations: 100 kB / 1.174 GB, free: 12.83 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002171/0.957, allocations: 203.4 kB / 1.174 GB, free: 12.63 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0005188/0.9575, allocations: 378.1 kB / 1.175 GB, free: 12.26 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002036/0.9595, allocations: 1.189 MB / 1.176 GB, free: 11.07 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 1.145e-05/0.9596, allocations: 4 kB / 1.176 GB, free: 11.07 MB / 0.9044 GB Notification: Performance of FrontEnd: time 3.467e-06/0.9596, allocations: 0 / 1.176 GB, free: 11.07 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 6.933e-05/0.9597, allocations: 0 / 1.176 GB, free: 11.07 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.003151/0.9628, allocations: 1.017 MB / 1.177 GB, free: 9.992 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 7.017e-05/0.9629, allocations: 8.922 kB / 1.177 GB, free: 9.984 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001907/0.9631, allocations: 80 kB / 1.177 GB, free: 9.906 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0012/0.9643, allocations: 0.5456 MB / 1.177 GB, free: 9.32 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.691e-05/0.9644, allocations: 49.69 kB / 1.178 GB, free: 9.273 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001151/0.9645, allocations: 68.36 kB / 1.178 GB, free: 9.207 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001293/0.9658, allocations: 0.629 MB / 1.178 GB, free: 8.562 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.338e-05/0.9659, allocations: 8.172 kB / 1.178 GB, free: 8.555 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.91e-05/0.966, allocations: 31.92 kB / 1.178 GB, free: 8.523 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.674e-05/0.966, allocations: 12 kB / 1.178 GB, free: 8.512 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009364/0.9669, allocations: 457 kB / 1.179 GB, free: 8.066 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003187/0.9701, allocations: 2.038 MB / 1.181 GB, free: 5.957 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001145/0.9713, allocations: 0.5346 MB / 1.181 GB, free: 5.41 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004385/0.9717, allocations: 248.6 kB / 1.181 GB, free: 5.164 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.911e-05/0.9718, allocations: 7.984 kB / 1.181 GB, free: 5.156 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006012/0.9724, allocations: 320.7 kB / 1.182 GB, free: 4.832 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=49): time 2.665e-06/0.9724, allocations: 0 / 1.182 GB, free: 4.832 MB / 0.9044 GB Notification: Performance of matching and sorting (n=49): time 0.001365/0.9738, allocations: 0.6664 MB / 1.182 GB, free: 4.16 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.64e-05/0.9738, allocations: 107.2 kB / 1.182 GB, free: 4.031 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005226/0.9744, allocations: 453.8 kB / 1.183 GB, free: 3.578 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 5.308e-05/0.9744, allocations: 45.7 kB / 1.183 GB, free: 3.527 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002302/0.9747, allocations: 316.3 kB / 1.183 GB, free: 3.215 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001207/0.9748, allocations: 142 kB / 1.183 GB, free: 3.074 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001521/0.975, allocations: 102.2 kB / 1.183 GB, free: 2.969 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001616/0.9751, allocations: 366.8 kB / 1.184 GB, free: 2.602 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003689/0.9755, allocations: 183 kB / 1.184 GB, free: 2.418 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004557/0.976, allocations: 302.8 kB / 1.184 GB, free: 2.078 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007435/0.9767, allocations: 413.7 kB / 1.185 GB, free: 1.637 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.217e-06/0.9767, allocations: 0 / 1.185 GB, free: 1.637 MB / 0.9044 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0009536/0.9777, allocations: 0.5342 MB / 1.185 GB, free: 1.094 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.197e-05/0.9777, allocations: 8 kB / 1.185 GB, free: 1.086 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/0.9777, allocations: 7.938 kB / 1.185 GB, free: 1.078 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.463e-05/0.9778, allocations: 4.312 kB / 1.185 GB, free: 1.074 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003586/0.9781, allocations: 91.83 kB / 1.185 GB, free: 0.9844 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.652e-05/0.9782, allocations: 4 kB / 1.185 GB, free: 0.9805 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003547/0.9785, allocations: 67.55 kB / 1.185 GB, free: 0.9141 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.294e-05/0.9786, allocations: 20 kB / 1.185 GB, free: 0.8945 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004613/0.9791, allocations: 301.2 kB / 1.186 GB, free: 0.5938 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003534/0.9794, allocations: 278.7 kB / 1.186 GB, free: 288 kB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005739/0.98, allocations: 373.8 kB / 1.186 GB, free: 15.89 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.595e-06/0.98, allocations: 0 / 1.186 GB, free: 15.89 MB / 0.92 GB Notification: Performance of matching and sorting (n=67) (initialization_lambda0): time 0.0008524/0.9809, allocations: 491.1 kB / 1.187 GB, free: 15.4 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.9809, allocations: 4 kB / 1.187 GB, free: 15.39 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.9809, allocations: 8 kB / 1.187 GB, free: 15.39 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.9809, allocations: 4.312 kB / 1.187 GB, free: 15.38 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003/0.9812, allocations: 87.78 kB / 1.187 GB, free: 15.3 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.756e-06/0.9813, allocations: 4 kB / 1.187 GB, free: 15.29 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003288/0.9816, allocations: 59.64 kB / 1.187 GB, free: 15.23 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.269e-05/0.9816, allocations: 20 kB / 1.187 GB, free: 15.21 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 28 ($PRE.conLoo.disCoo.u,$PRE.conLoo.disHea.u,$PRE.conLoo.disCoo.t_next,$whenCondition4,$PRE.conLoo.disHea.t_next,$whenCondition1,conLoo.disCoo.t_next,conLoo.disHea.t_next,conLoo.disHeaCon.y,conLoo.disCooCon.y,conLoo.zerCon1.lesHys.y,$PRE.conLoo.zerCon1.lesHys.y,conLoo.zerCon.lesHys.y,$PRE.conLoo.zerCon.lesHys.y,conLoo.disHea.y,conLoo.disHea.u,conLoo.disCoo.y,conLoo.disCoo.u,conLoo.enaCooLoo.lesHys.y,$PRE.conLoo.enaCooLoo.lesHys.y,conLoo.enaHeaLoo.lesHys.y,$PRE.conLoo.enaHeaLoo.lesHys.y,$whenCondition3,$whenCondition2,$whenCondition6,$whenCondition5,$whenCondition7,$whenCondition8) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 67 * 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.0002262/0.9819, allocations: 230.8 kB / 1.187 GB, free: 14.98 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.832e-05/0.982, allocations: 59.27 kB / 1.187 GB, free: 14.93 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001311/0.9821, allocations: 57.36 kB / 1.187 GB, free: 14.87 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.355e-06/0.9821, allocations: 3.984 kB / 1.187 GB, free: 14.87 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.9821, allocations: 0 / 1.187 GB, free: 14.87 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001419/0.9823, allocations: 132.3 kB / 1.187 GB, free: 14.72 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.563e-05/0.9824, allocations: 19.98 kB / 1.187 GB, free: 14.7 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000287/0.9827, allocations: 31.95 kB / 1.187 GB, free: 14.67 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001389/0.9828, allocations: 56.36 kB / 1.188 GB, free: 14.61 MB / 0.92 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00127/0.9841, allocations: 0.605 MB / 1.188 GB, free: 14 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001646/0.9858, allocations: 0.9386 MB / 1.189 GB, free: 13.05 MB / 0.92 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004343/0.9862, allocations: 243.4 kB / 1.189 GB, free: 12.8 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0003817/0.9866, allocations: 311.2 kB / 1.19 GB, free: 12.5 MB / 0.92 GB Notification: Performance of Backend: time 3.6e-07/0.9866, allocations: 0 / 1.19 GB, free: 12.5 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001442/0.988, allocations: 0.5936 MB / 1.19 GB, free: 11.91 MB / 0.92 GB Notification: Performance of SimCode: time 0.002155/0.9902, allocations: 1.386 MB / 1.192 GB, free: 10.47 MB / 0.92 GB Notification: Performance of Templates: time 0.01834/1.009, allocations: 8.302 MB / 1.2 GB, free: 2.23 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ControlLoops.makefile (rm -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ControlLoops.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ControlLoops.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ControlLoops.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ControlLoops.sim & ./Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ControlLoops -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ControlLoops.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ControlLoops_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_ASHRAE_G36_ThermalZones_Validation_ControlLoops.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ControlLoops.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches