Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.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.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_latest_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_latest_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 10.0.0-master/package.mo): time 2.052/2.052, allocations: 390.4 MB / 397.7 MB, free: 11.23 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.001092/0.001091, allocations: 190.2 kB / 490.8 MB, free: 1.91 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.402/1.402, allocations: 221.3 MB / 0.7863 GB, free: 13.75 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.001047/0.001047, allocations: 83.5 kB / 0.9264 GB, free: 14.28 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.01e-05/1.034e-05, allocations: 4 kB / 1.072 GB, free: 164.7 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2716/0.2716, allocations: 143 MB / 1.212 GB, free: 21.89 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.307/4.579, allocations: 1.868 GB / 3.079 GB, free: 428.5 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003237/4.579, allocations: 87.38 kB / 3.079 GB, free: 428.5 MB / 1.151 GB Notification: Performance of FrontEnd: time 0.5631/5.142, allocations: 300.2 MB / 3.372 GB, free: 133.2 MB / 1.151 GB Notification: Performance of Transformations before backend: time 3.45e-05/5.142, allocations: 15.98 kB / 3.372 GB, free: 133.2 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.001204/5.143, allocations: 0.6465 MB / 3.373 GB, free: 132.5 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/5.143, allocations: 8.031 kB / 3.373 GB, free: 132.5 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000372/5.144, allocations: 63.58 kB / 3.373 GB, free: 132.4 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004917/5.144, allocations: 318 kB / 3.373 GB, free: 132.1 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.991e-05/5.144, allocations: 8 kB / 3.373 GB, free: 132.1 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.007e-05/5.144, allocations: 16 kB / 3.373 GB, free: 132.1 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002957/5.145, allocations: 145.3 kB / 3.374 GB, free: 131.9 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003564/5.145, allocations: 267.5 kB / 3.374 GB, free: 131.6 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.534e-05/5.145, allocations: 0 / 3.374 GB, free: 131.6 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.324e-05/5.145, allocations: 7.938 kB / 3.374 GB, free: 131.6 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.897e-06/5.145, allocations: 4 kB / 3.374 GB, free: 131.6 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001345/5.146, allocations: 1.484 MB / 3.375 GB, free: 130 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001442/5.147, allocations: 90.48 kB / 3.375 GB, free: 129.9 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.608e-05/5.147, allocations: 68.78 kB / 3.375 GB, free: 129.8 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004748/5.147, allocations: 307.2 kB / 3.376 GB, free: 129.5 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.263e-05/5.147, allocations: 38.55 kB / 3.376 GB, free: 129.4 MB / 1.151 GB Notification: Performance of pre-optimization done (n=13): time 1.713e-06/5.147, allocations: 0 / 3.376 GB, free: 129.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=13): time 0.0005909/5.148, allocations: 205.3 kB / 3.376 GB, free: 129.2 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.827e-05/5.148, allocations: 51.41 kB / 3.376 GB, free: 129.2 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001452/5.148, allocations: 189.1 kB / 3.376 GB, free: 129 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 1.789e-05/5.148, allocations: 25.7 kB / 3.376 GB, free: 129 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 6.518e-05/5.148, allocations: 168 kB / 3.376 GB, free: 128.8 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 2.648e-05/5.148, allocations: 47.36 kB / 3.376 GB, free: 128.7 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.214e-06/5.148, allocations: 4 kB / 3.376 GB, free: 128.7 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 5.241e-05/5.148, allocations: 326.8 kB / 3.377 GB, free: 128.4 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.997e-05/5.148, allocations: 39.98 kB / 3.377 GB, free: 128.4 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.765e-05/5.148, allocations: 106.7 kB / 3.377 GB, free: 128.2 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001761/5.149, allocations: 91.91 kB / 3.377 GB, free: 128.2 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/5.149, allocations: 0 / 3.377 GB, free: 128.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003147/5.149, allocations: 205.2 kB / 3.377 GB, free: 127.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/5.149, allocations: 11.19 kB / 3.377 GB, free: 127.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/5.149, allocations: 160 / 3.377 GB, free: 127.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/5.149, allocations: 8.062 kB / 3.377 GB, free: 127.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001802/5.149, allocations: 39.98 kB / 3.377 GB, free: 127.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/5.149, allocations: 7.938 kB / 3.377 GB, free: 127.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001891/5.149, allocations: 31.81 kB / 3.377 GB, free: 127.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.237e-05/5.149, allocations: 8 kB / 3.377 GB, free: 127.8 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 6.267e-05/5.149, allocations: 105.7 kB / 3.377 GB, free: 127.7 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.386e-05/5.15, allocations: 19.72 kB / 3.377 GB, free: 127.7 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003579/5.15, allocations: 203.5 kB / 3.378 GB, free: 127.5 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/5.15, allocations: 7.984 kB / 3.378 GB, free: 127.5 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/5.15, allocations: 0 / 3.378 GB, free: 127.5 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/5.15, allocations: 4 kB / 3.378 GB, free: 127.5 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007599/5.151, allocations: 0.6178 MB / 3.378 GB, free: 126.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/5.151, allocations: 8.031 kB / 3.378 GB, free: 126.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001403/5.151, allocations: 35.91 kB / 3.378 GB, free: 126.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/5.151, allocations: 4 kB / 3.378 GB, free: 126.8 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.249e-05/5.151, allocations: 0 / 3.378 GB, free: 126.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.514e-06/5.151, allocations: 4 kB / 3.378 GB, free: 126.8 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/5.151, allocations: 4 kB / 3.378 GB, free: 126.8 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003404/5.151, allocations: 411.4 kB / 3.379 GB, free: 126.3 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 7.685e-05/5.151, allocations: 108.9 kB / 3.379 GB, free: 126.2 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.45e-05/5.151, allocations: 11.94 kB / 3.379 GB, free: 126.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001835/5.152, allocations: 19.98 kB / 3.379 GB, free: 126.1 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.113e-05/5.152, allocations: 15.89 kB / 3.379 GB, free: 126.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.06e-05/5.152, allocations: 8 kB / 3.379 GB, free: 126.1 MB / 1.151 GB Notification: Performance of sort global known variables: time 9.175e-05/5.152, allocations: 145.2 kB / 3.379 GB, free: 126 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0005791/5.152, allocations: 171.6 kB / 3.379 GB, free: 125.8 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.001714/5.154, allocations: 1.347 MB / 3.38 GB, free: 124.4 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0002167/5.154, allocations: 127.8 kB / 3.381 GB, free: 124.3 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/5.154, allocations: 0 / 3.381 GB, free: 124.3 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 8.71e-05/5.154, allocations: 63.91 kB / 3.381 GB, free: 124.2 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000484/5.155, allocations: 88.22 kB / 3.381 GB, free: 124.1 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006126/5.155, allocations: 346.6 kB / 3.381 GB, free: 123.8 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002584/5.156, allocations: 0.8175 MB / 3.382 GB, free: 122.9 MB / 1.151 GB Notification: Performance of SimCode: time 2.5e-07/5.156, allocations: 0 / 3.382 GB, free: 122.9 MB / 1.151 GB Notification: Performance of Templates: time 0.01578/5.172, allocations: 10.31 MB / 3.392 GB, free: 112.7 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate.csv","../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches