Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.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.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|speSel.speRat",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|speSel.speRat",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect") [: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.179/1.179, allocations: 249.4 MB / 256.7 MB, free: 7.105 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.0009317/0.0009317, allocations: 180.5 kB / 316 MB, free: 3.48 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.062/1.062, allocations: 205.1 MB / 0.5667 GB, free: 15.54 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.000853/0.0008531, allocations: 88.64 kB / 0.671 GB, free: 4.664 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.534e-06/7.554e-06, allocations: 4 kB / 0.7807 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1507/0.1507, allocations: 106.3 MB / 0.8846 GB, free: 12.57 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4622/0.6129, allocations: 139.9 MB / 1.021 GB, free: 14.72 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002427/0.6132, allocations: 92.62 kB / 1.021 GB, free: 14.67 MB / 0.6511 GB Notification: Performance of FrontEnd: time 0.0296/0.6428, allocations: 12.24 MB / 1.033 GB, free: 4.57 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.998e-05/0.6429, allocations: 8.938 kB / 1.033 GB, free: 4.562 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007054/0.6436, allocations: 0.7112 MB / 1.034 GB, free: 3.828 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.411e-05/0.6437, allocations: 12.02 kB / 1.034 GB, free: 3.816 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.042e-05/0.6438, allocations: 67.16 kB / 1.034 GB, free: 3.75 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006578/0.6444, allocations: 467.4 kB / 1.034 GB, free: 3.289 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.668e-05/0.6444, allocations: 0 / 1.034 GB, free: 3.289 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.062e-05/0.6445, allocations: 11.92 kB / 1.034 GB, free: 3.277 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.162e-05/0.6446, allocations: 42.58 kB / 1.035 GB, free: 3.246 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001302/0.6447, allocations: 90.56 kB / 1.035 GB, free: 3.156 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/0.6447, allocations: 0 / 1.035 GB, free: 3.156 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.454e-05/0.6447, allocations: 3.984 kB / 1.035 GB, free: 3.152 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.6447, allocations: 0 / 1.035 GB, free: 3.152 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006669/0.6454, allocations: 0.5131 MB / 1.035 GB, free: 2.691 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002819/0.6457, allocations: 95.22 kB / 1.035 GB, free: 2.609 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.481e-05/0.6458, allocations: 31.42 kB / 1.035 GB, free: 2.586 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.475e-05/0.6458, allocations: 0 / 1.035 GB, free: 2.586 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001004/0.6459, allocations: 81.98 kB / 1.035 GB, free: 2.504 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=7): time 2.885e-06/0.6459, allocations: 3.984 kB / 1.035 GB, free: 2.5 MB / 0.6511 GB Notification: Performance of matching and sorting (n=7): time 0.0002493/0.6462, allocations: 153.9 kB / 1.035 GB, free: 2.359 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.174e-05/0.6462, allocations: 106.8 kB / 1.036 GB, free: 2.23 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000796/0.647, allocations: 0.7618 MB / 1.036 GB, free: 1.637 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.968e-05/0.6471, allocations: 25.7 kB / 1.036 GB, free: 1.605 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 9.089e-05/0.6471, allocations: 163.5 kB / 1.036 GB, free: 1.469 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.279e-05/0.6472, allocations: 19.3 kB / 1.036 GB, free: 1.453 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.673e-06/0.6472, allocations: 4 kB / 1.037 GB, free: 1.449 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 8.529e-05/0.6473, allocations: 313.9 kB / 1.037 GB, free: 1.137 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.237e-05/0.6473, allocations: 26.48 kB / 1.037 GB, free: 1.121 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.565e-05/0.6474, allocations: 78.47 kB / 1.037 GB, free: 1.039 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.995e-05/0.6475, allocations: 27.3 kB / 1.037 GB, free: 1.02 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.6475, allocations: 4 kB / 1.037 GB, free: 1.016 MB / 0.6511 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001943/0.6477, allocations: 158.1 kB / 1.037 GB, free: 0.8711 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.6477, allocations: 11.98 kB / 1.037 GB, free: 0.8594 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.6477, allocations: 0 / 1.037 GB, free: 0.8594 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.6477, allocations: 3.938 kB / 1.037 GB, free: 0.8555 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.738e-05/0.6478, allocations: 15.91 kB / 1.037 GB, free: 0.8398 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.068e-06/0.6478, allocations: 0 / 1.037 GB, free: 0.8398 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001244/0.648, allocations: 7.984 kB / 1.037 GB, free: 0.832 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.093e-05/0.648, allocations: 4 kB / 1.037 GB, free: 0.8281 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.sta.combiTimeTable.nextTimeEvent,speSel.stage,sta.combiTimeTable.nextTimeEvent,$PRE.sta.combiTimeTable.nextTimeEventScaled,sta.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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 7.797e-05/0.6481, allocations: 114 kB / 1.037 GB, free: 0.7148 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.823e-05/0.6481, allocations: 63.16 kB / 1.037 GB, free: 0.6523 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002781/0.6484, allocations: 174.2 kB / 1.037 GB, free: 0.5 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.6484, allocations: 0 / 1.037 GB, free: 0.5 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.6485, allocations: 4.094 kB / 1.037 GB, free: 0.4961 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.237e-06/0.6485, allocations: 0 / 1.037 GB, free: 0.4961 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000317/0.6488, allocations: 369.8 kB / 1.038 GB, free: 168 kB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.6488, allocations: 0 / 1.038 GB, free: 168 kB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.637e-05/0.6489, allocations: 15.98 kB / 1.038 GB, free: 152 kB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.6489, allocations: 4 kB / 1.038 GB, free: 148 kB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.323e-05/0.6489, allocations: 7.25 kB / 1.038 GB, free: 144 kB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.6489, allocations: 0 / 1.038 GB, free: 144 kB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.6489, allocations: 3.906 kB / 1.038 GB, free: 140 kB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002386/0.6491, allocations: 176.9 kB / 1.038 GB, free: 15.96 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001273/0.6493, allocations: 146.6 kB / 1.038 GB, free: 15.8 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.571e-05/0.6493, allocations: 0 / 1.038 GB, free: 15.8 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001262/0.6495, allocations: 7.938 kB / 1.038 GB, free: 15.8 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.88e-05/0.6495, allocations: 15.42 kB / 1.038 GB, free: 15.79 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.149e-05/0.6496, allocations: 4 kB / 1.038 GB, free: 15.78 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.0006101/0.6502, allocations: 0.6202 MB / 1.039 GB, free: 15.32 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0003032/0.6505, allocations: 82.86 kB / 1.039 GB, free: 15.25 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,speSel.stage,sta.combiTimeTable.nextTimeEvent,sta.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (sta.combiTimeTable.nextTimeEvent,sta.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0008414/0.6513, allocations: 489.7 kB / 1.039 GB, free: 14.86 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0001725/0.6515, allocations: 84.52 kB / 1.039 GB, free: 14.79 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.6515, allocations: 0 / 1.039 GB, free: 14.79 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 6.521e-05/0.6516, allocations: 36.81 kB / 1.039 GB, free: 14.77 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005461/0.6521, allocations: 130.4 kB / 1.04 GB, free: 14.66 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001271/0.6534, allocations: 0.8707 MB / 1.04 GB, free: 13.88 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005608/0.654, allocations: 1.016 MB / 1.041 GB, free: 12.9 MB / 0.6667 GB Notification: Performance of SimCode: time 2.5e-07/0.654, allocations: 0 / 1.041 GB, free: 12.9 MB / 0.6667 GB Notification: Performance of Templates: time 0.01024/0.6643, allocations: 5.47 MB / 1.047 GB, free: 7.488 MB / 0.6667 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedSelect.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches