Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.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.Examples.Performance.Example4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.Example4") translateModel(Buildings.Fluid.Examples.Performance.Example4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.Example4") [: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 2.011/2.011, allocations: 390.4 MB / 397.7 MB, free: 11.22 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.001072/0.001072, allocations: 185.2 kB / 490.8 MB, free: 1.926 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.391/1.391, allocations: 221.3 MB / 0.7863 GB, free: 13.63 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.0009895/0.0009892, allocations: 97.5 kB / 0.9264 GB, free: 14.16 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 6.753e-06/6.783e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2948/0.2948, allocations: 143 MB / 1.212 GB, free: 40.09 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.94/4.235, allocations: 1.951 GB / 3.163 GB, free: 384.5 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002201/4.235, allocations: 84.52 kB / 3.163 GB, free: 384.5 MB / 1.151 GB Notification: Performance of FrontEnd: time 4.483/8.718, allocations: 1.47 GB / 4.633 GB, free: 180.4 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002099/8.719, allocations: 40.72 kB / 4.633 GB, free: 180.4 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.005978/8.725, allocations: 1.908 MB / 4.635 GB, free: 179.1 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/8.725, allocations: 10.41 kB / 4.635 GB, free: 179.1 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003557/8.728, allocations: 0.5397 MB / 4.635 GB, free: 178.9 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003761/8.732, allocations: 1.24 MB / 4.636 GB, free: 178 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009082/8.733, allocations: 260.4 kB / 4.637 GB, free: 178 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003105/8.733, allocations: 60.22 kB / 4.637 GB, free: 178 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001685/8.735, allocations: 0.7347 MB / 4.637 GB, free: 177.6 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001907/8.737, allocations: 1.083 MB / 4.638 GB, free: 176.9 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.673e-05/8.737, allocations: 0 / 4.638 GB, free: 176.9 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001231/8.737, allocations: 3.688 kB / 4.638 GB, free: 176.9 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.064e-05/8.737, allocations: 42.31 kB / 4.638 GB, free: 176.9 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008399/8.746, allocations: 6.601 MB / 4.645 GB, free: 171.1 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007664/8.746, allocations: 463.2 kB / 4.645 GB, free: 170.9 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002605/8.747, allocations: 191.8 kB / 4.646 GB, free: 170.8 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004256/8.747, allocations: 370 kB / 4.646 GB, free: 170.4 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.268e-05/8.747, allocations: 38.38 kB / 4.646 GB, free: 170.3 MB / 1.167 GB Notification: Performance of pre-optimization done (n=33): time 2.555e-06/8.747, allocations: 0 / 4.646 GB, free: 170.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=33): time 0.001516/8.749, allocations: 0.5242 MB / 4.646 GB, free: 170.1 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.459e-05/8.749, allocations: 54.97 kB / 4.647 GB, free: 170 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00144/8.75, allocations: 0.8288 MB / 4.647 GB, free: 169.6 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 7.977e-05/8.75, allocations: 29.2 kB / 4.647 GB, free: 169.5 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003116/8.751, allocations: 0.5136 MB / 4.648 GB, free: 169.1 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 9.935e-05/8.751, allocations: 118.8 kB / 4.648 GB, free: 169 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.189e-05/8.751, allocations: 0 / 4.648 GB, free: 169 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 6.653e-05/8.751, allocations: 336.1 kB / 4.648 GB, free: 168.7 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003266/8.751, allocations: 191.6 kB / 4.648 GB, free: 168.6 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004957/8.752, allocations: 0.5502 MB / 4.649 GB, free: 168 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005287/8.752, allocations: 313.9 kB / 4.649 GB, free: 167.9 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.052e-06/8.752, allocations: 3.125 kB / 4.649 GB, free: 167.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001255/8.753, allocations: 0.7511 MB / 4.65 GB, free: 167.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007242/8.754, allocations: 4.103 MB / 4.654 GB, free: 163.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.852e-05/8.754, allocations: 14.45 kB / 4.654 GB, free: 163.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.749e-05/8.754, allocations: 21.19 kB / 4.654 GB, free: 163.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009898/8.755, allocations: 210.7 kB / 4.654 GB, free: 163.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.489e-05/8.755, allocations: 21.77 kB / 4.654 GB, free: 163.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001438/8.757, allocations: 191.2 kB / 4.654 GB, free: 163 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000103/8.757, allocations: 41.55 kB / 4.655 GB, free: 163 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/8.757, allocations: 4.625 kB / 4.655 GB, free: 163 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001114/8.758, allocations: 0.616 MB / 4.655 GB, free: 162.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.389e-05/8.758, allocations: 9.875 kB / 4.655 GB, free: 162.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/8.758, allocations: 18.52 kB / 4.655 GB, free: 162.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008511/8.759, allocations: 224.3 kB / 4.655 GB, free: 162.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.752e-05/8.759, allocations: 18 kB / 4.655 GB, free: 162.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001182/8.76, allocations: 149.1 kB / 4.656 GB, free: 162.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.601e-05/8.76, allocations: 41.64 kB / 4.656 GB, free: 162.6 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (81): * Single equations (assignments): 81 * 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.0002094/8.76, allocations: 135.3 kB / 4.656 GB, free: 162.5 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002163/8.761, allocations: 119.8 kB / 4.656 GB, free: 162.4 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001047/8.762, allocations: 495.4 kB / 4.656 GB, free: 162.1 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/8.762, allocations: 3.812 kB / 4.656 GB, free: 162.1 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/8.762, allocations: 0 / 4.656 GB, free: 162.1 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.583e-06/8.762, allocations: 3.984 kB / 4.656 GB, free: 162.1 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002847/8.765, allocations: 1.691 MB / 4.658 GB, free: 160.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.212e-06/8.765, allocations: 7.125 kB / 4.658 GB, free: 160.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005542/8.765, allocations: 112.2 kB / 4.658 GB, free: 160.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.042e-05/8.765, allocations: 5.688 kB / 4.658 GB, free: 160.9 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.685e-05/8.765, allocations: 9.734 kB / 4.658 GB, free: 160.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.027e-05/8.765, allocations: 9.562 kB / 4.658 GB, free: 160.9 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.106e-06/8.765, allocations: 11.47 kB / 4.658 GB, free: 160.9 MB / 1.167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008952/8.766, allocations: 0.8401 MB / 4.659 GB, free: 160.1 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004251/8.767, allocations: 258.8 kB / 4.659 GB, free: 159.9 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002518/8.767, allocations: 5.469 kB / 4.659 GB, free: 159.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001012/8.768, allocations: 118 kB / 4.659 GB, free: 159.9 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.816e-05/8.768, allocations: 28.33 kB / 4.659 GB, free: 159.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.088e-05/8.768, allocations: 22.11 kB / 4.659 GB, free: 159.9 MB / 1.167 GB Notification: Performance of sort global known variables: time 0.0008966/8.769, allocations: 0.6244 MB / 4.66 GB, free: 159.5 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.00291/8.772, allocations: 0.8187 MB / 4.661 GB, free: 159.2 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 32 * 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.005285/8.777, allocations: 3.513 MB / 4.664 GB, free: 157.6 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001789/8.779, allocations: 0.8203 MB / 4.665 GB, free: 157.2 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/8.779, allocations: 0.75 kB / 4.665 GB, free: 157.2 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0003261/8.779, allocations: 186.6 kB / 4.665 GB, free: 157.1 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002071/8.781, allocations: 376.2 kB / 4.666 GB, free: 157 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004868/8.786, allocations: 1.685 MB / 4.667 GB, free: 156.1 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001053/8.787, allocations: 1.302 MB / 4.668 GB, free: 155.1 MB / 1.167 GB Notification: Performance of SimCode: time 2.354e-06/8.787, allocations: 0.5938 kB / 4.668 GB, free: 155.1 MB / 1.167 GB Notification: Performance of Templates: time 0.05365/8.841, allocations: 36.5 MB / 4.704 GB, free: 120.6 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.makefile (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.Example4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.Example4_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_Example4.csv","../files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches