Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaLos.QLos.1.|heaLos.QLos.2.|heaLos.QLos.3.|TEnv.y|T1.y|T2.y|T3.y",fileNamePrefix="Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaLos.QLos.1.|heaLos.QLos.2.|heaLos.QLos.3.|TEnv.y|T1.y|T2.y|T3.y",fileNamePrefix="Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss") [: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 9.1.1-maint.9.1.x/package.mo): time 1.997/1.997, allocations: 387.2 MB / 394.5 MB, free: 13.63 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00104/0.00104, allocations: 184.6 kB / 487 MB, free: 5.395 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.37/1.37, allocations: 221.3 MB / 0.7819 GB, free: 1.391 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001006/0.001006, allocations: 95.02 kB / 0.9213 GB, free: 2.637 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 7.855e-06/7.875e-06, allocations: 4 kB / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2744/0.2745, allocations: 142.3 MB / 1.205 GB, free: 26.29 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8829/1.157, allocations: 373.5 MB / 1.57 GB, free: 1.406 MB / 0.9948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002585/1.158, allocations: 88.19 kB / 1.57 GB, free: 1.355 MB / 0.9948 GB Notification: Performance of FrontEnd: time 0.02228/1.18, allocations: 9.262 MB / 1.579 GB, free: 9.945 MB / 1.01 GB Notification: Performance of Transformations before backend: time 1.193e-05/1.18, allocations: 4 kB / 1.579 GB, free: 9.941 MB / 1.01 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0006667/1.181, allocations: 474.2 kB / 1.58 GB, free: 9.445 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/1.181, allocations: 8.031 kB / 1.58 GB, free: 9.438 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.196e-05/1.181, allocations: 15.81 kB / 1.58 GB, free: 9.422 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003937/1.181, allocations: 240.4 kB / 1.58 GB, free: 9.156 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.292e-05/1.181, allocations: 8 kB / 1.58 GB, free: 9.148 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.742e-05/1.181, allocations: 0 / 1.58 GB, free: 9.148 MB / 1.01 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001355/1.181, allocations: 67.97 kB / 1.58 GB, free: 9.102 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001712/1.182, allocations: 115.2 kB / 1.58 GB, free: 9.008 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/1.182, allocations: 0 / 1.58 GB, free: 9.008 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.452e-05/1.182, allocations: 3.938 kB / 1.58 GB, free: 9.004 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.369e-05/1.182, allocations: 8 kB / 1.58 GB, free: 8.996 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006408/1.182, allocations: 424.2 kB / 1.58 GB, free: 8.598 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001786/1.182, allocations: 129.7 kB / 1.581 GB, free: 8.492 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000108/1.183, allocations: 74.64 kB / 1.581 GB, free: 8.438 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 2.004e-05/1.183, allocations: 3.688 kB / 1.581 GB, free: 8.438 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.906e-05/1.183, allocations: 30.56 kB / 1.581 GB, free: 8.398 MB / 1.01 GB Notification: Performance of pre-optimization done (n=13): time 3.466e-06/1.183, allocations: 4 kB / 1.581 GB, free: 8.395 MB / 1.01 GB Notification: Performance of matching and sorting (n=13): time 0.0005677/1.183, allocations: 186.8 kB / 1.581 GB, free: 8.234 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.085e-05/1.183, allocations: 63.08 kB / 1.581 GB, free: 8.164 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001538/1.183, allocations: 173 kB / 1.581 GB, free: 8.012 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 1.789e-05/1.183, allocations: 25.7 kB / 1.581 GB, free: 7.98 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 4.429e-05/1.184, allocations: 100.4 kB / 1.581 GB, free: 7.887 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 4.495e-05/1.184, allocations: 42.55 kB / 1.581 GB, free: 7.848 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.689e-06/1.184, allocations: 0 / 1.581 GB, free: 7.848 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001037/1.184, allocations: 332.5 kB / 1.582 GB, free: 7.523 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.494e-05/1.184, allocations: 41.23 kB / 1.582 GB, free: 7.496 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.195e-05/1.184, allocations: 51.05 kB / 1.582 GB, free: 7.461 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002796/1.184, allocations: 100.6 kB / 1.582 GB, free: 7.383 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/1.184, allocations: 0 / 1.582 GB, free: 7.383 MB / 1.01 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000444/1.185, allocations: 185.9 kB / 1.582 GB, free: 7.227 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/1.185, allocations: 8 kB / 1.582 GB, free: 7.219 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/1.185, allocations: 0 / 1.582 GB, free: 7.219 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/1.185, allocations: 0 / 1.582 GB, free: 7.219 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002555/1.185, allocations: 43.95 kB / 1.582 GB, free: 7.176 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.86e-06/1.185, allocations: 0 / 1.582 GB, free: 7.176 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000161/1.185, allocations: 27.83 kB / 1.582 GB, free: 7.148 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.586e-05/1.185, allocations: 0 / 1.582 GB, free: 7.148 MB / 1.01 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 (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 prepare postOptimizeDAE: time 7.34e-05/1.185, allocations: 112.9 kB / 1.582 GB, free: 7.031 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.348e-05/1.185, allocations: 19.72 kB / 1.582 GB, free: 7.012 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.667e-05/1.185, allocations: 24.14 kB / 1.582 GB, free: 7 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.554e-06/1.185, allocations: 0 / 1.582 GB, free: 7 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/1.185, allocations: 0 / 1.582 GB, free: 7 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/1.185, allocations: 4 kB / 1.582 GB, free: 6.996 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002336/1.186, allocations: 230 kB / 1.582 GB, free: 6.762 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/1.186, allocations: 8 kB / 1.582 GB, free: 6.754 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002192/1.186, allocations: 43.22 kB / 1.582 GB, free: 6.715 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/1.186, allocations: 3.984 kB / 1.582 GB, free: 6.711 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.511e-05/1.186, allocations: 0 / 1.582 GB, free: 6.711 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/1.186, allocations: 0 / 1.582 GB, free: 6.711 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/1.186, allocations: 4 kB / 1.582 GB, free: 6.707 MB / 1.01 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004714/1.186, allocations: 297.3 kB / 1.583 GB, free: 6.434 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 9.268e-05/1.186, allocations: 123 kB / 1.583 GB, free: 6.301 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.75e-05/1.186, allocations: 0 / 1.583 GB, free: 6.301 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001885/1.187, allocations: 19.92 kB / 1.583 GB, free: 6.281 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.168e-05/1.187, allocations: 7.984 kB / 1.583 GB, free: 6.273 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.364e-05/1.187, allocations: 7.984 kB / 1.583 GB, free: 6.266 MB / 1.01 GB Notification: Performance of sort global known variables: time 0.0001074/1.187, allocations: 143.8 kB / 1.583 GB, free: 6.148 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0002707/1.187, allocations: 35.98 kB / 1.583 GB, free: 6.113 MB / 1.01 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.0002451/1.187, allocations: 148 kB / 1.583 GB, free: 5.965 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0002237/1.188, allocations: 123.9 kB / 1.583 GB, free: 5.875 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/1.188, allocations: 0 / 1.583 GB, free: 5.875 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 9.998e-05/1.188, allocations: 68.47 kB / 1.583 GB, free: 5.828 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002638/1.188, allocations: 26.69 kB / 1.583 GB, free: 5.805 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005838/1.189, allocations: 226.6 kB / 1.584 GB, free: 5.594 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003442/1.189, allocations: 0.7504 MB / 1.584 GB, free: 4.816 MB / 1.01 GB Notification: Performance of SimCode: time 2.2e-07/1.189, allocations: 0 / 1.584 GB, free: 4.816 MB / 1.01 GB Notification: Performance of Templates: time 0.004935/1.194, allocations: 2.203 MB / 1.586 GB, free: 2.645 MB / 1.01 GB make -j1 -f Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.makefile (rm -f Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & ./Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.csv","../files/Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches