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.EquipmentOnOff.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.EquipmentOnOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conEquSta.TBoi|conEquSta.onSys|conEquSta.onPum|conEquSta.onBoi",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo): time 1.166/1.166, allocations: 249.4 MB / 256.7 MB, free: 7.031 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.0009854/0.0009854, allocations: 185.1 kB / 316 MB, free: 3.496 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9879/0.9879, allocations: 205.1 MB / 0.5667 GB, free: 15.58 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.0008528/0.0008528, allocations: 102.3 kB / 0.671 GB, free: 4.707 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.751e-06/5.771e-06, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1394/0.1394, allocations: 106.3 MB / 0.8846 GB, free: 12.61 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3881/0.5276, allocations: 132.8 MB / 1.014 GB, free: 5.746 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000204/0.5278, allocations: 89 kB / 1.014 GB, free: 5.695 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.003034/0.5308, allocations: 1.005 MB / 1.015 GB, free: 4.836 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.101e-06/0.5309, allocations: 0 / 1.015 GB, free: 4.836 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0004358/0.5313, allocations: 388.7 kB / 1.016 GB, free: 4.418 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.377e-05/0.5314, allocations: 12.97 kB / 1.016 GB, free: 4.406 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.978e-05/0.5314, allocations: 11.81 kB / 1.016 GB, free: 4.395 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001229/0.5315, allocations: 175 kB / 1.016 GB, free: 4.184 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.466e-05/0.5315, allocations: 0 / 1.016 GB, free: 4.184 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.803e-05/0.5316, allocations: 11.91 kB / 1.016 GB, free: 4.172 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001001/0.5317, allocations: 41.94 kB / 1.016 GB, free: 4.145 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001034/0.5318, allocations: 63.55 kB / 1.016 GB, free: 4.086 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.5318, allocations: 0 / 1.016 GB, free: 4.086 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.5318, allocations: 4 kB / 1.016 GB, free: 4.082 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.96e-06/0.5318, allocations: 0 / 1.016 GB, free: 4.082 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004649/0.5323, allocations: 335.9 kB / 1.016 GB, free: 3.746 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.495e-05/0.5324, allocations: 44.89 kB / 1.016 GB, free: 3.703 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.398e-05/0.5324, allocations: 16.48 kB / 1.016 GB, free: 3.688 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.389e-05/0.5324, allocations: 0 / 1.016 GB, free: 3.688 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.173e-05/0.5325, allocations: 64.45 kB / 1.016 GB, free: 3.625 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=6): time 1.102e-06/0.5325, allocations: 0 / 1.016 GB, free: 3.625 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6): time 0.0001535/0.5327, allocations: 64.28 kB / 1.017 GB, free: 3.562 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.367e-05/0.5327, allocations: 51.41 kB / 1.017 GB, free: 3.5 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.081e-05/0.5328, allocations: 120.3 kB / 1.017 GB, free: 3.387 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.672e-05/0.5328, allocations: 25.7 kB / 1.017 GB, free: 3.355 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.238e-05/0.5329, allocations: 95.53 kB / 1.017 GB, free: 3.262 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.946e-05/0.5329, allocations: 15.44 kB / 1.017 GB, free: 3.25 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.729e-06/0.5329, allocations: 0 / 1.017 GB, free: 3.25 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 7.645e-05/0.533, allocations: 314.8 kB / 1.017 GB, free: 2.934 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.34e-05/0.533, allocations: 18.69 kB / 1.017 GB, free: 2.922 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.551e-05/0.5331, allocations: 36.62 kB / 1.017 GB, free: 2.887 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.595e-05/0.5331, allocations: 15.22 kB / 1.017 GB, free: 2.875 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.5331, allocations: 0 / 1.017 GB, free: 2.875 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001092/0.5332, allocations: 75.84 kB / 1.017 GB, free: 2.805 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.1e-05/0.5332, allocations: 6.344 kB / 1.017 GB, free: 2.801 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.5332, allocations: 3.984 kB / 1.017 GB, free: 2.801 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/0.5333, allocations: 0 / 1.017 GB, free: 2.801 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001044/0.5334, allocations: 23.92 kB / 1.017 GB, free: 2.777 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.647e-06/0.5334, allocations: 0 / 1.017 GB, free: 2.777 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001212/0.5335, allocations: 27.97 kB / 1.017 GB, free: 2.75 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.928e-06/0.5335, allocations: 7.984 kB / 1.017 GB, free: 2.742 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,conEquSta.onSys,conEquSta.onBoi,$PRE.conEquSta.hys.y,conEquSta.hys.y,$PRE.onSys.pulseStart,onSys.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 6.035e-05/0.5336, allocations: 112.9 kB / 1.017 GB, free: 2.625 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.378e-05/0.5336, allocations: 7.844 kB / 1.017 GB, free: 2.621 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3e-05/0.5336, allocations: 8.375 kB / 1.017 GB, free: 2.609 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.5337, allocations: 0 / 1.017 GB, free: 2.609 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.5337, allocations: 0 / 1.017 GB, free: 2.609 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.5337, allocations: 0 / 1.017 GB, free: 2.609 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001152/0.5338, allocations: 168 kB / 1.018 GB, free: 2.422 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.5338, allocations: 0 / 1.018 GB, free: 2.422 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.872e-05/0.5339, allocations: 19.98 kB / 1.018 GB, free: 2.402 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.5339, allocations: 0 / 1.018 GB, free: 2.402 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.476e-06/0.5339, allocations: 0 / 1.018 GB, free: 2.402 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.5339, allocations: 0 / 1.018 GB, free: 2.402 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.5339, allocations: 0 / 1.018 GB, free: 2.402 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001053/0.534, allocations: 89.7 kB / 1.018 GB, free: 2.309 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.309e-05/0.5341, allocations: 88.95 kB / 1.018 GB, free: 2.203 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.95e-05/0.5341, allocations: 0 / 1.018 GB, free: 2.203 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001088/0.5342, allocations: 31.16 kB / 1.018 GB, free: 2.176 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.415e-05/0.5343, allocations: 11.98 kB / 1.018 GB, free: 2.164 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.837e-06/0.5343, allocations: 8.859 kB / 1.018 GB, free: 2.156 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.622e-05/0.5343, allocations: 94.72 kB / 1.018 GB, free: 2.07 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001784/0.5345, allocations: 15.91 kB / 1.018 GB, free: 2.055 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: 5 ($whenCondition1,conEquSta.onSys,conEquSta.onBoi,conEquSta.hys.y,onSys.pulseStart) * 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 8.318e-05/0.5346, allocations: 95.25 kB / 1.018 GB, free: 1.953 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001108/0.5347, allocations: 41.06 kB / 1.018 GB, free: 1.926 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.5347, allocations: 0 / 1.018 GB, free: 1.926 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.002e-05/0.5348, allocations: 27.61 kB / 1.018 GB, free: 1.906 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001519/0.5349, allocations: 12.22 kB / 1.018 GB, free: 1.895 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002534/0.5352, allocations: 106 kB / 1.018 GB, free: 1.777 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002145/0.5354, allocations: 0.7036 MB / 1.019 GB, free: 1.047 MB / 0.6355 GB Notification: Performance of SimCode: time 1.322e-06/0.5354, allocations: 0 / 1.019 GB, free: 1.047 MB / 0.6355 GB Notification: Performance of Templates: time 0.002569/0.538, allocations: 0.9779 MB / 1.02 GB, free: 96 kB / 0.6355 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.makefile (rm -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.sim & ./Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff.csv","../files/Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches