Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.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.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conEquSta.TBoi|conEquSta.onSys|conEquSta.onPum|conEquSta.onBoi",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff") translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conEquSta.TBoi|conEquSta.onSys|conEquSta.onPum|conEquSta.onBoi",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff") [: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.649/1.649, allocations: 390.4 MB / 397.7 MB, free: 10.76 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009174/0.0009176, allocations: 178.7 kB / 490.8 MB, free: 13.33 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.022/1.022, allocations: 221.4 MB / 0.7863 GB, free: 2.719 MB / 0.573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007827/0.0007827, allocations: 98.08 kB / 0.9264 GB, free: 40.05 MB / 0.6198 GB Notification: Performance of FrontEnd - loaded program: time 5.37e-06/5.39e-06, allocations: 0 / 1.072 GB, free: 3.254 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4366/0.4366, allocations: 143 MB / 1.212 GB, free: 63.43 MB / 0.7761 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.135/0.5717, allocations: 150.5 MB / 1.358 GB, free: 6.578 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002096/0.5719, allocations: 87.94 kB / 1.359 GB, free: 6.492 MB / 0.8542 GB Notification: Performance of FrontEnd: time 0.005956/0.5779, allocations: 2.117 MB / 1.361 GB, free: 4.379 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 6.051e-06/0.5779, allocations: 0 / 1.361 GB, free: 4.379 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004027/0.5783, allocations: 423.9 kB / 1.361 GB, free: 3.914 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 2.902e-05/0.5784, allocations: 12.03 kB / 1.361 GB, free: 3.902 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.059e-05/0.5784, allocations: 15.83 kB / 1.361 GB, free: 3.887 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.373e-05/0.5785, allocations: 174.9 kB / 1.361 GB, free: 3.676 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.302e-05/0.5786, allocations: 4 kB / 1.361 GB, free: 3.672 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.764e-05/0.5786, allocations: 8 kB / 1.361 GB, free: 3.664 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.418e-05/0.5787, allocations: 36 kB / 1.361 GB, free: 3.629 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.558e-05/0.5788, allocations: 65.61 kB / 1.361 GB, free: 3.559 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.282e-06/0.5788, allocations: 0 / 1.361 GB, free: 3.559 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.728e-06/0.5788, allocations: 0 / 1.361 GB, free: 3.559 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.5788, allocations: 0 / 1.361 GB, free: 3.559 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004449/0.5793, allocations: 361.1 kB / 1.362 GB, free: 3.168 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 6.707e-05/0.5794, allocations: 38.52 kB / 1.362 GB, free: 3.121 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.057e-05/0.5794, allocations: 16.86 kB / 1.362 GB, free: 3.102 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.213e-05/0.5794, allocations: 3.984 kB / 1.362 GB, free: 3.098 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.239e-05/0.5795, allocations: 67.48 kB / 1.362 GB, free: 3.02 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=6): time 1.422e-06/0.5795, allocations: 0 / 1.362 GB, free: 3.02 MB / 0.8542 GB Notification: Performance of matching and sorting (n=6): time 0.0001507/0.5797, allocations: 61.61 kB / 1.362 GB, free: 2.953 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.657e-05/0.5797, allocations: 59.33 kB / 1.362 GB, free: 2.883 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.345e-05/0.5798, allocations: 112.9 kB / 1.362 GB, free: 2.766 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.433e-05/0.5798, allocations: 33.7 kB / 1.362 GB, free: 2.727 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.037e-05/0.5798, allocations: 88.05 kB / 1.362 GB, free: 2.637 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.834e-05/0.5799, allocations: 23.78 kB / 1.362 GB, free: 2.613 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.186e-05/0.5799, allocations: 4 kB / 1.362 GB, free: 2.609 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 7.283e-05/0.5799, allocations: 318.8 kB / 1.362 GB, free: 2.289 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.915e-05/0.58, allocations: 28 kB / 1.363 GB, free: 2.262 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.185e-05/0.5801, allocations: 67.36 kB / 1.363 GB, free: 2.184 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001697/0.5803, allocations: 45.83 kB / 1.363 GB, free: 2.141 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.5803, allocations: 4.031 kB / 1.363 GB, free: 2.137 MB / 0.8542 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002963/0.5806, allocations: 133.5 kB / 1.363 GB, free: 2 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.065e-05/0.5806, allocations: 8 kB / 1.363 GB, free: 1.992 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.5806, allocations: 0 / 1.363 GB, free: 1.992 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.658e-06/0.5806, allocations: 0 / 1.363 GB, free: 1.992 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.531e-05/0.5807, allocations: 15.98 kB / 1.363 GB, free: 1.977 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.5807, allocations: 4.062 kB / 1.363 GB, free: 1.973 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002176/0.581, allocations: 67.73 kB / 1.363 GB, free: 1.906 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.792e-05/0.581, allocations: 4 kB / 1.363 GB, free: 1.902 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,conEquSta.onBoi,$PRE.conEquSta.hys.y,conEquSta.hys.y,$PRE.onSys.y,onSys.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * 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 6.169e-05/0.5811, allocations: 109 kB / 1.363 GB, free: 1.789 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.489e-05/0.5811, allocations: 11.91 kB / 1.363 GB, free: 1.777 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.577e-05/0.5811, allocations: 8.375 kB / 1.363 GB, free: 1.773 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.5811, allocations: 96 / 1.363 GB, free: 1.773 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.5811, allocations: 7.938 kB / 1.363 GB, free: 1.766 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.5811, allocations: 0 / 1.363 GB, free: 1.766 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.233e-05/0.5812, allocations: 158.2 kB / 1.363 GB, free: 1.574 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.5812, allocations: 0 / 1.363 GB, free: 1.574 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.44e-05/0.5813, allocations: 19.89 kB / 1.363 GB, free: 1.555 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.5813, allocations: 0 / 1.363 GB, free: 1.555 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.865e-06/0.5813, allocations: 0 / 1.363 GB, free: 1.555 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.5813, allocations: 4 kB / 1.363 GB, free: 1.551 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.5813, allocations: 3.984 kB / 1.363 GB, free: 1.547 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001013/0.5814, allocations: 93.09 kB / 1.363 GB, free: 1.438 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.537e-05/0.5815, allocations: 85.02 kB / 1.363 GB, free: 1.336 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.873e-05/0.5815, allocations: 0 / 1.363 GB, free: 1.336 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.724e-05/0.5816, allocations: 19.98 kB / 1.363 GB, free: 1.316 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.64e-05/0.5816, allocations: 15.97 kB / 1.363 GB, free: 1.301 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.203e-06/0.5816, allocations: 4 kB / 1.363 GB, free: 1.297 MB / 0.8542 GB Notification: Performance of sort global known variables: time 3.49e-05/0.5817, allocations: 89.25 kB / 1.363 GB, free: 1.211 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000193/0.5819, allocations: 28.06 kB / 1.363 GB, free: 1.184 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$whenCondition2,conEquSta.onBoi,conEquSta.hys.y,onSys.y) * Number of discrete states: 1 (conEquSta.hys.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001175/0.582, allocations: 115.2 kB / 1.364 GB, free: 1.059 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.000164/0.5822, allocations: 101.6 kB / 1.364 GB, free: 0.9531 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.5822, allocations: 0 / 1.364 GB, free: 0.9531 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 4.493e-05/0.5822, allocations: 24 kB / 1.364 GB, free: 0.9297 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000143/0.5824, allocations: 7.906 kB / 1.364 GB, free: 0.9219 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000252/0.5826, allocations: 116.7 kB / 1.364 GB, free: 0.7852 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001986/0.5829, allocations: 0.7115 MB / 1.365 GB, free: 48 kB / 0.8542 GB Notification: Performance of SimCode: time 2.6e-07/0.5829, allocations: 0 / 1.365 GB, free: 48 kB / 0.8542 GB Notification: Performance of Templates: time 0.002995/0.5859, allocations: 1.392 MB / 1.366 GB, free: 14.68 MB / 0.8698 GB make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.makefile (rm -f Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.sim & ./Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff.csv","../files/Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches