Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.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.EpsilonNTUZ,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ntu.1.|ntu.2.|ntu.3.|ntu.4.|ntu.5.|ntu.6.",fileNamePrefix="Buildings_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 2.06/2.06, allocations: 387.2 MB / 394.5 MB, free: 13.65 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.001128/0.001128, allocations: 180.7 kB / 487 MB, free: 5.379 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.56/1.56, allocations: 221.3 MB / 0.7819 GB, free: 1.41 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.0009707/0.0009705, allocations: 85.94 kB / 0.9213 GB, free: 2.668 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.023e-05/1.025e-05, allocations: 4 kB / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3378/0.3378, allocations: 142.3 MB / 1.205 GB, free: 26.26 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8249/1.163, allocations: 151 MB / 1.353 GB, free: 15.86 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002937/1.163, allocations: 86.91 kB / 1.353 GB, free: 15.86 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.04499/1.208, allocations: 14.49 MB / 1.367 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 9.748e-06/1.208, allocations: 7.938 kB / 1.367 GB, free: 10.38 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0007262/1.209, allocations: 440.7 kB / 1.367 GB, free: 9.91 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/1.209, allocations: 9.031 kB / 1.367 GB, free: 9.902 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.404e-05/1.209, allocations: 15.81 kB / 1.367 GB, free: 9.887 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.309e-05/1.209, allocations: 170.9 kB / 1.368 GB, free: 9.68 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.23e-05/1.209, allocations: 8 kB / 1.368 GB, free: 9.672 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.42e-05/1.209, allocations: 8 kB / 1.368 GB, free: 9.664 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002788/1.209, allocations: 164.2 kB / 1.368 GB, free: 9.531 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002187/1.21, allocations: 203 kB / 1.368 GB, free: 9.336 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/1.21, allocations: 0 / 1.368 GB, free: 9.336 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.922e-05/1.21, allocations: 4 kB / 1.368 GB, free: 9.332 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.291e-06/1.21, allocations: 4 kB / 1.368 GB, free: 9.328 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002356/1.21, allocations: 251.2 kB / 1.368 GB, free: 9.055 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005691/1.21, allocations: 389.7 kB / 1.368 GB, free: 8.676 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001727/1.211, allocations: 172.4 kB / 1.369 GB, free: 8.527 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002927/1.211, allocations: 193.1 kB / 1.369 GB, free: 8.309 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.771e-05/1.211, allocations: 41.94 kB / 1.369 GB, free: 8.262 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=30): time 1.884e-06/1.211, allocations: 0.6562 kB / 1.369 GB, free: 8.262 MB / 0.8073 GB Notification: Performance of matching and sorting (n=30): time 0.0005663/1.212, allocations: 280.9 kB / 1.369 GB, free: 8.027 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.73e-05/1.212, allocations: 191.9 kB / 1.369 GB, free: 7.797 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.829e-05/1.212, allocations: 85 kB / 1.369 GB, free: 7.707 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.773e-05/1.212, allocations: 25.7 kB / 1.369 GB, free: 7.676 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 1.208e-05/1.212, allocations: 80.64 kB / 1.37 GB, free: 7.594 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 7.425e-05/1.212, allocations: 100.8 kB / 1.37 GB, free: 7.508 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.148e-05/1.212, allocations: 3.938 kB / 1.37 GB, free: 7.504 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 5.896e-05/1.212, allocations: 322.8 kB / 1.37 GB, free: 7.184 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001064/1.212, allocations: 82.2 kB / 1.37 GB, free: 7.121 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001212/1.212, allocations: 136.6 kB / 1.37 GB, free: 6.992 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002723/1.212, allocations: 113.5 kB / 1.37 GB, free: 6.902 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/1.212, allocations: 0 / 1.37 GB, free: 6.902 MB / 0.8073 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004633/1.213, allocations: 275.9 kB / 1.371 GB, free: 6.672 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/1.213, allocations: 7.906 kB / 1.371 GB, free: 6.664 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/1.213, allocations: 7.984 kB / 1.371 GB, free: 6.656 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/1.213, allocations: 4 kB / 1.371 GB, free: 6.652 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002378/1.213, allocations: 59.84 kB / 1.371 GB, free: 6.594 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/1.213, allocations: 0 / 1.371 GB, free: 6.594 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.759e-05/1.213, allocations: 11.84 kB / 1.371 GB, free: 6.582 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.415e-05/1.213, allocations: 15.55 kB / 1.371 GB, free: 6.57 MB / 0.8073 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.663e-05/1.213, allocations: 108.9 kB / 1.371 GB, free: 6.457 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.119e-05/1.213, allocations: 11.81 kB / 1.371 GB, free: 6.445 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000659/1.214, allocations: 360.6 kB / 1.371 GB, free: 6.152 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/1.214, allocations: 8 kB / 1.371 GB, free: 6.145 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/1.214, allocations: 0 / 1.371 GB, free: 6.145 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.626e-06/1.214, allocations: 8.469 kB / 1.371 GB, free: 6.137 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001832/1.214, allocations: 221.2 kB / 1.371 GB, free: 5.906 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.674e-06/1.214, allocations: 0 / 1.371 GB, free: 5.906 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002291/1.215, allocations: 63.89 kB / 1.371 GB, free: 5.844 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/1.215, allocations: 0 / 1.371 GB, free: 5.844 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.361e-05/1.215, allocations: 15.86 kB / 1.371 GB, free: 5.832 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/1.215, allocations: 3.938 kB / 1.371 GB, free: 5.828 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/1.215, allocations: 4 kB / 1.371 GB, free: 5.824 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005192/1.215, allocations: 390.1 kB / 1.372 GB, free: 5.43 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.925e-05/1.215, allocations: 92.95 kB / 1.372 GB, free: 5.32 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.096e-05/1.215, allocations: 0 / 1.372 GB, free: 5.32 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.617e-05/1.215, allocations: 7.984 kB / 1.372 GB, free: 5.312 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.336e-05/1.215, allocations: 26.81 kB / 1.372 GB, free: 5.289 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.885e-05/1.215, allocations: 11.94 kB / 1.372 GB, free: 5.281 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.545e-05/1.215, allocations: 75.28 kB / 1.372 GB, free: 5.207 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0005964/1.216, allocations: 103.9 kB / 1.372 GB, free: 5.105 MB / 0.8073 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.0005574/1.217, allocations: 220.6 kB / 1.372 GB, free: 4.895 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0003095/1.217, allocations: 231.5 kB / 1.372 GB, free: 4.715 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/1.217, allocations: 0 / 1.372 GB, free: 4.715 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0001347/1.217, allocations: 136.4 kB / 1.373 GB, free: 4.609 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001256/1.217, allocations: 18.67 kB / 1.373 GB, free: 4.594 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004722/1.218, allocations: 288.1 kB / 1.373 GB, free: 4.309 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002316/1.218, allocations: 0.7539 MB / 1.374 GB, free: 3.527 MB / 0.8073 GB Notification: Performance of SimCode: time 2.3e-07/1.218, allocations: 0 / 1.374 GB, free: 3.527 MB / 0.8073 GB Notification: Performance of Templates: time 0.005375/1.223, allocations: 3.127 MB / 1.377 GB, free: 432 kB / 0.8073 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ.csv","../files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches