Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_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 10.0.0-master/package.mo): time 1.937/1.937, allocations: 390.4 MB / 397.7 MB, free: 11.26 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.001066/0.001066, allocations: 181.2 kB / 490.8 MB, free: 1.953 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.307/1.307, allocations: 221.3 MB / 0.7863 GB, free: 13.7 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009037/0.0009036, allocations: 90.8 kB / 0.9264 GB, free: 14.23 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 8.106e-06/8.125e-06, allocations: 4 kB / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2699/0.2699, allocations: 143 MB / 1.212 GB, free: 40.14 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8716/1.142, allocations: 375.4 MB / 1.578 GB, free: 7.316 MB / 0.9948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002639/1.142, allocations: 87.83 kB / 1.578 GB, free: 7.27 MB / 0.9948 GB Notification: Performance of FrontEnd: time 0.03011/1.172, allocations: 11.54 MB / 1.589 GB, free: 13.88 MB / 1.01 GB Notification: Performance of Transformations before backend: time 1.603e-05/1.172, allocations: 4 kB / 1.589 GB, free: 13.88 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.001154/1.173, allocations: 0.6154 MB / 1.59 GB, free: 13.23 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/1.173, allocations: 16.03 kB / 1.59 GB, free: 13.21 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007801/1.174, allocations: 156.2 kB / 1.59 GB, free: 13.06 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009679/1.175, allocations: 348.3 kB / 1.591 GB, free: 12.69 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.18e-05/1.175, allocations: 7.938 kB / 1.591 GB, free: 12.68 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.939e-05/1.175, allocations: 4 kB / 1.591 GB, free: 12.68 MB / 1.01 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002909/1.175, allocations: 135.4 kB / 1.591 GB, free: 12.6 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002498/1.176, allocations: 146.1 kB / 1.591 GB, free: 12.48 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/1.176, allocations: 0 / 1.591 GB, free: 12.48 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.211e-05/1.176, allocations: 0 / 1.591 GB, free: 12.48 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/1.176, allocations: 0 / 1.591 GB, free: 12.48 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001141/1.177, allocations: 0.5496 MB / 1.591 GB, free: 11.98 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000154/1.177, allocations: 98.56 kB / 1.591 GB, free: 11.91 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001299/1.177, allocations: 86.52 kB / 1.592 GB, free: 11.86 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006851/1.178, allocations: 0.5134 MB / 1.592 GB, free: 11.23 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.175e-05/1.178, allocations: 34.31 kB / 1.592 GB, free: 11.2 MB / 1.01 GB Notification: Performance of pre-optimization done (n=13): time 1.312e-06/1.178, allocations: 0 / 1.592 GB, free: 11.2 MB / 1.01 GB Notification: Performance of matching and sorting (n=13): time 0.003427/1.181, allocations: 0.5072 MB / 1.593 GB, free: 10.75 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.032e-05/1.181, allocations: 55.41 kB / 1.593 GB, free: 10.69 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002018/1.182, allocations: 209.9 kB / 1.593 GB, free: 10.52 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 2.999e-05/1.182, allocations: 25.7 kB / 1.593 GB, free: 10.48 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 5.861e-05/1.182, allocations: 119.8 kB / 1.593 GB, free: 10.38 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 5.233e-05/1.182, allocations: 39.06 kB / 1.593 GB, free: 10.34 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.794e-05/1.182, allocations: 3.938 kB / 1.593 GB, free: 10.34 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001198/1.182, allocations: 341 kB / 1.593 GB, free: 10 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001306/1.182, allocations: 73.92 kB / 1.593 GB, free: 9.965 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001261/1.182, allocations: 81.33 kB / 1.594 GB, free: 9.918 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00846/1.191, allocations: 0.8931 MB / 1.594 GB, free: 9.105 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.646e-06/1.191, allocations: 0 / 1.594 GB, free: 9.105 MB / 1.01 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.00865/1.199, allocations: 1.059 MB / 1.595 GB, free: 8.152 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/1.199, allocations: 4 kB / 1.595 GB, free: 8.148 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/1.199, allocations: 0 / 1.595 GB, free: 8.148 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/1.199, allocations: 4 kB / 1.595 GB, free: 8.145 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005223/1.2, allocations: 91.86 kB / 1.596 GB, free: 8.055 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.842e-06/1.2, allocations: 7.922 kB / 1.596 GB, free: 8.047 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003892/1.2, allocations: 67.78 kB / 1.596 GB, free: 7.98 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.756e-05/1.2, allocations: 8 kB / 1.596 GB, free: 7.973 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 (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.0001032/1.201, allocations: 104.9 kB / 1.596 GB, free: 7.863 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.874e-05/1.201, allocations: 26.47 kB / 1.596 GB, free: 7.84 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003395/1.204, allocations: 0.5318 MB / 1.596 GB, free: 7.383 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/1.204, allocations: 4 kB / 1.596 GB, free: 7.379 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/1.204, allocations: 0 / 1.596 GB, free: 7.379 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/1.204, allocations: 4 kB / 1.596 GB, free: 7.375 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003309/1.204, allocations: 273.6 kB / 1.596 GB, free: 7.113 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/1.204, allocations: 0 / 1.596 GB, free: 7.113 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004766/1.205, allocations: 79.92 kB / 1.597 GB, free: 7.035 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.625e-06/1.205, allocations: 3.906 kB / 1.597 GB, free: 7.031 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.351e-05/1.205, allocations: 4 kB / 1.597 GB, free: 7.027 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.55e-06/1.205, allocations: 7.984 kB / 1.597 GB, free: 7.02 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/1.205, allocations: 0 / 1.597 GB, free: 7.02 MB / 1.01 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003365/1.208, allocations: 0.6047 MB / 1.597 GB, free: 6.477 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001249/1.208, allocations: 116.2 kB / 1.597 GB, free: 6.352 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.474e-05/1.208, allocations: 0 / 1.597 GB, free: 6.352 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003889/1.209, allocations: 59.56 kB / 1.597 GB, free: 6.297 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.908e-05/1.209, allocations: 19.72 kB / 1.597 GB, free: 6.281 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.308e-05/1.209, allocations: 8 kB / 1.597 GB, free: 6.273 MB / 1.01 GB Notification: Performance of sort global known variables: time 0.000152/1.209, allocations: 168.9 kB / 1.598 GB, free: 6.137 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0003567/1.21, allocations: 75.34 kB / 1.598 GB, free: 6.066 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.000299/1.21, allocations: 187.7 kB / 1.598 GB, free: 5.879 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0003297/1.21, allocations: 182.6 kB / 1.598 GB, free: 5.766 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.072e-06/1.21, allocations: 0 / 1.598 GB, free: 5.766 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0001627/1.21, allocations: 94.28 kB / 1.598 GB, free: 5.707 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002878/1.211, allocations: 38.75 kB / 1.598 GB, free: 5.684 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00072/1.211, allocations: 289.6 kB / 1.598 GB, free: 5.418 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004726/1.212, allocations: 0.789 MB / 1.599 GB, free: 4.605 MB / 1.01 GB Notification: Performance of SimCode: time 2.81e-07/1.212, allocations: 0 / 1.599 GB, free: 4.605 MB / 1.01 GB Notification: Performance of Templates: time 0.007016/1.219, allocations: 3.896 MB / 1.603 GB, free: 0.7461 MB / 1.01 GB make -j1 -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.makefile (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & ./Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.csv","../files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches