Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.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.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ntu.1.|ntu.2.|ntu.3.|ntu.4.|ntu.5.|ntu.6.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ntu.1.|ntu.2.|ntu.3.|ntu.4.|ntu.5.|ntu.6.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ") [: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.211/1.211, allocations: 249.4 MB / 256.7 MB, free: 7.066 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.001004/0.001004, allocations: 177.3 kB / 316 MB, free: 3.559 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.089/1.089, allocations: 205.1 MB / 0.5667 GB, free: 15.68 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.0007896/0.0007896, allocations: 90.19 kB / 0.671 GB, free: 4.805 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.263e-06/7.284e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1415/0.1415, allocations: 106.3 MB / 0.8846 GB, free: 12.64 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3965/0.5381, allocations: 134.5 MB / 1.016 GB, free: 4.469 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000173/0.5383, allocations: 85.7 kB / 1.016 GB, free: 4.422 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.03989/0.5782, allocations: 14.38 MB / 1.03 GB, free: 8.488 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 6.842e-06/0.5782, allocations: 0 / 1.03 GB, free: 8.488 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0005977/0.5788, allocations: 440.3 kB / 1.03 GB, free: 8.02 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.257e-05/0.5788, allocations: 8.031 kB / 1.03 GB, free: 8.012 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.928e-05/0.5789, allocations: 7.906 kB / 1.03 GB, free: 8.004 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.131e-05/0.579, allocations: 174.9 kB / 1.031 GB, free: 7.793 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.387e-05/0.579, allocations: 4 kB / 1.031 GB, free: 7.789 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.144e-05/0.579, allocations: 11.91 kB / 1.031 GB, free: 7.777 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002704/0.5793, allocations: 167.4 kB / 1.031 GB, free: 7.645 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000235/0.5796, allocations: 205.8 kB / 1.031 GB, free: 7.445 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.5796, allocations: 0 / 1.031 GB, free: 7.445 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.546e-05/0.5796, allocations: 0 / 1.031 GB, free: 7.445 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.5796, allocations: 4 kB / 1.031 GB, free: 7.441 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002699/0.5799, allocations: 244.8 kB / 1.031 GB, free: 7.168 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005845/0.5805, allocations: 388 kB / 1.032 GB, free: 6.789 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001858/0.5807, allocations: 180.5 kB / 1.032 GB, free: 6.633 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002414/0.5809, allocations: 189.8 kB / 1.032 GB, free: 6.414 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.177e-05/0.581, allocations: 45.88 kB / 1.032 GB, free: 6.363 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=30): time 1.332e-06/0.581, allocations: 4 kB / 1.032 GB, free: 6.359 MB / 0.6511 GB Notification: Performance of matching and sorting (n=30): time 0.0005545/0.5815, allocations: 262.6 kB / 1.032 GB, free: 6.141 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.773e-05/0.5816, allocations: 191.8 kB / 1.032 GB, free: 5.914 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.195e-05/0.5816, allocations: 85 kB / 1.033 GB, free: 5.824 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.048e-05/0.5817, allocations: 33.64 kB / 1.033 GB, free: 5.785 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 2.033e-05/0.5817, allocations: 84.64 kB / 1.033 GB, free: 5.699 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 7.34e-05/0.5818, allocations: 97.05 kB / 1.033 GB, free: 5.613 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.062e-05/0.5818, allocations: 0 / 1.033 GB, free: 5.613 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 9.817e-05/0.5819, allocations: 322.6 kB / 1.033 GB, free: 5.293 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001062/0.582, allocations: 85.69 kB / 1.033 GB, free: 5.223 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001395/0.5821, allocations: 131.7 kB / 1.033 GB, free: 5.102 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000275/0.5824, allocations: 116.8 kB / 1.033 GB, free: 5.008 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.5824, allocations: 0 / 1.033 GB, free: 5.008 MB / 0.6511 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004872/0.5829, allocations: 275 kB / 1.034 GB, free: 4.777 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 8.557e-06/0.5829, allocations: 4 kB / 1.034 GB, free: 4.773 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.583, allocations: 0 / 1.034 GB, free: 4.773 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.583, allocations: 4 kB / 1.034 GB, free: 4.77 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002463/0.5832, allocations: 63.08 kB / 1.034 GB, free: 4.711 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.5832, allocations: 3.984 kB / 1.034 GB, free: 4.707 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.716e-05/0.5833, allocations: 23.62 kB / 1.034 GB, free: 4.684 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.313e-05/0.5834, allocations: 19.3 kB / 1.034 GB, free: 4.668 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 30 * 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.829e-05/0.5834, allocations: 108.9 kB / 1.034 GB, free: 4.555 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.718e-05/0.5835, allocations: 7.906 kB / 1.034 GB, free: 4.547 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006331/0.5841, allocations: 360.5 kB / 1.034 GB, free: 4.254 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.5841, allocations: 4 kB / 1.034 GB, free: 4.25 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.5841, allocations: 4 kB / 1.034 GB, free: 4.246 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.5842, allocations: 3.984 kB / 1.034 GB, free: 4.242 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001901/0.5843, allocations: 224.5 kB / 1.034 GB, free: 4 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.5844, allocations: 4 kB / 1.034 GB, free: 3.996 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002381/0.5846, allocations: 59.89 kB / 1.034 GB, free: 3.938 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.5846, allocations: 0 / 1.034 GB, free: 3.938 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.99e-05/0.5846, allocations: 7.25 kB / 1.034 GB, free: 3.934 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.5846, allocations: 7.938 kB / 1.034 GB, free: 3.926 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.5846, allocations: 4 kB / 1.034 GB, free: 3.922 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005211/0.5852, allocations: 393 kB / 1.035 GB, free: 3.527 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.294e-05/0.5852, allocations: 92.86 kB / 1.035 GB, free: 3.418 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.028e-05/0.5853, allocations: 4 kB / 1.035 GB, free: 3.414 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001091/0.5854, allocations: 4.375 kB / 1.035 GB, free: 3.41 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.084e-05/0.5854, allocations: 27.72 kB / 1.035 GB, free: 3.387 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.128e-05/0.5855, allocations: 11.98 kB / 1.035 GB, free: 3.375 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.38e-05/0.5855, allocations: 79.22 kB / 1.035 GB, free: 3.297 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003939/0.5859, allocations: 107.7 kB / 1.035 GB, free: 3.195 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 30 * 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.0004553/0.5864, allocations: 218.3 kB / 1.035 GB, free: 2.984 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003156/0.5867, allocations: 233.6 kB / 1.036 GB, free: 2.801 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.5867, allocations: 0 / 1.036 GB, free: 2.801 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.000148/0.5868, allocations: 138.4 kB / 1.036 GB, free: 2.691 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001082/0.587, allocations: 11.84 kB / 1.036 GB, free: 2.68 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004687/0.5874, allocations: 290 kB / 1.036 GB, free: 2.387 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000328/0.5878, allocations: 0.7543 MB / 1.037 GB, free: 1.605 MB / 0.6511 GB Notification: Performance of SimCode: time 2e-07/0.5878, allocations: 0 / 1.037 GB, free: 1.605 MB / 0.6511 GB Notification: Performance of Templates: time 0.005314/0.5931, allocations: 3.124 MB / 1.04 GB, free: 14.49 MB / 0.6667 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches