Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 1.698/1.698, allocations: 387.2 MB / 394.5 MB, free: 13.71 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.0009509/0.0009509, allocations: 185.2 kB / 487 MB, free: 5.367 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.072/1.072, allocations: 221.3 MB / 0.7819 GB, free: 1.348 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008368/0.0008368, allocations: 102 kB / 0.9213 GB, free: 2.598 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 5.199e-06/5.23e-06, allocations: 4 kB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1622/0.1622, allocations: 142.3 MB / 1.205 GB, free: 26.21 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4292/0.5914, allocations: 149.6 MB / 1.351 GB, free: 16.24 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001955/0.5916, allocations: 85.47 kB / 1.351 GB, free: 16.24 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.006151/0.5978, allocations: 2.12 MB / 1.354 GB, free: 16.11 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 6.633e-06/0.5978, allocations: 0.9688 kB / 1.354 GB, free: 16.11 MB / 0.8073 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.0003696/0.5982, allocations: 420.7 kB / 1.354 GB, free: 15.72 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.005e-05/0.5982, allocations: 9.344 kB / 1.354 GB, free: 15.72 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.352e-05/0.5983, allocations: 15.36 kB / 1.354 GB, free: 15.71 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.625e-05/0.5984, allocations: 178.7 kB / 1.354 GB, free: 15.5 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.095e-05/0.5984, allocations: 3.281 kB / 1.354 GB, free: 15.5 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.744e-05/0.5984, allocations: 6.906 kB / 1.354 GB, free: 15.5 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.432e-05/0.5985, allocations: 30.09 kB / 1.354 GB, free: 15.5 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.636e-05/0.5986, allocations: 61.55 kB / 1.354 GB, free: 15.47 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.891e-06/0.5986, allocations: 0 / 1.354 GB, free: 15.47 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.5986, allocations: 1.531 kB / 1.354 GB, free: 15.47 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-06/0.5986, allocations: 1.031 kB / 1.354 GB, free: 15.47 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004177/0.5991, allocations: 359.9 kB / 1.355 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 6.735e-05/0.5991, allocations: 35.91 kB / 1.355 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.182e-05/0.5992, allocations: 23.44 kB / 1.355 GB, free: 15.19 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.15e-05/0.5992, allocations: 0.875 kB / 1.355 GB, free: 15.19 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.824e-05/0.5993, allocations: 69.75 kB / 1.355 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.5993, allocations: 0 / 1.355 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of matching and sorting (n=6): time 0.0001469/0.5994, allocations: 64.41 kB / 1.355 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.538e-05/0.5994, allocations: 52.91 kB / 1.355 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.247e-05/0.5995, allocations: 112.5 kB / 1.355 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.13e-05/0.5995, allocations: 32.36 kB / 1.355 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.101e-05/0.5996, allocations: 95.5 kB / 1.355 GB, free: 14.83 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.521e-05/0.5996, allocations: 14.23 kB / 1.355 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.291e-05/0.5996, allocations: 2.875 kB / 1.355 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 3.461e-05/0.5996, allocations: 317.6 kB / 1.355 GB, free: 14.51 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.161e-05/0.5997, allocations: 36.78 kB / 1.355 GB, free: 14.51 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.744e-05/0.5998, allocations: 58.23 kB / 1.355 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001752/0.6, allocations: 49.84 kB / 1.355 GB, free: 14.47 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.6, allocations: 1.219 kB / 1.355 GB, free: 14.47 MB / 0.8073 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002991/0.6003, allocations: 139.1 kB / 1.356 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 8.757e-06/0.6003, allocations: 5.406 kB / 1.356 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.6003, allocations: 1.188 kB / 1.356 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.006e-05/0.6003, allocations: 5.609 kB / 1.356 GB, free: 14.42 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.531e-05/0.6004, allocations: 13.34 kB / 1.356 GB, free: 14.42 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.366e-06/0.6004, allocations: 5.062 kB / 1.356 GB, free: 14.42 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002325/0.6007, allocations: 71.75 kB / 1.356 GB, free: 14.4 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.981e-05/0.6007, allocations: 6 kB / 1.356 GB, free: 14.4 MB / 0.8073 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 4.866e-05/0.6008, allocations: 111 kB / 1.356 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.264e-05/0.6008, allocations: 7.969 kB / 1.356 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.733e-05/0.6008, allocations: 10.08 kB / 1.356 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.6008, allocations: 1.156 kB / 1.356 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.6008, allocations: 1.516 kB / 1.356 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.766e-06/0.6008, allocations: 0 / 1.356 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.837e-05/0.6009, allocations: 161.9 kB / 1.356 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.6009, allocations: 6.578 kB / 1.356 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.556e-05/0.601, allocations: 14.61 kB / 1.356 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.601, allocations: 1.031 kB / 1.356 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.627e-06/0.601, allocations: 1.547 kB / 1.356 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.601, allocations: 1.359 kB / 1.356 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.601, allocations: 0 / 1.356 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.513e-05/0.6011, allocations: 99.31 kB / 1.356 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.586e-05/0.6012, allocations: 86.41 kB / 1.356 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.923e-05/0.6012, allocations: 1.625 kB / 1.356 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.234e-05/0.6013, allocations: 11.69 kB / 1.356 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.886e-05/0.6013, allocations: 14.2 kB / 1.356 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.885e-06/0.6013, allocations: 7.266 kB / 1.356 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of sort global known variables: time 2.857e-05/0.6014, allocations: 90.02 kB / 1.356 GB, free: 13.87 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002043/0.6016, allocations: 25.56 kB / 1.356 GB, free: 13.87 MB / 0.8073 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.0001104/0.6017, allocations: 116.7 kB / 1.356 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001675/0.6019, allocations: 97.05 kB / 1.357 GB, free: 13.74 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.282e-06/0.6019, allocations: 1.25 kB / 1.357 GB, free: 13.74 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 4.638e-05/0.6019, allocations: 22.92 kB / 1.357 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000143/0.6021, allocations: 22.33 kB / 1.357 GB, free: 13.72 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002271/0.6023, allocations: 103.7 kB / 1.357 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000117/0.6024, allocations: 0.7107 MB / 1.357 GB, free: 12.94 MB / 0.8073 GB Notification: Performance of SimCode: time 2.21e-07/0.6024, allocations: 0 / 1.357 GB, free: 12.94 MB / 0.8073 GB Notification: Performance of Templates: time 0.003175/0.6056, allocations: 1.399 MB / 1.359 GB, free: 12.82 MB / 0.8073 GB make -j1 -f Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.makefile (rm -f Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; mkfifo Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe >> ../files/Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.sim & ./Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff.csv","../files/Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches