Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.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.Sensors.Examples.MoistAirEnthalpyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senM_flow.m_flow|senH.h_out|senH_flow.H_flow|senHSen_flow.H_flow|senHLat_flow.H_flow|pro.y|add.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senM_flow.m_flow|senH.h_out|senH_flow.H_flow|senHSen_flow.H_flow|senHLat_flow.H_flow|pro.y|add.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate") [: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.192/1.192, allocations: 249.4 MB / 256.7 MB, free: 6.961 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.0009884/0.0009884, allocations: 184.7 kB / 316 MB, free: 3.523 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.108/1.108, allocations: 205.1 MB / 0.5667 GB, free: 15.57 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.001/0.001, allocations: 83.33 kB / 0.671 GB, free: 4.703 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.755e-06/7.774e-06, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1567/0.1567, allocations: 106.3 MB / 0.8846 GB, free: 12.61 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.713/3.869, allocations: 2.228 GB / 3.113 GB, free: 171.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002558/3.87, allocations: 91.83 kB / 3.113 GB, free: 171.2 MB / 0.8698 GB Notification: Performance of FrontEnd: time 0.9773/4.847, allocations: 424.8 MB / 3.528 GB, free: 86.33 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 3.186e-05/4.847, allocations: 16 kB / 3.528 GB, free: 86.31 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001382/4.848, allocations: 0.8449 MB / 3.528 GB, free: 85.42 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.358e-05/4.848, allocations: 12.03 kB / 3.529 GB, free: 85.41 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009619/4.849, allocations: 167.2 kB / 3.529 GB, free: 85.25 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001242/4.851, allocations: 0.6906 MB / 3.529 GB, free: 84.52 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.631e-05/4.851, allocations: 16 kB / 3.529 GB, free: 84.5 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.78e-05/4.851, allocations: 28 kB / 3.529 GB, free: 84.47 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004416/4.851, allocations: 297.4 kB / 3.53 GB, free: 84.18 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004198/4.852, allocations: 302.1 kB / 3.53 GB, free: 83.88 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.439e-05/4.852, allocations: 4 kB / 3.53 GB, free: 83.88 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.821e-05/4.852, allocations: 3.984 kB / 3.53 GB, free: 83.87 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.646e-06/4.852, allocations: 11.94 kB / 3.53 GB, free: 83.86 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001363/4.853, allocations: 1.316 MB / 3.531 GB, free: 82.44 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002728/4.853, allocations: 239.1 kB / 3.531 GB, free: 82.2 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001552/4.853, allocations: 145.4 kB / 3.532 GB, free: 82.05 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004421/4.854, allocations: 315.5 kB / 3.532 GB, free: 81.69 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.733e-05/4.854, allocations: 38.78 kB / 3.532 GB, free: 81.64 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=33): time 1.623e-06/4.854, allocations: 0 / 3.532 GB, free: 81.64 MB / 0.8698 GB Notification: Performance of matching and sorting (n=33): time 0.001044/4.855, allocations: 499.4 kB / 3.532 GB, free: 81.15 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.219e-05/4.855, allocations: 59.41 kB / 3.532 GB, free: 81.08 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001675/4.855, allocations: 211.6 kB / 3.533 GB, free: 80.87 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.332e-05/4.855, allocations: 25.7 kB / 3.533 GB, free: 80.84 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.67e-05/4.855, allocations: 184.4 kB / 3.533 GB, free: 80.65 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 6.073e-05/4.855, allocations: 110.3 kB / 3.533 GB, free: 80.54 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.464e-05/4.855, allocations: 0 / 3.533 GB, free: 80.54 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 5.949e-05/4.855, allocations: 347.2 kB / 3.533 GB, free: 80.2 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001373/4.856, allocations: 108.9 kB / 3.533 GB, free: 80.09 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001679/4.856, allocations: 168.6 kB / 3.534 GB, free: 79.91 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005665/4.856, allocations: 287.6 kB / 3.534 GB, free: 79.62 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/4.856, allocations: 0 / 3.534 GB, free: 79.62 MB / 0.8698 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007797/4.857, allocations: 492.5 kB / 3.534 GB, free: 79.14 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.101e-05/4.857, allocations: 4 kB / 3.534 GB, free: 79.13 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/4.857, allocations: 3.938 kB / 3.534 GB, free: 79.13 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/4.857, allocations: 8 kB / 3.534 GB, free: 79.12 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003068/4.858, allocations: 67.91 kB / 3.534 GB, free: 79.05 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/4.858, allocations: 4 kB / 3.534 GB, free: 79.05 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002479/4.858, allocations: 43.75 kB / 3.534 GB, free: 79.01 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.855e-05/4.858, allocations: 12 kB / 3.534 GB, free: 79 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 37 * 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.785e-05/4.858, allocations: 112.8 kB / 3.535 GB, free: 78.88 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.019e-05/4.858, allocations: 31.62 kB / 3.535 GB, free: 78.85 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009216/4.859, allocations: 0.5278 MB / 3.535 GB, free: 78.31 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/4.859, allocations: 7.906 kB / 3.535 GB, free: 78.3 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/4.859, allocations: 0 / 3.535 GB, free: 78.3 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/4.859, allocations: 4 kB / 3.535 GB, free: 78.3 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001446/4.86, allocations: 1.071 MB / 3.536 GB, free: 77.16 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/4.86, allocations: 0 / 3.536 GB, free: 77.16 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003204/4.861, allocations: 67.91 kB / 3.536 GB, free: 77.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/4.861, allocations: 4 kB / 3.536 GB, free: 77.09 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.356e-05/4.861, allocations: 4 kB / 3.536 GB, free: 77.09 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/4.861, allocations: 4.219 kB / 3.536 GB, free: 77.09 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/4.861, allocations: 8 kB / 3.536 GB, free: 77.08 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001018/4.862, allocations: 0.8721 MB / 3.537 GB, free: 76.12 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001079/4.862, allocations: 144.5 kB / 3.537 GB, free: 75.96 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.876e-05/4.862, allocations: 11.94 kB / 3.537 GB, free: 75.95 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002578/4.862, allocations: 23.97 kB / 3.537 GB, free: 75.93 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.881e-05/4.862, allocations: 23.97 kB / 3.537 GB, free: 75.91 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.884e-05/4.862, allocations: 12 kB / 3.537 GB, free: 75.89 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0001018/4.862, allocations: 171.1 kB / 3.537 GB, free: 75.73 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0006743/4.863, allocations: 227.6 kB / 3.538 GB, free: 75.51 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (senH_flow.h_out,senH.h_out,senHLat_flow.h_out,senHSen_flow.h_out) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 33 * 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.001597/4.865, allocations: 1.724 MB / 3.539 GB, free: 73.71 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0003683/4.865, allocations: 275.8 kB / 3.54 GB, free: 73.45 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/4.865, allocations: 0 / 3.54 GB, free: 73.45 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001781/4.865, allocations: 155.8 kB / 3.54 GB, free: 73.29 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005999/4.866, allocations: 117.7 kB / 3.54 GB, free: 73.18 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001081/4.867, allocations: 0.7718 MB / 3.541 GB, free: 72.36 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003264/4.867, allocations: 0.8928 MB / 3.542 GB, free: 71.44 MB / 0.8698 GB Notification: Performance of SimCode: time 2.9e-07/4.867, allocations: 0 / 3.542 GB, free: 71.44 MB / 0.8698 GB Notification: Performance of Templates: time 0.01827/4.886, allocations: 14.5 MB / 3.556 GB, free: 57.02 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,senM_flow.m_flow,senH.h_out,senH_flow.H_flow,senHSen_flow.H_flow,senHLat_flow.H_flow,pro.y,add.y Variables in the result:add.k1,add.k2,add.u1,add.u2,add.y,pro.u2,pro.y,ramp.duration,ramp.height,ramp.offset,ramp.startTime,senH.allowFlowReversal,senH.dynamic,senH.h_out,senH.h_out_start,senH.initType,senH.m_flow_nominal,senH.m_flow_small,senH.tau,senH.tauInv,senHLat_flow.H_flow,senHLat_flow.allowFlowReversal,senHLat_flow.dynamic,senHLat_flow.h_out_start,senHLat_flow.i_x,senHLat_flow.initType,senHLat_flow.m_flow_nominal,senHLat_flow.m_flow_small,senHLat_flow.tau,senHLat_flow.tauInv,senHSen_flow.H_flow,senHSen_flow.allowFlowReversal,senHSen_flow.dynamic,senHSen_flow.h_out_start,senHSen_flow.i_x,senHSen_flow.initType,senHSen_flow.m_flow_nominal,senHSen_flow.m_flow_small,senHSen_flow.tau,senHSen_flow.tauInv,senH_flow.H_flow,senH_flow.allowFlowReversal,senH_flow.dynamic,senH_flow.h_out_start,senH_flow.initType,senH_flow.m_flow_nominal,senH_flow.m_flow_small,senH_flow.tau,senH_flow.tauInv,senM_flow.allowFlowReversal,senM_flow.m_flow,senM_flow.m_flow_nominal,senM_flow.m_flow_small,sin.T,sin.X[1],sin.X[2],sin.flowDirection,sin.nPorts,sin.p,sin.verifyInputs,sou.T,sou.X[1],sou.X[2],sou.flowDirection,sou.m_flow,sou.nPorts,sou.verifyInputs,time