Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.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.HeatExchangers.BaseClasses.Examples.HACoilInside,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hASin.hA",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hASin.hA",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside") [: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 2.06/2.06, allocations: 387.2 MB / 394.5 MB, free: 13.59 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.001316/0.001315, allocations: 184.5 kB / 487 MB, free: 5.352 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.502/1.502, allocations: 221.3 MB / 0.7819 GB, free: 1.418 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.001057/0.001057, allocations: 108.7 kB / 0.9213 GB, free: 2.668 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 9.277e-06/9.287e-06, allocations: 0 / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2847/0.2847, allocations: 142.3 MB / 1.205 GB, free: 26.21 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8427/1.127, allocations: 150.4 MB / 1.352 GB, free: 15.83 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002863/1.128, allocations: 82.06 kB / 1.352 GB, free: 15.83 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.01765/1.146, allocations: 4.987 MB / 1.357 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.77e-05/1.146, allocations: 5.375 kB / 1.357 GB, free: 15.51 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000608/1.146, allocations: 393.5 kB / 1.357 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 5.73e-05/1.146, allocations: 8.719 kB / 1.357 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00015/1.146, allocations: 8.734 kB / 1.357 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003032/1.147, allocations: 198.6 kB / 1.358 GB, free: 14.92 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.322e-05/1.147, allocations: 0.7188 kB / 1.358 GB, free: 14.92 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.918e-05/1.147, allocations: 2.781 kB / 1.358 GB, free: 14.92 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001355/1.147, allocations: 25.91 kB / 1.358 GB, free: 14.92 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001116/1.147, allocations: 49.7 kB / 1.358 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/1.147, allocations: 0.9375 kB / 1.358 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.347e-05/1.147, allocations: 5.578 kB / 1.358 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/1.147, allocations: 0.8438 kB / 1.358 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004964/1.148, allocations: 280.9 kB / 1.358 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001026/1.148, allocations: 43.64 kB / 1.358 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.87e-05/1.148, allocations: 19.52 kB / 1.358 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.686e-05/1.148, allocations: 0.7812 kB / 1.358 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.85e-05/1.148, allocations: 32.7 kB / 1.358 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=5): time 2.224e-06/1.148, allocations: 0 / 1.358 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of matching and sorting (n=5): time 0.0002993/1.148, allocations: 64.94 kB / 1.358 GB, free: 14.53 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.518e-05/1.148, allocations: 57.11 kB / 1.358 GB, free: 14.46 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001135/1.148, allocations: 121.4 kB / 1.358 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.31e-05/1.148, allocations: 26.42 kB / 1.358 GB, free: 14.33 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.454e-05/1.148, allocations: 95.91 kB / 1.358 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.586e-05/1.148, allocations: 19.2 kB / 1.358 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.342e-06/1.148, allocations: 0 / 1.358 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.519e-05/1.148, allocations: 319.2 kB / 1.359 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.869e-05/1.149, allocations: 10.92 kB / 1.359 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.283e-05/1.149, allocations: 12.41 kB / 1.359 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.562e-05/1.149, allocations: 17 kB / 1.359 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.185e-06/1.149, allocations: 0 / 1.359 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001705/1.149, allocations: 69.28 kB / 1.359 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/1.149, allocations: 5.062 kB / 1.359 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/1.149, allocations: 1.594 kB / 1.359 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/1.149, allocations: 0.875 kB / 1.359 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001485/1.149, allocations: 16.5 kB / 1.359 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/1.149, allocations: 0 / 1.359 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.347e-05/1.149, allocations: 15.95 kB / 1.359 GB, free: 13.87 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.279e-05/1.149, allocations: 3.078 kB / 1.359 GB, free: 13.87 MB / 0.8073 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 (6): * Single equations (assignments): 6 * 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 5.99e-05/1.149, allocations: 105.6 kB / 1.359 GB, free: 13.76 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.557e-05/1.149, allocations: 11.23 kB / 1.359 GB, free: 13.76 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002137/1.15, allocations: 79.7 kB / 1.359 GB, free: 13.72 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/1.15, allocations: 1.703 kB / 1.359 GB, free: 13.72 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/1.15, allocations: 0 / 1.359 GB, free: 13.72 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/1.15, allocations: 8.562 kB / 1.359 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001663/1.15, allocations: 156.1 kB / 1.359 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/1.15, allocations: 1.062 kB / 1.359 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001046/1.15, allocations: 23.95 kB / 1.359 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.057e-06/1.15, allocations: 0.5312 kB / 1.359 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.217e-05/1.15, allocations: 1.156 kB / 1.359 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/1.15, allocations: 1.406 kB / 1.359 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/1.15, allocations: 4.844 kB / 1.359 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001867/1.15, allocations: 170 kB / 1.359 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.943e-05/1.15, allocations: 87.11 kB / 1.36 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.058e-05/1.15, allocations: 0.9375 kB / 1.36 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001043/1.15, allocations: 7.531 kB / 1.36 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.848e-05/1.15, allocations: 3.922 kB / 1.36 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.205e-06/1.15, allocations: 6.547 kB / 1.36 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5.732e-05/1.15, allocations: 100.3 kB / 1.36 GB, free: 13.22 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002758/1.151, allocations: 27.62 kB / 1.36 GB, free: 13.21 MB / 0.8073 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 (6): * Single equations (assignments): 6 * 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.0002476/1.151, allocations: 116.5 kB / 1.36 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001381/1.151, allocations: 37.34 kB / 1.36 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/1.151, allocations: 4.688 kB / 1.36 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 4.929e-05/1.151, allocations: 21.77 kB / 1.36 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002388/1.151, allocations: 9.203 kB / 1.36 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003551/1.152, allocations: 100.9 kB / 1.36 GB, free: 13.03 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003139/1.152, allocations: 0.7059 MB / 1.361 GB, free: 28.33 MB / 0.823 GB Notification: Performance of SimCode: time 2.4e-07/1.152, allocations: 0 / 1.361 GB, free: 28.33 MB / 0.823 GB Notification: Performance of Templates: time 0.00458/1.157, allocations: 1.043 MB / 1.362 GB, free: 28.25 MB / 0.823 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.csv","../files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches