Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conSysSta.TRoo|conSysSta.TRooSet|conSysSta.TOut|conSysSta.TOutLow|conSysSta.onSys",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff") translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conSysSta.TRoo|conSysSta.TRooSet|conSysSta.TOut|conSysSta.TOutLow|conSysSta.onSys",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff") [: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 7.0.3-maint.7.0.x/package.mo): time 1.205/1.205, allocations: 249.4 MB / 256.7 MB, free: 7 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000995/0.000995, allocations: 180.5 kB / 316 MB, free: 3.582 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.06/1.06, allocations: 205.1 MB / 0.5667 GB, free: 15.61 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008541/0.0008541, allocations: 81.72 kB / 0.671 GB, free: 4.738 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.662e-06/6.682e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1404/0.1405, allocations: 106.3 MB / 0.8846 GB, free: 12.65 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4051/0.5456, allocations: 132.8 MB / 1.014 GB, free: 5.859 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001835/0.5458, allocations: 88.25 kB / 1.014 GB, free: 5.805 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.004835/0.5507, allocations: 1.526 MB / 1.016 GB, free: 4.5 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.095e-06/0.5507, allocations: 4 kB / 1.016 GB, free: 4.496 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0005439/0.5513, allocations: 433 kB / 1.016 GB, free: 4.035 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.342e-05/0.5513, allocations: 8.031 kB / 1.016 GB, free: 4.027 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.541e-05/0.5513, allocations: 11.91 kB / 1.016 GB, free: 4.016 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001316/0.5515, allocations: 174.9 kB / 1.016 GB, free: 3.801 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.818e-06/0.5515, allocations: 3.906 kB / 1.016 GB, free: 3.797 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.96e-05/0.5515, allocations: 8 kB / 1.016 GB, free: 3.789 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001079/0.5516, allocations: 50.11 kB / 1.017 GB, free: 3.758 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001148/0.5518, allocations: 72.11 kB / 1.017 GB, free: 3.695 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/0.5518, allocations: 0 / 1.017 GB, free: 3.695 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.5518, allocations: 0 / 1.017 GB, free: 3.695 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.5518, allocations: 8 kB / 1.017 GB, free: 3.688 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006015/0.5524, allocations: 379.1 kB / 1.017 GB, free: 3.316 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.513e-05/0.5525, allocations: 51.25 kB / 1.017 GB, free: 3.27 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.953e-05/0.5525, allocations: 23.05 kB / 1.017 GB, free: 3.254 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.988e-05/0.5526, allocations: 7.984 kB / 1.017 GB, free: 3.246 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.804e-05/0.5526, allocations: 33.3 kB / 1.017 GB, free: 3.207 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=5): time 1.212e-06/0.5526, allocations: 4 kB / 1.017 GB, free: 3.203 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5): time 0.0001693/0.5528, allocations: 71.62 kB / 1.017 GB, free: 3.137 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.326e-05/0.5528, allocations: 51.41 kB / 1.017 GB, free: 3.074 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.956e-05/0.5529, allocations: 124 kB / 1.017 GB, free: 2.953 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.57e-05/0.5529, allocations: 25.7 kB / 1.017 GB, free: 2.922 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.011e-05/0.553, allocations: 102.7 kB / 1.017 GB, free: 2.824 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.798e-05/0.553, allocations: 11.81 kB / 1.017 GB, free: 2.812 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.551e-06/0.553, allocations: 0 / 1.017 GB, free: 2.812 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 7.65e-05/0.5531, allocations: 321 kB / 1.018 GB, free: 2.496 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.657e-05/0.5531, allocations: 23.25 kB / 1.018 GB, free: 2.48 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.199e-05/0.5532, allocations: 14.69 kB / 1.018 GB, free: 2.473 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.952e-05/0.5532, allocations: 18.73 kB / 1.018 GB, free: 2.461 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.143e-06/0.5532, allocations: 0 / 1.018 GB, free: 2.461 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001128/0.5533, allocations: 71.08 kB / 1.018 GB, free: 2.395 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.124e-05/0.5533, allocations: 10.34 kB / 1.018 GB, free: 2.387 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.5533, allocations: 3.938 kB / 1.018 GB, free: 2.383 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.034e-05/0.5534, allocations: 0 / 1.018 GB, free: 2.383 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001036/0.5535, allocations: 23.83 kB / 1.018 GB, free: 2.359 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.5535, allocations: 0.7031 kB / 1.018 GB, free: 2.359 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000175/0.5537, allocations: 39.47 kB / 1.018 GB, free: 2.324 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.247e-06/0.5537, allocations: 0 / 1.018 GB, free: 2.324 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (conSysSta.onSys,$PRE.conSysSta.onTOut.y,conSysSta.onTOut.y,$PRE.conSysSta.onTRoo.y,conSysSta.onTRoo.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 5.84e-05/0.5537, allocations: 106.5 kB / 1.018 GB, free: 2.215 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.012e-05/0.5538, allocations: 7.906 kB / 1.018 GB, free: 2.207 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.034e-05/0.5538, allocations: 10.12 kB / 1.018 GB, free: 2.203 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.5538, allocations: 224 / 1.018 GB, free: 2.203 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.5538, allocations: 4 kB / 1.018 GB, free: 2.199 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.5538, allocations: 15.83 kB / 1.018 GB, free: 2.184 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001359/0.554, allocations: 164.3 kB / 1.018 GB, free: 2 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.554, allocations: 4 kB / 1.018 GB, free: 1.996 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.958e-05/0.5541, allocations: 11.98 kB / 1.018 GB, free: 1.984 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.5541, allocations: 0 / 1.018 GB, free: 1.984 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.217e-06/0.5541, allocations: 0 / 1.018 GB, free: 1.984 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.5541, allocations: 0 / 1.018 GB, free: 1.984 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.5541, allocations: 0 / 1.018 GB, free: 1.984 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001293/0.5542, allocations: 177 kB / 1.018 GB, free: 1.809 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.148e-05/0.5543, allocations: 81.02 kB / 1.019 GB, free: 1.711 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.227e-05/0.5543, allocations: 3.984 kB / 1.019 GB, free: 1.707 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002017/0.5545, allocations: 35.97 kB / 1.019 GB, free: 1.672 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.59e-05/0.5546, allocations: 11.92 kB / 1.019 GB, free: 1.664 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.867e-06/0.5546, allocations: 7.984 kB / 1.019 GB, free: 1.656 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8.21e-05/0.5547, allocations: 96.53 kB / 1.019 GB, free: 1.57 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002097/0.5549, allocations: 19.84 kB / 1.019 GB, free: 1.551 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (conSysSta.onSys,conSysSta.onTOut.y,conSysSta.onTRoo.y) * Number of discrete states: 2 (conSysSta.onTRoo.y,conSysSta.onTOut.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 9.849e-05/0.555, allocations: 114.1 kB / 1.019 GB, free: 1.438 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001076/0.5551, allocations: 41.98 kB / 1.019 GB, free: 1.41 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.122e-06/0.5551, allocations: 0 / 1.019 GB, free: 1.41 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.433e-05/0.5552, allocations: 25.5 kB / 1.019 GB, free: 1.395 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001775/0.5553, allocations: 12.08 kB / 1.019 GB, free: 1.387 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003143/0.5557, allocations: 107.5 kB / 1.019 GB, free: 1.266 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002329/0.5559, allocations: 0.7114 MB / 1.02 GB, free: 0.5273 MB / 0.6355 GB Notification: Performance of SimCode: time 2.31e-07/0.5559, allocations: 0 / 1.02 GB, free: 0.5273 MB / 0.6355 GB Notification: Performance of Templates: time 0.002712/0.5586, allocations: 1.061 MB / 1.021 GB, free: 15.48 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.makefile (rm -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.sim & ./Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff.csv","../files/Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches