Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ControlLoops.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ControlLoops") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 1.756/1.756, allocations: 390.4 MB / 397.7 MB, free: 11.27 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000933/0.000933, allocations: 177.3 kB / 490.8 MB, free: 1.941 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.094/1.094, allocations: 221.3 MB / 0.7863 GB, free: 13.65 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008341/0.0008341, allocations: 96.8 kB / 0.9264 GB, free: 14.2 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.999e-06/5.009e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1733/0.1734, allocations: 143 MB / 1.212 GB, free: 40.11 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4797/0.6531, allocations: 151.9 MB / 1.36 GB, free: 17.09 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001763/0.6533, allocations: 69.58 kB / 1.36 GB, free: 17.09 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.02118/0.6745, allocations: 9.416 MB / 1.369 GB, free: 16.48 MB / 0.823 GB Notification: Performance of Transformations before backend: time 3.755e-05/0.6746, allocations: 13.97 kB / 1.369 GB, free: 16.48 MB / 0.823 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.001553/0.6761, allocations: 0.8741 MB / 1.37 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.241e-05/0.6762, allocations: 8.391 kB / 1.37 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002227/0.6764, allocations: 86.5 kB / 1.37 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009575/0.6774, allocations: 0.5508 MB / 1.371 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.964e-05/0.6774, allocations: 21.08 kB / 1.371 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.542e-05/0.6775, allocations: 47.22 kB / 1.371 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007153/0.6783, allocations: 371.4 kB / 1.371 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008636/0.6791, allocations: 0.5072 MB / 1.372 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.602e-05/0.6791, allocations: 0 / 1.372 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.621e-05/0.6792, allocations: 8.406 kB / 1.372 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.784e-05/0.6792, allocations: 13.56 kB / 1.372 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002637/0.6819, allocations: 1.816 MB / 1.373 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007512/0.6826, allocations: 456.6 kB / 1.374 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002992/0.6829, allocations: 220.5 kB / 1.374 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.322e-05/0.683, allocations: 16.42 kB / 1.374 GB, free: 30.94 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003668/0.6834, allocations: 253.8 kB / 1.374 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=51): time 1.904e-06/0.6834, allocations: 4 kB / 1.374 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of matching and sorting (n=51): time 0.0006907/0.6841, allocations: 405.5 kB / 1.375 GB, free: 30.81 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.075e-05/0.6841, allocations: 108.9 kB / 1.375 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003871/0.6845, allocations: 350.5 kB / 1.375 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.128e-05/0.6845, allocations: 38.09 kB / 1.375 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001385/0.6847, allocations: 246.3 kB / 1.375 GB, free: 30.38 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 9.089e-05/0.6848, allocations: 141.8 kB / 1.376 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.056e-05/0.6848, allocations: 0 / 1.376 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001594/0.685, allocations: 359 kB / 1.376 GB, free: 29.98 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002233/0.6852, allocations: 143.1 kB / 1.376 GB, free: 29.97 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002604/0.6855, allocations: 255.1 kB / 1.376 GB, free: 29.85 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002285/0.6857, allocations: 156.8 kB / 1.376 GB, free: 29.84 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.6857, allocations: 0 / 1.376 GB, free: 29.84 MB / 0.8386 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0006172/0.6863, allocations: 436.1 kB / 1.377 GB, free: 29.76 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001614/0.6865, allocations: 0.6141 MB / 1.377 GB, free: 29.12 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.6865, allocations: 1.469 kB / 1.377 GB, free: 29.12 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.6865, allocations: 4.531 kB / 1.377 GB, free: 29.12 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003537/0.6869, allocations: 95.97 kB / 1.378 GB, free: 29.11 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.775e-06/0.6869, allocations: 5.156 kB / 1.378 GB, free: 29.11 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00036/0.6873, allocations: 74.55 kB / 1.378 GB, free: 29.09 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.675e-05/0.6873, allocations: 17.44 kB / 1.378 GB, free: 29.09 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 6.322e-06/0.6873, allocations: 7.469 kB / 1.378 GB, free: 29.08 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004996/0.6878, allocations: 333.4 kB / 1.378 GB, free: 29.06 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.6879, allocations: 2.562 kB / 1.378 GB, free: 29.06 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.604e-06/0.6879, allocations: 7.906 kB / 1.378 GB, free: 29.06 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002792/0.6882, allocations: 76.41 kB / 1.378 GB, free: 29.05 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.6882, allocations: 5.406 kB / 1.378 GB, free: 29.05 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003075/0.6885, allocations: 53.34 kB / 1.378 GB, free: 29.04 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.175e-05/0.6885, allocations: 22.31 kB / 1.378 GB, free: 29.04 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 28 ($PRE.conLoo.disCoo.u,$PRE.conLoo.disHea.u,$whenCondition4,$PRE.conLoo.disHea.t_next,$whenCondition1,$PRE.conLoo.disCoo.t_next,conLoo.disHea.t_next,conLoo.disCoo.t_next,$whenCondition8,$whenCondition7,$whenCondition5,$whenCondition6,$whenCondition2,$whenCondition3,$PRE.conLoo.enaHeaLoo.lesHys.y,conLoo.enaHeaLoo.lesHys.y,$PRE.conLoo.enaCooLoo.lesHys.y,conLoo.enaCooLoo.lesHys.y,conLoo.disCoo.u,conLoo.disCoo.y,conLoo.disHea.u,conLoo.disHea.y,$PRE.conLoo.zerCon.lesHys.y,conLoo.zerCon.lesHys.y,$PRE.conLoo.zerCon1.lesHys.y,conLoo.zerCon1.lesHys.y,conLoo.disCooCon.y,conLoo.disHeaCon.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001297/0.6887, allocations: 131.6 kB / 1.378 GB, free: 28.92 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.83e-05/0.6887, allocations: 54 kB / 1.378 GB, free: 28.89 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001007/0.6888, allocations: 52.59 kB / 1.378 GB, free: 28.88 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/0.6888, allocations: 5.5 kB / 1.378 GB, free: 28.88 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.777e-06/0.6889, allocations: 0 / 1.378 GB, free: 28.88 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/0.6889, allocations: 7.594 kB / 1.378 GB, free: 28.88 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001412/0.6903, allocations: 1.131 MB / 1.379 GB, free: 28.58 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.6903, allocations: 0.75 kB / 1.379 GB, free: 28.58 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003136/0.6906, allocations: 75.33 kB / 1.38 GB, free: 28.57 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.292e-06/0.6906, allocations: 2.766 kB / 1.38 GB, free: 28.57 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.507e-05/0.6907, allocations: 6.328 kB / 1.38 GB, free: 28.57 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.6907, allocations: 2.031 kB / 1.38 GB, free: 28.57 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/0.6907, allocations: 0 / 1.38 GB, free: 28.57 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009266/0.6916, allocations: 0.7336 MB / 1.38 GB, free: 28.39 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.77e-05/0.6917, allocations: 132.7 kB / 1.38 GB, free: 28.27 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.002e-05/0.6918, allocations: 10.09 kB / 1.38 GB, free: 28.27 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003545/0.6922, allocations: 54.55 kB / 1.38 GB, free: 28.26 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001194/0.6923, allocations: 54.59 kB / 1.38 GB, free: 28.26 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.907e-05/0.6923, allocations: 23.8 kB / 1.381 GB, free: 28.26 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0002694/0.6926, allocations: 261.7 kB / 1.381 GB, free: 28.17 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0005823/0.6932, allocations: 200.7 kB / 1.381 GB, free: 28.12 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (conLoo.cooCon.I.y,conLoo.heaCon.I.y) * Number of discrete variables: 20 (conLoo.disCoo.u,conLoo.disHea.u,$whenCondition8,$whenCondition7,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition1,$whenCondition2,$whenCondition3,conLoo.enaHeaLoo.lesHys.y,conLoo.enaCooLoo.lesHys.y,conLoo.disCoo.y,conLoo.disCoo.t_next,conLoo.disHea.y,conLoo.disHea.t_next,conLoo.zerCon.lesHys.y,conLoo.zerCon1.lesHys.y,conLoo.disCooCon.y,conLoo.disHeaCon.y) * Number of discrete states: 6 (conLoo.disHea.t_next,conLoo.disCoo.t_next,conLoo.zerCon1.lesHys.y,conLoo.enaCooLoo.lesHys.y,conLoo.enaHeaLoo.lesHys.y,conLoo.zerCon.lesHys.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001641/0.6934, allocations: 128.4 kB / 1.381 GB, free: 28.03 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0008696/0.6943, allocations: 0.601 MB / 1.382 GB, free: 28 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.6943, allocations: 0 / 1.382 GB, free: 28 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0003108/0.6946, allocations: 229.8 kB / 1.382 GB, free: 27.99 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004614/0.695, allocations: 86.11 kB / 1.382 GB, free: 27.98 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001489/0.6965, allocations: 0.7335 MB / 1.383 GB, free: 27.73 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006102/0.6972, allocations: 0.9513 MB / 1.384 GB, free: 27.02 MB / 0.8386 GB Notification: Performance of SimCode: time 2.6e-07/0.6972, allocations: 0 / 1.384 GB, free: 27.02 MB / 0.8386 GB Notification: Performance of Templates: time 0.01434/0.7115, allocations: 8.105 MB / 1.392 GB, free: 23.66 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ControlLoops.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ControlLoops.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ControlLoops.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ControlLoops.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ControlLoops.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ControlLoops -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ControlLoops.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ControlLoops_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_ThermalZones_Validation_ControlLoops.csv","../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ControlLoops.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches