Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.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.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solHeaGai.TFlu.1.|solHeaGai.TFlu.2.|solHeaGai.TFlu.3.|solHeaGai.QSol_flow.1.|solHeaGai.QSol_flow.2.|solHeaGai.QSol_flow.3.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solHeaGai.TFlu.1.|solHeaGai.TFlu.2.|solHeaGai.TFlu.3.|solHeaGai.QSol_flow.1.|solHeaGai.QSol_flow.2.|solHeaGai.QSol_flow.3.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") [: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.181/1.181, allocations: 249.4 MB / 256.7 MB, free: 7.656 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009134/0.0009134, allocations: 181.3 kB / 316 MB, free: 7.895 MB / 254.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.026/1.026, allocations: 205.1 MB / 0.5667 GB, free: 3.348 MB / 414.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008452/0.0008451, allocations: 81.45 kB / 0.671 GB, free: 8.504 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 6.392e-06/6.412e-06, allocations: 4 kB / 0.7807 GB, free: 106.8 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1486/0.1486, allocations: 106.3 MB / 0.8846 GB, free: 348 kB / 0.545 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.591/0.7396, allocations: 356.2 MB / 1.232 GB, free: 4.496 MB / 0.8419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002721/0.7399, allocations: 88.75 kB / 1.232 GB, free: 4.445 MB / 0.8419 GB Notification: Performance of FrontEnd: time 0.0242/0.7642, allocations: 10.35 MB / 1.243 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.175e-05/0.7642, allocations: 7.938 kB / 1.243 GB, free: 12.1 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0008887/0.7651, allocations: 0.5814 MB / 1.243 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.297e-05/0.7651, allocations: 8.031 kB / 1.243 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.768e-05/0.7652, allocations: 27.72 kB / 1.243 GB, free: 11.45 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005731/0.7658, allocations: 271.8 kB / 1.243 GB, free: 11.15 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.598e-06/0.7658, allocations: 0 / 1.243 GB, free: 11.15 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.397e-05/0.7658, allocations: 4 kB / 1.243 GB, free: 11.15 MB / 0.8575 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001972/0.766, allocations: 97.92 kB / 1.244 GB, free: 11.09 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001816/0.7662, allocations: 113.8 kB / 1.244 GB, free: 10.99 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.7662, allocations: 0 / 1.244 GB, free: 10.99 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.663e-05/0.7663, allocations: 0 / 1.244 GB, free: 10.99 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.7663, allocations: 3.984 kB / 1.244 GB, free: 10.98 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007574/0.767, allocations: 473.6 kB / 1.244 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001194/0.7672, allocations: 77.25 kB / 1.244 GB, free: 10.48 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.402e-05/0.7673, allocations: 57.28 kB / 1.244 GB, free: 10.45 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006049/0.7679, allocations: 0.5087 MB / 1.245 GB, free: 9.832 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.922e-05/0.7679, allocations: 30.56 kB / 1.245 GB, free: 9.793 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=11): time 1.273e-06/0.7679, allocations: 4 kB / 1.245 GB, free: 9.789 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11): time 0.003099/0.771, allocations: 466 kB / 1.245 GB, free: 9.383 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.537e-05/0.7711, allocations: 55.41 kB / 1.245 GB, free: 9.316 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001403/0.7712, allocations: 188.7 kB / 1.245 GB, free: 9.156 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.967e-05/0.7712, allocations: 29.92 kB / 1.245 GB, free: 9.121 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.302e-05/0.7713, allocations: 110.6 kB / 1.246 GB, free: 9.016 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.359e-05/0.7713, allocations: 38.53 kB / 1.246 GB, free: 8.984 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.166e-05/0.7713, allocations: 0 / 1.246 GB, free: 8.984 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.515e-05/0.7714, allocations: 333.4 kB / 1.246 GB, free: 8.66 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.118e-05/0.7715, allocations: 51.98 kB / 1.246 GB, free: 8.625 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.76e-05/0.7716, allocations: 49.84 kB / 1.246 GB, free: 8.594 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002827/0.7744, allocations: 357.2 kB / 1.246 GB, free: 8.281 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.7744, allocations: 0 / 1.246 GB, free: 8.281 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.002975/0.7774, allocations: 458.4 kB / 1.247 GB, free: 7.879 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/0.7774, allocations: 7.984 kB / 1.247 GB, free: 7.871 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.7774, allocations: 0 / 1.247 GB, free: 7.871 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.052e-05/0.7775, allocations: 3.938 kB / 1.247 GB, free: 7.867 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003247/0.7778, allocations: 63.89 kB / 1.247 GB, free: 7.805 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.457e-06/0.7778, allocations: 0 / 1.247 GB, free: 7.805 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000235/0.778, allocations: 43.86 kB / 1.247 GB, free: 7.762 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.609e-05/0.7781, allocations: 4 kB / 1.247 GB, free: 7.758 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (11): * Single equations (assignments): 11 * 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.93e-05/0.7781, allocations: 108.3 kB / 1.247 GB, free: 7.648 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.535e-05/0.7782, allocations: 27.72 kB / 1.247 GB, free: 7.621 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003068/0.7813, allocations: 491.7 kB / 1.248 GB, free: 7.191 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.7813, allocations: 3.906 kB / 1.248 GB, free: 7.188 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.055e-06/0.7813, allocations: 0 / 1.248 GB, free: 7.188 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/0.7813, allocations: 3.984 kB / 1.248 GB, free: 7.184 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002188/0.7815, allocations: 238.9 kB / 1.248 GB, free: 6.945 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.7815, allocations: 4 kB / 1.248 GB, free: 6.941 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000307/0.7818, allocations: 63.31 kB / 1.248 GB, free: 6.883 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.7819, allocations: 0 / 1.248 GB, free: 6.883 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.833e-05/0.7819, allocations: 7.922 kB / 1.248 GB, free: 6.875 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.7819, allocations: 4 kB / 1.248 GB, free: 6.871 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.7819, allocations: 0 / 1.248 GB, free: 6.871 MB / 0.8575 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003013/0.7849, allocations: 0.545 MB / 1.248 GB, free: 6.363 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 8.538e-05/0.785, allocations: 115.9 kB / 1.248 GB, free: 6.238 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.839e-05/0.7851, allocations: 4 kB / 1.248 GB, free: 6.234 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002682/0.7853, allocations: 43.95 kB / 1.249 GB, free: 6.191 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.511e-05/0.7854, allocations: 11.23 kB / 1.249 GB, free: 6.184 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.773e-05/0.7854, allocations: 11.36 kB / 1.249 GB, free: 6.176 MB / 0.8575 GB Notification: Performance of sort global known variables: time 9.811e-05/0.7855, allocations: 152.9 kB / 1.249 GB, free: 6.051 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002854/0.7858, allocations: 67.78 kB / 1.249 GB, free: 5.984 MB / 0.8575 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 (11): * Single equations (assignments): 11 * 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.0002484/0.7861, allocations: 194.1 kB / 1.249 GB, free: 5.789 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002232/0.7863, allocations: 118.8 kB / 1.249 GB, free: 5.711 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.7863, allocations: 0 / 1.249 GB, free: 5.711 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001103/0.7864, allocations: 66.98 kB / 1.249 GB, free: 5.668 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002429/0.7867, allocations: 27.11 kB / 1.249 GB, free: 5.645 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000565/0.7872, allocations: 244 kB / 1.249 GB, free: 5.41 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003251/0.7876, allocations: 0.7573 MB / 1.25 GB, free: 4.629 MB / 0.8575 GB Notification: Performance of SimCode: time 2.61e-07/0.7876, allocations: 0 / 1.25 GB, free: 4.629 MB / 0.8575 GB Notification: Performance of Templates: time 0.005454/0.793, allocations: 3.087 MB / 1.253 GB, free: 1.586 MB / 0.8575 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches