Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.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.ASHRAESolarGain,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.ASHRAESolarGain") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,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.ASHRAESolarGain") [: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.194/1.194, allocations: 249.4 MB / 256.7 MB, free: 7.016 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.00102/0.00102, allocations: 181.2 kB / 316 MB, free: 3.512 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.05/1.05, allocations: 205.2 MB / 0.5667 GB, free: 15.7 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.0008288/0.0008287, allocations: 102.6 kB / 0.671 GB, free: 4.828 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.552e-06/6.572e-06, allocations: 4 kB / 0.7807 GB, free: 102.8 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1469/0.1469, allocations: 106.3 MB / 0.8846 GB, free: 12.34 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5781/0.7251, allocations: 357 MB / 1.233 GB, free: 13.04 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002299/0.7253, allocations: 87.33 kB / 1.233 GB, free: 12.99 MB / 0.8542 GB Notification: Performance of FrontEnd: time 0.02662/0.752, allocations: 11.13 MB / 1.244 GB, free: 3.98 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.344e-05/0.752, allocations: 4 kB / 1.244 GB, free: 3.977 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001065/0.7531, allocations: 0.6154 MB / 1.245 GB, free: 3.328 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.136e-05/0.7531, allocations: 8.031 kB / 1.245 GB, free: 3.32 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007394/0.7539, allocations: 155.5 kB / 1.245 GB, free: 3.168 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008734/0.7547, allocations: 354.2 kB / 1.245 GB, free: 2.797 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/0.7548, allocations: 7.906 kB / 1.245 GB, free: 2.789 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.028e-05/0.7548, allocations: 4 kB / 1.245 GB, free: 2.785 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002704/0.7551, allocations: 137.5 kB / 1.245 GB, free: 2.703 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002277/0.7553, allocations: 140.1 kB / 1.245 GB, free: 2.594 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.7553, allocations: 0 / 1.245 GB, free: 2.594 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.179e-05/0.7554, allocations: 0 / 1.245 GB, free: 2.594 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.09e-05/0.7554, allocations: 4 kB / 1.246 GB, free: 2.59 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001029/0.7564, allocations: 0.5542 MB / 1.246 GB, free: 2.082 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001496/0.7566, allocations: 102.8 kB / 1.246 GB, free: 2.008 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000123/0.7567, allocations: 78.53 kB / 1.246 GB, free: 1.961 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006098/0.7573, allocations: 0.522 MB / 1.247 GB, free: 1.332 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.843e-05/0.7573, allocations: 30.56 kB / 1.247 GB, free: 1.293 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=13): time 1.152e-06/0.7573, allocations: 0 / 1.247 GB, free: 1.293 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13): time 0.00321/0.7606, allocations: 0.5021 MB / 1.247 GB, free: 0.8594 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.669e-05/0.7606, allocations: 59.41 kB / 1.247 GB, free: 0.7891 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001661/0.7608, allocations: 209.6 kB / 1.248 GB, free: 0.6133 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.495e-05/0.7608, allocations: 25.7 kB / 1.248 GB, free: 0.582 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.934e-05/0.7609, allocations: 117.5 kB / 1.248 GB, free: 488 kB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.152e-05/0.7609, allocations: 43.3 kB / 1.248 GB, free: 448 kB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.754e-05/0.7609, allocations: 0 / 1.248 GB, free: 448 kB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 8.313e-05/0.761, allocations: 334.5 kB / 1.248 GB, free: 116 kB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001203/0.7611, allocations: 75.05 kB / 1.248 GB, free: 72 kB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000114/0.7613, allocations: 88.12 kB / 1.248 GB, free: 20 kB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2135/0.9748, allocations: 0.8974 MB / 1.249 GB, free: 413.3 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.88e-06/0.9749, allocations: 3.281 kB / 1.249 GB, free: 413.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.007925/0.9828, allocations: 1.045 MB / 1.25 GB, free: 413.3 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.9828, allocations: 13.09 kB / 1.25 GB, free: 413.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.9828, allocations: 6.719 kB / 1.25 GB, free: 413.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.9828, allocations: 6.656 kB / 1.25 GB, free: 413.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004666/0.9833, allocations: 82.39 kB / 1.25 GB, free: 413.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.9833, allocations: 7.688 kB / 1.25 GB, free: 413.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000342/0.9837, allocations: 62.28 kB / 1.25 GB, free: 413.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.609e-05/0.9837, allocations: 14.44 kB / 1.25 GB, free: 413.3 MB / 0.8542 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 (17): * Single equations (assignments): 17 * 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.802e-05/0.9838, allocations: 104.8 kB / 1.25 GB, free: 413.2 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.889e-05/0.9838, allocations: 29.19 kB / 1.25 GB, free: 413.2 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003095/0.9869, allocations: 0.52 MB / 1.251 GB, free: 413.1 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-06/0.987, allocations: 3.438 kB / 1.251 GB, free: 413.1 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.987, allocations: 3.719 kB / 1.251 GB, free: 413.1 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.125e-06/0.987, allocations: 0.8438 kB / 1.251 GB, free: 413.1 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002166/0.9872, allocations: 271 kB / 1.251 GB, free: 413 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.9872, allocations: 0 / 1.251 GB, free: 413 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004138/0.9876, allocations: 87.05 kB / 1.251 GB, free: 413 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.9876, allocations: 0 / 1.251 GB, free: 413 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.204e-05/0.9877, allocations: 3.797 kB / 1.251 GB, free: 413 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.9877, allocations: 7.75 kB / 1.251 GB, free: 413 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.9877, allocations: 0 / 1.251 GB, free: 413 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002986/0.9907, allocations: 0.6001 MB / 1.252 GB, free: 412.8 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 8.702e-05/0.9908, allocations: 120.9 kB / 1.252 GB, free: 412.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.966e-05/0.9908, allocations: 3.156 kB / 1.252 GB, free: 412.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003614/0.9912, allocations: 52.94 kB / 1.252 GB, free: 412.7 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.994e-05/0.9913, allocations: 17.42 kB / 1.252 GB, free: 412.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.046e-05/0.9913, allocations: 7.797 kB / 1.252 GB, free: 412.7 MB / 0.8542 GB Notification: Performance of sort global known variables: time 9.667e-05/0.9914, allocations: 173.5 kB / 1.252 GB, free: 412.6 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003062/0.9917, allocations: 78.72 kB / 1.252 GB, free: 412.6 MB / 0.8542 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 (13): * Single equations (assignments): 13 * 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.0002474/0.992, allocations: 187.8 kB / 1.252 GB, free: 412.5 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002908/0.9922, allocations: 176.7 kB / 1.253 GB, free: 412.5 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.9923, allocations: 0 / 1.253 GB, free: 412.5 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.000141/0.9924, allocations: 91.39 kB / 1.253 GB, free: 412.5 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002637/0.9927, allocations: 30.3 kB / 1.253 GB, free: 412.5 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000639/0.9933, allocations: 303.8 kB / 1.253 GB, free: 412.4 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002729/0.9936, allocations: 0.7773 MB / 1.254 GB, free: 411.7 MB / 0.8542 GB Notification: Performance of SimCode: time 2.31e-07/0.9936, allocations: 0 / 1.254 GB, free: 411.7 MB / 0.8542 GB Notification: Performance of Templates: time 0.005911/0.9995, allocations: 3.904 MB / 1.258 GB, free: 411.5 MB / 0.8542 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches