Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.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.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_latest_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_latest_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 10.0.0-master/package.mo): time 1.953/1.953, allocations: 390.4 MB / 397.7 MB, free: 11.28 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.001157/0.001157, allocations: 178 kB / 490.8 MB, free: 1.969 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.298/1.298, allocations: 221.4 MB / 0.7863 GB, free: 13.79 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.001014/0.001014, allocations: 98.72 kB / 0.9264 GB, free: 14.32 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 7.945e-06/8.035e-06, allocations: 0 / 1.072 GB, free: 164.7 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2608/0.2609, allocations: 143 MB / 1.212 GB, free: 21.93 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7928/1.054, allocations: 374.2 MB / 1.577 GB, free: 10.72 MB / 1.026 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002507/1.054, allocations: 84.77 kB / 1.577 GB, free: 10.68 MB / 1.026 GB Notification: Performance of FrontEnd: time 0.02222/1.076, allocations: 9.284 MB / 1.586 GB, free: 3.242 MB / 1.026 GB Notification: Performance of Transformations before backend: time 1.141e-05/1.076, allocations: 4 kB / 1.586 GB, free: 3.238 MB / 1.026 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.0006286/1.077, allocations: 468.6 kB / 1.587 GB, free: 2.746 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 3.382e-05/1.077, allocations: 8.031 kB / 1.587 GB, free: 2.738 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.001e-05/1.077, allocations: 19.72 kB / 1.587 GB, free: 2.719 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004464/1.078, allocations: 235.2 kB / 1.587 GB, free: 2.457 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.638e-06/1.078, allocations: 4 kB / 1.587 GB, free: 2.453 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.801e-05/1.078, allocations: 8 kB / 1.587 GB, free: 2.445 MB / 1.026 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001399/1.078, allocations: 66.91 kB / 1.587 GB, free: 2.402 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001789/1.078, allocations: 111.2 kB / 1.587 GB, free: 2.309 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/1.078, allocations: 0 / 1.587 GB, free: 2.309 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.712e-05/1.078, allocations: 0 / 1.587 GB, free: 2.309 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.319e-05/1.078, allocations: 8 kB / 1.587 GB, free: 2.301 MB / 1.026 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006793/1.079, allocations: 421.5 kB / 1.587 GB, free: 1.902 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001875/1.079, allocations: 127.8 kB / 1.588 GB, free: 1.801 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001116/1.079, allocations: 77.89 kB / 1.588 GB, free: 1.746 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 2.035e-05/1.079, allocations: 7.922 kB / 1.588 GB, free: 1.738 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.302e-05/1.079, allocations: 34.56 kB / 1.588 GB, free: 1.695 MB / 1.026 GB Notification: Performance of pre-optimization done (n=13): time 1.383e-06/1.079, allocations: 0 / 1.588 GB, free: 1.695 MB / 1.026 GB Notification: Performance of matching and sorting (n=13): time 0.0005687/1.08, allocations: 187.3 kB / 1.588 GB, free: 1.539 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.652e-05/1.08, allocations: 59.34 kB / 1.588 GB, free: 1.469 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001638/1.08, allocations: 181.5 kB / 1.588 GB, free: 1.312 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 1.947e-05/1.08, allocations: 29.64 kB / 1.588 GB, free: 1.277 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 4.31e-05/1.08, allocations: 98.94 kB / 1.588 GB, free: 1.184 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 4.122e-05/1.08, allocations: 43.11 kB / 1.588 GB, free: 1.145 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.207e-06/1.08, allocations: 0 / 1.588 GB, free: 1.145 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 0.0001068/1.08, allocations: 330.1 kB / 1.589 GB, free: 0.8203 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.434e-05/1.08, allocations: 42.36 kB / 1.589 GB, free: 0.793 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.4e-05/1.08, allocations: 51.61 kB / 1.589 GB, free: 0.7578 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002916/1.081, allocations: 92.83 kB / 1.589 GB, free: 0.6836 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/1.081, allocations: 0 / 1.589 GB, free: 0.6836 MB / 1.026 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004484/1.081, allocations: 195.5 kB / 1.589 GB, free: 0.5195 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/1.081, allocations: 7.125 kB / 1.589 GB, free: 0.5156 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/1.081, allocations: 0 / 1.589 GB, free: 0.5156 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.058e-05/1.081, allocations: 0 / 1.589 GB, free: 0.5156 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002664/1.081, allocations: 43.95 kB / 1.589 GB, free: 484 kB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/1.081, allocations: 4 kB / 1.589 GB, free: 480 kB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001689/1.082, allocations: 27.08 kB / 1.589 GB, free: 456 kB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.611e-05/1.082, allocations: 0 / 1.589 GB, free: 456 kB / 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 (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.698e-05/1.082, allocations: 112.9 kB / 1.589 GB, free: 336 kB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.499e-05/1.082, allocations: 19.72 kB / 1.589 GB, free: 316 kB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.712e-05/1.082, allocations: 24.02 kB / 1.589 GB, free: 304 kB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/1.082, allocations: 4 kB / 1.589 GB, free: 300 kB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/1.082, allocations: 0 / 1.589 GB, free: 300 kB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/1.082, allocations: 0 / 1.589 GB, free: 300 kB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002308/1.082, allocations: 233.5 kB / 1.589 GB, free: 56 kB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/1.082, allocations: 3.984 kB / 1.589 GB, free: 52 kB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002338/1.082, allocations: 39.97 kB / 1.589 GB, free: 12 kB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/1.082, allocations: 0 / 1.589 GB, free: 12 kB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.585e-05/1.082, allocations: 3.438 kB / 1.589 GB, free: 12 kB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/1.082, allocations: 4 kB / 1.589 GB, free: 8 kB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/1.082, allocations: 0 / 1.589 GB, free: 8 kB / 1.026 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005487/1.083, allocations: 296.9 kB / 1.59 GB, free: 15.73 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 9.417e-05/1.083, allocations: 120.5 kB / 1.59 GB, free: 15.6 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.531e-05/1.083, allocations: 0 / 1.59 GB, free: 15.6 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001996/1.083, allocations: 15.98 kB / 1.59 GB, free: 15.59 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.151e-05/1.083, allocations: 15.8 kB / 1.59 GB, free: 15.57 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.64e-05/1.083, allocations: 7.984 kB / 1.59 GB, free: 15.57 MB / 1.042 GB Notification: Performance of sort global known variables: time 0.0001033/1.083, allocations: 142.2 kB / 1.59 GB, free: 15.45 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0002611/1.084, allocations: 35.98 kB / 1.59 GB, free: 15.41 MB / 1.042 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.0002111/1.084, allocations: 143.2 kB / 1.59 GB, free: 15.27 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0002212/1.084, allocations: 122.4 kB / 1.59 GB, free: 15.18 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/1.084, allocations: 7.938 kB / 1.59 GB, free: 15.17 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 9.69e-05/1.084, allocations: 64.22 kB / 1.59 GB, free: 15.12 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002461/1.084, allocations: 24.53 kB / 1.59 GB, free: 15.11 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000522/1.085, allocations: 227.1 kB / 1.591 GB, free: 14.89 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003363/1.085, allocations: 0.7504 MB / 1.591 GB, free: 14.11 MB / 1.042 GB Notification: Performance of SimCode: time 2.7e-07/1.085, allocations: 0 / 1.591 GB, free: 14.11 MB / 1.042 GB Notification: Performance of Templates: time 0.004911/1.09, allocations: 2.21 MB / 1.594 GB, free: 11.94 MB / 1.042 GB make -j1 -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.makefile (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & ./Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.csv","../files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches