Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.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.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_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 1.979/1.979, allocations: 387.2 MB / 394.5 MB, free: 13.66 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.00109/0.00109, allocations: 177.3 kB / 487 MB, free: 5.387 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.351/1.351, 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.0009872/0.0009872, allocations: 94.12 kB / 0.9213 GB, free: 2.637 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 7.063e-06/7.093e-06, allocations: 4 kB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2297/0.2297, allocations: 142.3 MB / 1.205 GB, free: 26.21 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8988/1.129, allocations: 374.8 MB / 1.571 GB, free: 15.14 MB / 1.01 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002975/1.129, allocations: 90.42 kB / 1.571 GB, free: 15.09 MB / 1.01 GB Notification: Performance of FrontEnd: time 0.03342/1.162, allocations: 11.53 MB / 1.583 GB, free: 5.703 MB / 1.01 GB Notification: Performance of Transformations before backend: time 2.409e-05/1.162, allocations: 8 kB / 1.583 GB, free: 5.695 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001378/1.164, allocations: 0.6143 MB / 1.583 GB, free: 5.047 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.795e-05/1.164, allocations: 13.56 kB / 1.583 GB, free: 5.035 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009165/1.165, allocations: 155.5 kB / 1.583 GB, free: 4.883 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001152/1.166, allocations: 349.1 kB / 1.584 GB, free: 4.52 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.217e-05/1.166, allocations: 0 / 1.584 GB, free: 4.52 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.484e-05/1.166, allocations: 8 kB / 1.584 GB, free: 4.512 MB / 1.01 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003343/1.166, allocations: 134 kB / 1.584 GB, free: 4.434 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002772/1.167, allocations: 151.6 kB / 1.584 GB, free: 4.316 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/1.167, allocations: 0 / 1.584 GB, free: 4.316 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.438e-05/1.167, allocations: 0 / 1.584 GB, free: 4.316 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.508e-06/1.167, allocations: 3.906 kB / 1.584 GB, free: 4.312 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001286/1.168, allocations: 0.55 MB / 1.585 GB, free: 3.805 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001821/1.168, allocations: 98.25 kB / 1.585 GB, free: 3.734 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001471/1.168, allocations: 84.47 kB / 1.585 GB, free: 3.684 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007841/1.169, allocations: 0.5209 MB / 1.585 GB, free: 3.055 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.802e-05/1.169, allocations: 41.97 kB / 1.585 GB, free: 3.008 MB / 1.01 GB Notification: Performance of pre-optimization done (n=13): time 2.054e-06/1.169, allocations: 0 / 1.585 GB, free: 3.008 MB / 1.01 GB Notification: Performance of matching and sorting (n=13): time 0.003495/1.173, allocations: 0.4942 MB / 1.586 GB, free: 2.578 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.284e-05/1.173, allocations: 58.28 kB / 1.586 GB, free: 2.512 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002347/1.173, allocations: 213.9 kB / 1.586 GB, free: 2.332 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 3.126e-05/1.173, allocations: 25.7 kB / 1.586 GB, free: 2.301 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 6.83e-05/1.173, allocations: 118 kB / 1.586 GB, free: 2.191 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 5.057e-05/1.173, allocations: 34.95 kB / 1.586 GB, free: 2.16 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.813e-05/1.173, allocations: 4 kB / 1.586 GB, free: 2.156 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001516/1.173, allocations: 336.8 kB / 1.586 GB, free: 1.828 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001422/1.173, allocations: 77.67 kB / 1.587 GB, free: 1.785 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000131/1.174, allocations: 81.53 kB / 1.587 GB, free: 1.734 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008511/1.182, allocations: 0.8976 MB / 1.588 GB, free: 0.9219 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/1.182, allocations: 0 / 1.588 GB, free: 0.9219 MB / 1.01 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.008972/1.191, allocations: 1.049 MB / 1.589 GB, free: 15.98 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 2.666e-05/1.191, allocations: 4 kB / 1.589 GB, free: 15.97 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/1.191, allocations: 0 / 1.589 GB, free: 15.97 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.475e-05/1.191, allocations: 7.938 kB / 1.589 GB, free: 15.97 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005558/1.192, allocations: 91.86 kB / 1.589 GB, free: 15.88 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/1.192, allocations: 0 / 1.589 GB, free: 15.88 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004479/1.192, allocations: 59.8 kB / 1.589 GB, free: 15.82 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.055e-05/1.192, allocations: 11.17 kB / 1.589 GB, free: 15.81 MB / 1.026 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 0.0001193/1.193, allocations: 116.8 kB / 1.589 GB, free: 15.69 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.62e-05/1.193, allocations: 23.72 kB / 1.589 GB, free: 15.67 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003592/1.196, allocations: 0.5325 MB / 1.589 GB, free: 15.21 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.885e-06/1.196, allocations: 4 kB / 1.589 GB, free: 15.21 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.164e-06/1.196, allocations: 3.984 kB / 1.589 GB, free: 15.2 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.583e-06/1.196, allocations: 3.906 kB / 1.589 GB, free: 15.2 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003842/1.197, allocations: 268.1 kB / 1.59 GB, free: 14.94 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/1.197, allocations: 3.906 kB / 1.59 GB, free: 14.94 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00047/1.197, allocations: 90.66 kB / 1.59 GB, free: 14.85 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/1.197, allocations: 0 / 1.59 GB, free: 14.85 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.577e-05/1.197, allocations: 0 / 1.59 GB, free: 14.85 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/1.197, allocations: 0 / 1.59 GB, free: 14.85 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/1.197, allocations: 4 kB / 1.59 GB, free: 14.85 MB / 1.026 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003362/1.201, allocations: 0.5968 MB / 1.59 GB, free: 14.31 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000165/1.201, allocations: 127 kB / 1.59 GB, free: 14.18 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.985e-05/1.201, allocations: 0 / 1.59 GB, free: 14.18 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003981/1.201, allocations: 59.94 kB / 1.59 GB, free: 14.12 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.656e-05/1.201, allocations: 15.92 kB / 1.591 GB, free: 14.11 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.648e-05/1.201, allocations: 7.891 kB / 1.591 GB, free: 14.1 MB / 1.026 GB Notification: Performance of sort global known variables: time 0.0002168/1.202, allocations: 176 kB / 1.591 GB, free: 13.96 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.0004524/1.202, allocations: 67.88 kB / 1.591 GB, free: 13.89 MB / 1.026 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.0005401/1.203, allocations: 184.5 kB / 1.591 GB, free: 13.71 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.0004446/1.203, allocations: 179.1 kB / 1.591 GB, free: 13.6 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 3.095e-06/1.203, allocations: 0 / 1.591 GB, free: 13.6 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.0001776/1.203, allocations: 91.73 kB / 1.591 GB, free: 13.54 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003673/1.204, allocations: 39.64 kB / 1.591 GB, free: 13.51 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009263/1.205, allocations: 293.2 kB / 1.592 GB, free: 13.24 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006217/1.205, allocations: 0.7856 MB / 1.592 GB, free: 12.43 MB / 1.026 GB Notification: Performance of SimCode: time 3.51e-07/1.205, allocations: 0 / 1.592 GB, free: 12.43 MB / 1.026 GB Notification: Performance of Templates: time 0.009223/1.214, allocations: 3.908 MB / 1.596 GB, free: 8.562 MB / 1.026 GB make -j1 -f Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.makefile (rm -f Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & ./Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.csv","../files/Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches