Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.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.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heatGain.QRad_flow|heatGain.QCon_flow|heatGain.QLat_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain") translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heatGain.QRad_flow|heatGain.QCon_flow|heatGain.QLat_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain") [: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.188/1.188, allocations: 249.4 MB / 256.7 MB, free: 7.043 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.0009371/0.000937, allocations: 177.3 kB / 316 MB, free: 3.535 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.049/1.049, allocations: 205.1 MB / 0.5667 GB, free: 15.68 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.0008323/0.0008323, allocations: 86.72 kB / 0.671 GB, free: 4.809 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.681e-06/5.711e-06, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1371/0.1372, allocations: 106.3 MB / 0.8846 GB, free: 12.66 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4103/0.5475, allocations: 132.2 MB / 1.014 GB, free: 6.512 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001795/0.5477, allocations: 81 kB / 1.014 GB, free: 6.465 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.001892/0.5496, allocations: 0.5987 MB / 1.014 GB, free: 5.969 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.605e-06/0.5496, allocations: 0 / 1.014 GB, free: 5.969 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0002314/0.5498, allocations: 345 kB / 1.015 GB, free: 5.594 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 2.859e-05/0.5499, allocations: 12.03 kB / 1.015 GB, free: 5.582 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.079e-05/0.5499, allocations: 7.906 kB / 1.015 GB, free: 5.574 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001561/0.5501, allocations: 190.4 kB / 1.015 GB, free: 5.352 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.385e-06/0.5501, allocations: 0 / 1.015 GB, free: 5.352 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.257e-05/0.5501, allocations: 7.984 kB / 1.015 GB, free: 5.344 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.8e-05/0.5502, allocations: 34.94 kB / 1.015 GB, free: 5.32 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001114/0.5503, allocations: 91.3 kB / 1.015 GB, free: 5.227 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.5503, allocations: 3.906 kB / 1.015 GB, free: 5.223 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.757e-06/0.5503, allocations: 0 / 1.015 GB, free: 5.223 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/0.5504, allocations: 8 kB / 1.015 GB, free: 5.215 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004526/0.5508, allocations: 0.6017 MB / 1.016 GB, free: 4.59 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.186e-05/0.5509, allocations: 165.1 kB / 1.016 GB, free: 4.418 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.372e-05/0.5509, allocations: 80.14 kB / 1.016 GB, free: 4.336 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.204e-05/0.5509, allocations: 75.28 kB / 1.016 GB, free: 4.262 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.46e-05/0.551, allocations: 121.4 kB / 1.016 GB, free: 4.137 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.551, allocations: 8 kB / 1.016 GB, free: 4.129 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 6.29e-05/0.5511, allocations: 28.14 kB / 1.016 GB, free: 4.098 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.782e-05/0.5511, allocations: 51.41 kB / 1.016 GB, free: 4.035 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.511e-05/0.5512, allocations: 124 kB / 1.016 GB, free: 3.914 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.694e-06/0.5512, allocations: 25.7 kB / 1.016 GB, free: 3.883 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.418e-05/0.5512, allocations: 103.8 kB / 1.016 GB, free: 3.781 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.513e-06/0.5512, allocations: 0 / 1.016 GB, free: 3.781 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.304e-06/0.5513, allocations: 0 / 1.016 GB, free: 3.781 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.077e-05/0.5513, allocations: 318.3 kB / 1.017 GB, free: 3.465 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.367e-06/0.5514, allocations: 8 kB / 1.017 GB, free: 3.457 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.723e-05/0.5514, allocations: 20.7 kB / 1.017 GB, free: 3.43 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.949e-05/0.5514, allocations: 7.062 kB / 1.017 GB, free: 3.426 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.5514, allocations: 0 / 1.017 GB, free: 3.426 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.157e-05/0.5515, allocations: 49 kB / 1.017 GB, free: 3.375 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 8.395e-06/0.5515, allocations: 8.094 kB / 1.017 GB, free: 3.367 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.5515, allocations: 4 kB / 1.017 GB, free: 3.363 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.007e-05/0.5515, allocations: 0 / 1.017 GB, free: 3.363 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.036e-05/0.5516, allocations: 11.5 kB / 1.017 GB, free: 3.355 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.92e-06/0.5516, allocations: 3.906 kB / 1.017 GB, free: 3.352 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.637e-05/0.5516, allocations: 4 kB / 1.017 GB, free: 3.348 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.336e-06/0.5516, allocations: 0 / 1.017 GB, free: 3.348 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.687e-05/0.5517, allocations: 183.5 kB / 1.017 GB, free: 3.164 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.499e-05/0.5518, allocations: 112.9 kB / 1.017 GB, free: 3.047 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.829e-05/0.5518, allocations: 104.5 kB / 1.017 GB, free: 2.938 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.178e-05/0.5519, allocations: 184.3 kB / 1.017 GB, free: 2.75 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-05/0.5519, allocations: 179.5 kB / 1.017 GB, free: 2.57 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.323e-05/0.552, allocations: 184.2 kB / 1.018 GB, free: 2.383 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001671/0.5522, allocations: 404.3 kB / 1.018 GB, free: 1.949 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.781e-05/0.5522, allocations: 105 kB / 1.018 GB, free: 1.84 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.481e-05/0.5522, allocations: 101 kB / 1.018 GB, free: 1.734 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.366e-05/0.5523, allocations: 184.1 kB / 1.018 GB, free: 1.547 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.529e-05/0.5523, allocations: 176.7 kB / 1.019 GB, free: 1.367 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.13e-05/0.5524, allocations: 184.2 kB / 1.019 GB, free: 1.18 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.045e-05/0.5524, allocations: 191.8 kB / 1.019 GB, free: 0.9883 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.584e-05/0.5525, allocations: 305 kB / 1.019 GB, free: 0.668 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.416e-05/0.5526, allocations: 181.8 kB / 1.019 GB, free: 480 kB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.474e-05/0.5526, allocations: 188.2 kB / 1.02 GB, free: 284 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.291e-05/0.5527, allocations: 101 kB / 1.02 GB, free: 176 kB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.088e-05/0.5528, allocations: 188.1 kB / 1.02 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.421e-05/0.5528, allocations: 101 kB / 1.02 GB, free: 15.87 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.322e-05/0.5529, allocations: 100 kB / 1.02 GB, free: 15.78 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0001963/0.5531, allocations: 15.88 kB / 1.02 GB, free: 15.77 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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 0.0001013/0.5532, allocations: 170.5 kB / 1.02 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 4.739e-05/0.5532, allocations: 7.938 kB / 1.02 GB, free: 15.58 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.5532, allocations: 4.188 kB / 1.02 GB, free: 15.58 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 1.343e-06/0.5532, allocations: 3.125 kB / 1.02 GB, free: 15.58 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002286/0.5535, allocations: 0.5185 MB / 1.021 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001957/0.5537, allocations: 158.8 kB / 1.021 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002175/0.5539, allocations: 0.7146 MB / 1.022 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of SimCode: time 2.2e-07/0.5539, allocations: 0 / 1.022 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of Templates: time 0.001501/0.5554, allocations: 269 kB / 1.022 GB, free: 13.88 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.makefile (rm -f Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe >> ../files/Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.sim & ./Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain.csv","../files/Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches