Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.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_9_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_9_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.00154/0.001539, allocations: 115.2 kB / 16.42 MB, free: 6.449 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.001801/0.001801, allocations: 183.9 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.355/1.355, allocations: 222.9 MB / 241.1 MB, free: 15.17 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.273/2.273, allocations: 390.3 MB / 0.6655 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001359/0.001359, allocations: 71.89 kB / 0.9515 GB, free: 7.656 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9734/0.9748, allocations: 140.4 MB / 1.089 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ControlLoops): time 0.004617/0.9795, allocations: 2.561 MB / 1.091 GB, free: 3.684 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003251/0.9827, allocations: 1.641 MB / 1.093 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004606/0.9832, allocations: 17.16 kB / 1.093 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0004494/0.9837, allocations: 119.8 kB / 1.093 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002492/0.984, allocations: 103.8 kB / 1.093 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007404/0.9847, allocations: 321.4 kB / 1.093 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001199/0.9859, allocations: 0.8965 MB / 1.094 GB, free: 1.559 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009296/0.9869, allocations: 484.5 kB / 1.095 GB, free: 1.305 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005115/0.9874, allocations: 329.6 kB / 1.095 GB, free: 1.105 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005186/0.9879, allocations: 341 kB / 1.095 GB, free: 0.8984 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0002328/0.9882, allocations: 102.7 kB / 1.095 GB, free: 0.8984 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002231/0.9884, allocations: 103.1 kB / 1.095 GB, free: 0.8984 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002144/0.9886, allocations: 198.7 kB / 1.096 GB, free: 0.7539 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0004257/0.989, allocations: 378.6 kB / 1.096 GB, free: 484 kB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0017/0.9908, allocations: 1.193 MB / 1.097 GB, free: 12 kB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.9908, allocations: 0 / 1.097 GB, free: 12 kB / 0.8575 GB Notification: Performance of FrontEnd: time 2.024e-06/0.9908, allocations: 0.5625 kB / 1.097 GB, free: 12 kB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.582e-05/0.9908, allocations: 0 / 1.097 GB, free: 12 kB / 0.8575 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.002402/0.9932, allocations: 1.008 MB / 1.098 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 6.589e-05/0.9933, allocations: 13.81 kB / 1.098 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001995/0.9935, allocations: 82.39 kB / 1.098 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001155/0.9947, allocations: 0.5435 MB / 1.099 GB, free: 14.85 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.947e-05/0.9947, allocations: 54.42 kB / 1.099 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001512/0.9949, allocations: 70.12 kB / 1.099 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001587/0.9965, allocations: 0.6284 MB / 1.099 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.145e-05/0.9965, allocations: 6.047 kB / 1.099 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.702e-05/0.9966, allocations: 31.09 kB / 1.1 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.372e-05/0.9966, allocations: 19.19 kB / 1.1 GB, free: 14.49 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001167/0.9978, allocations: 455.7 kB / 1.1 GB, free: 14.33 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003826/1.002, allocations: 2.033 MB / 1.102 GB, free: 13.09 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001389/1.003, allocations: 0.5237 MB / 1.102 GB, free: 12.88 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005422/1.004, allocations: 265 kB / 1.103 GB, free: 12.77 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 7.168e-05/1.004, allocations: 5.219 kB / 1.103 GB, free: 12.77 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008347/1.005, allocations: 312.5 kB / 1.103 GB, free: 12.63 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=49): time 3.867e-06/1.005, allocations: 1.125 kB / 1.103 GB, free: 12.63 MB / 0.8731 GB Notification: Performance of matching and sorting (n=49): time 0.001773/1.006, allocations: 0.6631 MB / 1.104 GB, free: 12.38 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.481e-05/1.006, allocations: 109.1 kB / 1.104 GB, free: 12.25 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007587/1.007, allocations: 453.2 kB / 1.104 GB, free: 12.03 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 6.542e-05/1.007, allocations: 44.72 kB / 1.104 GB, free: 11.98 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002902/1.008, allocations: 313.5 kB / 1.105 GB, free: 11.73 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001717/1.008, allocations: 153.4 kB / 1.105 GB, free: 11.61 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001783/1.008, allocations: 108.9 kB / 1.105 GB, free: 11.55 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000225/1.008, allocations: 359.1 kB / 1.105 GB, free: 11.22 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004168/1.009, allocations: 181.2 kB / 1.105 GB, free: 11.15 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004964/1.009, allocations: 301.9 kB / 1.106 GB, free: 10.94 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007712/1.01, allocations: 425 kB / 1.106 GB, free: 10.69 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.999e-06/1.01, allocations: 1.25 kB / 1.106 GB, free: 10.69 MB / 0.8731 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.00105/1.011, allocations: 0.5309 MB / 1.107 GB, free: 10.46 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.18e-05/1.011, allocations: 6.359 kB / 1.107 GB, free: 10.46 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/1.011, allocations: 3.344 kB / 1.107 GB, free: 10.46 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.266e-05/1.011, allocations: 5.156 kB / 1.107 GB, free: 10.46 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003777/1.011, allocations: 90.61 kB / 1.107 GB, free: 10.45 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.058e-05/1.011, allocations: 9.531 kB / 1.107 GB, free: 10.44 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003871/1.012, allocations: 68.47 kB / 1.107 GB, free: 10.41 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.506e-05/1.012, allocations: 23.5 kB / 1.107 GB, free: 10.4 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004909/1.012, allocations: 299 kB / 1.107 GB, free: 10.22 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003872/1.013, allocations: 280.6 kB / 1.107 GB, free: 10.02 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005835/1.013, allocations: 366.9 kB / 1.108 GB, free: 9.789 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.198e-06/1.013, allocations: 1.312 kB / 1.108 GB, free: 9.789 MB / 0.8731 GB Notification: Performance of matching and sorting (n=67) (initialization_lambda0): time 0.0009459/1.014, allocations: 493.5 kB / 1.108 GB, free: 9.562 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/1.014, allocations: 6.344 kB / 1.108 GB, free: 9.562 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/1.014, allocations: 3.156 kB / 1.108 GB, free: 9.562 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.006e-05/1.014, allocations: 9.609 kB / 1.108 GB, free: 9.559 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003112/1.015, allocations: 79.98 kB / 1.108 GB, free: 9.547 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.019e-05/1.015, allocations: 5.797 kB / 1.108 GB, free: 9.547 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003359/1.015, allocations: 61.42 kB / 1.108 GB, free: 9.52 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.696e-05/1.015, allocations: 18.59 kB / 1.108 GB, free: 9.516 MB / 0.8731 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.0002757/1.015, allocations: 228.5 kB / 1.108 GB, free: 9.305 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.866e-05/1.015, allocations: 58.59 kB / 1.109 GB, free: 9.273 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001505/1.016, allocations: 58.95 kB / 1.109 GB, free: 9.23 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.987e-06/1.016, allocations: 2.25 kB / 1.109 GB, free: 9.23 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/1.016, allocations: 4 kB / 1.109 GB, free: 9.227 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001267/1.016, allocations: 130.1 kB / 1.109 GB, free: 9.098 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.898e-05/1.016, allocations: 19.77 kB / 1.109 GB, free: 9.086 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000275/1.016, allocations: 32.22 kB / 1.109 GB, free: 9.082 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001721/1.016, allocations: 56.48 kB / 1.109 GB, free: 9.07 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001346/1.018, allocations: 0.6167 MB / 1.109 GB, free: 8.773 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001657/1.019, allocations: 0.9373 MB / 1.11 GB, free: 8.266 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004735/1.02, allocations: 242.8 kB / 1.111 GB, free: 8.172 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0004674/1.02, allocations: 308.2 kB / 1.111 GB, free: 8.023 MB / 0.8731 GB Notification: Performance of Backend: time 7.01e-07/1.02, allocations: 0 / 1.111 GB, free: 8.023 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001607/1.022, allocations: 0.5984 MB / 1.111 GB, free: 7.773 MB / 0.8731 GB Notification: Performance of SimCode: time 0.002368/1.024, allocations: 1.374 MB / 1.113 GB, free: 6.785 MB / 0.8731 GB Notification: Performance of Templates: time 0.02499/1.049, allocations: 8.352 MB / 1.121 GB, free: 6.18 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ControlLoops.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ControlLoops.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ControlLoops.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ControlLoops.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ControlLoops.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ControlLoops -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ControlLoops.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ControlLoops_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_ThermalZones_Validation_ControlLoops.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ControlLoops.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches