Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|c",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example5") translateModel(Buildings.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|c",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example5") [: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 7.0.3-maint.7.0.x/package.mo): time 1.188/1.188, allocations: 249.4 MB / 256.7 MB, free: 6.973 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001041/0.001041, allocations: 193.2 kB / 316 MB, free: 3.543 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.052/1.052, allocations: 205.2 MB / 0.5667 GB, free: 15.69 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008085/0.0008085, allocations: 83.39 kB / 0.671 GB, free: 4.82 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.33e-06/5.36e-06, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1348/0.1348, allocations: 106.3 MB / 0.8846 GB, free: 12.66 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4033/0.5381, allocations: 131.1 MB / 1.013 GB, free: 7.59 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002427/0.5384, allocations: 74.41 kB / 1.013 GB, free: 7.547 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.001138/0.5396, allocations: 172 kB / 1.013 GB, free: 7.414 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.387e-06/0.5396, allocations: 4 kB / 1.013 GB, free: 7.41 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002697/0.5399, allocations: 311.2 kB / 1.013 GB, free: 7.062 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.5399, allocations: 12.02 kB / 1.013 GB, free: 7.051 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.162e-05/0.54, allocations: 0 / 1.013 GB, free: 7.051 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002274/0.5402, allocations: 174.8 kB / 1.013 GB, free: 6.844 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.979e-06/0.5402, allocations: 0 / 1.013 GB, free: 6.844 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.016e-05/0.5403, allocations: 7.984 kB / 1.013 GB, free: 6.836 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.074e-05/0.5403, allocations: 7.938 kB / 1.013 GB, free: 6.828 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.264e-05/0.5403, allocations: 29.7 kB / 1.013 GB, free: 6.793 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.552e-06/0.5404, allocations: 0 / 1.013 GB, free: 6.793 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.233e-06/0.5404, allocations: 0 / 1.013 GB, free: 6.793 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.5404, allocations: 3.984 kB / 1.013 GB, free: 6.789 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001266/0.5405, allocations: 128.6 kB / 1.013 GB, free: 6.629 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.671e-05/0.5406, allocations: 26.5 kB / 1.014 GB, free: 6.594 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.065e-05/0.5406, allocations: 8.922 kB / 1.014 GB, free: 6.582 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.357e-05/0.5406, allocations: 4 kB / 1.014 GB, free: 6.578 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.176e-05/0.5406, allocations: 30.56 kB / 1.014 GB, free: 6.539 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 1.213e-06/0.5407, allocations: 3.938 kB / 1.014 GB, free: 6.535 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0001419/0.5408, allocations: 41.44 kB / 1.014 GB, free: 6.492 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.931e-05/0.5408, allocations: 51.41 kB / 1.014 GB, free: 6.43 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.601e-05/0.5409, allocations: 107.2 kB / 1.014 GB, free: 6.324 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.191e-05/0.5409, allocations: 25.7 kB / 1.014 GB, free: 6.293 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.594e-05/0.541, allocations: 84.17 kB / 1.014 GB, free: 6.207 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.847e-05/0.541, allocations: 3.906 kB / 1.014 GB, free: 6.203 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.255e-06/0.541, allocations: 0 / 1.014 GB, free: 6.203 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.553e-05/0.5411, allocations: 317.8 kB / 1.014 GB, free: 5.887 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.078e-05/0.5411, allocations: 0 / 1.014 GB, free: 5.887 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.07e-05/0.5411, allocations: 17.7 kB / 1.014 GB, free: 5.863 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.869e-05/0.5412, allocations: 4.062 kB / 1.014 GB, free: 5.859 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.5412, allocations: 4 kB / 1.014 GB, free: 5.855 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.997e-05/0.5412, allocations: 53.28 kB / 1.014 GB, free: 5.801 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.5413, allocations: 8 kB / 1.014 GB, free: 5.793 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.5413, allocations: 0.75 kB / 1.014 GB, free: 5.793 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.728e-06/0.5413, allocations: 0 / 1.014 GB, free: 5.793 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.161e-05/0.5414, allocations: 4 kB / 1.014 GB, free: 5.789 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.5414, allocations: 3.984 kB / 1.014 GB, free: 5.785 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.264e-05/0.5414, allocations: 0 / 1.014 GB, free: 5.785 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.334e-06/0.5414, allocations: 4 kB / 1.014 GB, free: 5.781 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.424e-05/0.5415, allocations: 112.9 kB / 1.014 GB, free: 5.664 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.465e-05/0.5415, allocations: 3.906 kB / 1.014 GB, free: 5.66 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.766e-05/0.5416, allocations: 57.48 kB / 1.014 GB, free: 5.605 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.5416, allocations: 0 / 1.014 GB, free: 5.605 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.5416, allocations: 0 / 1.014 GB, free: 5.605 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.5416, allocations: 0 / 1.014 GB, free: 5.605 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.415e-05/0.5417, allocations: 142.1 kB / 1.015 GB, free: 5.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.192e-06/0.5417, allocations: 3.906 kB / 1.015 GB, free: 5.426 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.951e-05/0.5418, allocations: 7.984 kB / 1.015 GB, free: 5.418 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.5418, allocations: 4.031 kB / 1.015 GB, free: 5.414 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.636e-06/0.5418, allocations: 4 kB / 1.015 GB, free: 5.41 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.5418, allocations: 0 / 1.015 GB, free: 5.41 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.5418, allocations: 1.188 kB / 1.015 GB, free: 5.41 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001042/0.5419, allocations: 79.91 kB / 1.015 GB, free: 5.32 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.082e-05/0.542, allocations: 81.14 kB / 1.015 GB, free: 5.223 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.414e-05/0.542, allocations: 3.984 kB / 1.015 GB, free: 5.219 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.195e-05/0.542, allocations: 4.094 kB / 1.015 GB, free: 5.215 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.718e-06/0.542, allocations: 0 / 1.015 GB, free: 5.215 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.364e-06/0.542, allocations: 0 / 1.015 GB, free: 5.215 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.128e-05/0.5421, allocations: 86.97 kB / 1.015 GB, free: 5.133 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001698/0.5423, allocations: 7.906 kB / 1.015 GB, free: 5.125 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0001126/0.5424, allocations: 103.2 kB / 1.015 GB, free: 5.012 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 6.151e-05/0.5424, allocations: 12 kB / 1.015 GB, free: 5 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.5424, allocations: 128 / 1.015 GB, free: 5 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.401e-05/0.5425, allocations: 11.98 kB / 1.015 GB, free: 4.988 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.808e-05/0.5426, allocations: 7.188 kB / 1.015 GB, free: 4.984 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001925/0.5428, allocations: 72.12 kB / 1.015 GB, free: 4.891 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002163/0.543, allocations: 0.688 MB / 1.016 GB, free: 4.176 MB / 0.6355 GB Notification: Performance of SimCode: time 2.4e-07/0.543, allocations: 0 / 1.016 GB, free: 4.176 MB / 0.6355 GB Notification: Performance of Templates: time 0.001655/0.5447, allocations: 282.3 kB / 1.016 GB, free: 3.91 MB / 0.6355 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example5.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example5.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example5.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example5.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example5.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example5_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Examples_Performance_Example5.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches