Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.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.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senM_flow.m_flow|senH.h_out|senH_flow.H_flow|cheEqu.y",fileNamePrefix="Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senM_flow.m_flow|senH.h_out|senH_flow.H_flow|cheEqu.y",fileNamePrefix="Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate") [: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.048/2.048, allocations: 387.2 MB / 394.5 MB, free: 13.64 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.00141/0.00141, allocations: 173.3 kB / 487 MB, free: 5.359 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.404/1.404, allocations: 221.3 MB / 0.7819 GB, free: 1.332 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.001028/0.001028, allocations: 100.8 kB / 0.9213 GB, free: 2.57 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 9.177e-06/9.298e-06, allocations: 4 kB / 1.066 GB, free: 168.1 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.298/0.298, allocations: 142.3 MB / 1.205 GB, free: 26.12 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.855/5.153, allocations: 1.867 GB / 3.072 GB, free: 369.6 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002669/5.153, allocations: 84.3 kB / 3.072 GB, free: 369.6 MB / 1.151 GB Notification: Performance of FrontEnd: time 0.5624/5.716, allocations: 300.2 MB / 3.365 GB, free: 116.8 MB / 1.151 GB Notification: Performance of Transformations before backend: time 3.032e-05/5.716, allocations: 12 kB / 3.365 GB, free: 116.8 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001354/5.717, allocations: 0.6501 MB / 3.366 GB, free: 116.1 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.971e-05/5.717, allocations: 8.031 kB / 3.366 GB, free: 116.1 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003651/5.718, allocations: 71.58 kB / 3.366 GB, free: 116 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004948/5.718, allocations: 314 kB / 3.366 GB, free: 115.6 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.931e-05/5.718, allocations: 8 kB / 3.366 GB, free: 115.6 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.75e-05/5.718, allocations: 19.91 kB / 3.366 GB, free: 115.6 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002703/5.718, allocations: 145.3 kB / 3.366 GB, free: 115.5 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003729/5.719, allocations: 271.6 kB / 3.366 GB, free: 115.2 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.856e-05/5.719, allocations: 3.984 kB / 3.366 GB, free: 115.2 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.451e-05/5.719, allocations: 0 / 3.366 GB, free: 115.2 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.287e-05/5.719, allocations: 8 kB / 3.366 GB, free: 115.2 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001399/5.72, allocations: 1.469 MB / 3.368 GB, free: 113.6 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001612/5.72, allocations: 90.55 kB / 3.368 GB, free: 113.5 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.418e-05/5.721, allocations: 64.84 kB / 3.368 GB, free: 113.4 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005924/5.721, allocations: 307.2 kB / 3.368 GB, free: 113.1 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.402e-05/5.721, allocations: 34.56 kB / 3.368 GB, free: 113 MB / 1.151 GB Notification: Performance of pre-optimization done (n=13): time 1.904e-06/5.721, allocations: 0 / 3.368 GB, free: 113 MB / 1.151 GB Notification: Performance of matching and sorting (n=13): time 0.0006147/5.722, allocations: 209.2 kB / 3.369 GB, free: 112.8 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.23e-05/5.722, allocations: 51.41 kB / 3.369 GB, free: 112.7 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001544/5.722, allocations: 185.1 kB / 3.369 GB, free: 112.5 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 1.916e-05/5.722, allocations: 25.7 kB / 3.369 GB, free: 112.5 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 7.441e-05/5.722, allocations: 175.9 kB / 3.369 GB, free: 112.3 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 2.634e-05/5.722, allocations: 39.45 kB / 3.369 GB, free: 112.3 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.075e-06/5.722, allocations: 3.938 kB / 3.369 GB, free: 112.3 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.491e-05/5.722, allocations: 330.7 kB / 3.369 GB, free: 112 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.179e-05/5.722, allocations: 43.98 kB / 3.369 GB, free: 111.9 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.467e-05/5.722, allocations: 101.8 kB / 3.369 GB, free: 111.8 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001733/5.723, allocations: 95.84 kB / 3.37 GB, free: 111.7 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/5.723, allocations: 0 / 3.37 GB, free: 111.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003067/5.723, allocations: 201.2 kB / 3.37 GB, free: 111.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/5.723, allocations: 8 kB / 3.37 GB, free: 111.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/5.723, allocations: 0 / 3.37 GB, free: 111.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/5.723, allocations: 8.156 kB / 3.37 GB, free: 111.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001812/5.723, allocations: 35.92 kB / 3.37 GB, free: 111.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/5.723, allocations: 3.984 kB / 3.37 GB, free: 111.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001818/5.723, allocations: 31.83 kB / 3.37 GB, free: 111.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.792e-05/5.723, allocations: 12 kB / 3.37 GB, free: 111.4 MB / 1.151 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 (17): * Single equations (assignments): 17 * 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 8.04e-05/5.724, allocations: 116.8 kB / 3.37 GB, free: 111.3 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.296e-05/5.724, allocations: 19.72 kB / 3.37 GB, free: 111.3 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003785/5.724, allocations: 202.7 kB / 3.37 GB, free: 111.1 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.215e-06/5.724, allocations: 0 / 3.37 GB, free: 111.1 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/5.724, allocations: 8.062 kB / 3.37 GB, free: 111.1 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/5.724, allocations: 0 / 3.37 GB, free: 111.1 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000776/5.725, allocations: 0.6293 MB / 3.371 GB, free: 110.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/5.725, allocations: 12.2 kB / 3.371 GB, free: 110.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001377/5.725, allocations: 35.92 kB / 3.371 GB, free: 110.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/5.725, allocations: 0 / 3.371 GB, free: 110.3 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.447e-05/5.725, allocations: 4 kB / 3.371 GB, free: 110.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/5.725, allocations: 7.984 kB / 3.371 GB, free: 110.3 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/5.725, allocations: 0 / 3.371 GB, free: 110.3 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004135/5.725, allocations: 409 kB / 3.371 GB, free: 109.8 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 7.322e-05/5.726, allocations: 112.8 kB / 3.371 GB, free: 109.7 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.609e-05/5.726, allocations: 4 kB / 3.371 GB, free: 109.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001786/5.726, allocations: 23.89 kB / 3.371 GB, free: 109.7 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.049e-05/5.726, allocations: 7.984 kB / 3.371 GB, free: 109.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.024e-05/5.726, allocations: 4 kB / 3.371 GB, free: 109.6 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0001046/5.726, allocations: 153.2 kB / 3.372 GB, free: 109.5 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0006645/5.727, allocations: 159.7 kB / 3.372 GB, free: 109.3 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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.002125/5.729, allocations: 1.364 MB / 3.373 GB, free: 108 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0002644/5.729, allocations: 116.2 kB / 3.373 GB, free: 107.8 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/5.729, allocations: 4.062 kB / 3.373 GB, free: 107.8 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0001003/5.729, allocations: 71.84 kB / 3.373 GB, free: 107.8 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005441/5.73, allocations: 81.69 kB / 3.373 GB, free: 107.7 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007377/5.73, allocations: 350.4 kB / 3.374 GB, free: 107.3 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003985/5.731, allocations: 0.8135 MB / 3.374 GB, free: 106.5 MB / 1.151 GB Notification: Performance of SimCode: time 2.61e-07/5.731, allocations: 0 / 3.374 GB, free: 106.5 MB / 1.151 GB Notification: Performance of Templates: time 0.01587/5.747, allocations: 10.3 MB / 3.384 GB, free: 96.21 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & ./Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate.csv","../files/Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches