Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.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.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_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 2.03/2.03, allocations: 387.2 MB / 394.5 MB, free: 13.62 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.001285/0.001285, allocations: 188.3 kB / 487 MB, free: 5.332 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.488/1.488, allocations: 221.3 MB / 0.7819 GB, free: 1.406 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.001037/0.001037, allocations: 93.33 kB / 0.9213 GB, free: 2.672 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 9.838e-06/9.868e-06, allocations: 4 kB / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2951/0.2951, allocations: 142.3 MB / 1.205 GB, free: 26.23 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.363/4.658, allocations: 1.912 GB / 3.117 GB, free: 411.5 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002272/4.658, allocations: 83.95 kB / 3.117 GB, free: 411.4 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.503/6.161, allocations: 442.4 MB / 3.549 GB, free: 298.1 MB / 1.151 GB Notification: Performance of Transformations before backend: time 4.267e-05/6.161, allocations: 14.3 kB / 3.549 GB, free: 298.1 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001867/6.163, allocations: 0.8446 MB / 3.55 GB, free: 297.8 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/6.163, allocations: 11.78 kB / 3.55 GB, free: 297.8 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001151/6.164, allocations: 163.3 kB / 3.55 GB, free: 297.7 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00149/6.166, allocations: 0.6886 MB / 3.551 GB, free: 297.5 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.218e-05/6.166, allocations: 14.22 kB / 3.551 GB, free: 297.5 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.346e-05/6.166, allocations: 26.06 kB / 3.551 GB, free: 297.5 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004675/6.166, allocations: 256.8 kB / 3.551 GB, free: 297.5 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005335/6.167, allocations: 366 kB / 3.552 GB, free: 297.4 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.579e-05/6.167, allocations: 0 / 3.552 GB, free: 297.4 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.046e-05/6.167, allocations: 0 / 3.552 GB, free: 297.4 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.317e-05/6.167, allocations: 11.47 kB / 3.552 GB, free: 297.4 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002016/6.169, allocations: 1.928 MB / 3.554 GB, free: 296.1 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002654/6.169, allocations: 184 kB / 3.554 GB, free: 296.1 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001491/6.169, allocations: 117.5 kB / 3.554 GB, free: 296.1 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005454/6.17, allocations: 308.5 kB / 3.554 GB, free: 295.8 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.571e-05/6.17, allocations: 40.98 kB / 3.554 GB, free: 295.8 MB / 1.151 GB Notification: Performance of pre-optimization done (n=24): time 3.065e-06/6.17, allocations: 0 / 3.554 GB, free: 295.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=24): time 0.001021/6.171, allocations: 403.4 kB / 3.555 GB, free: 295.7 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.287e-05/6.171, allocations: 55.38 kB / 3.555 GB, free: 295.6 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002403/6.171, allocations: 228.5 kB / 3.555 GB, free: 295.5 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 2.753e-05/6.171, allocations: 28.86 kB / 3.555 GB, free: 295.5 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001434/6.171, allocations: 205.6 kB / 3.555 GB, free: 295.4 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 6.911e-05/6.171, allocations: 82.59 kB / 3.555 GB, free: 295.3 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.289e-05/6.171, allocations: 3.062 kB / 3.555 GB, free: 295.3 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001173/6.172, allocations: 336 kB / 3.556 GB, free: 295 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001293/6.172, allocations: 86.97 kB / 3.556 GB, free: 295 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001976/6.172, allocations: 177.5 kB / 3.556 GB, free: 294.9 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004899/6.172, allocations: 231.5 kB / 3.556 GB, free: 294.9 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/6.172, allocations: 0 / 3.556 GB, free: 294.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007339/6.173, allocations: 410.3 kB / 3.556 GB, free: 294.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/6.173, allocations: 10.88 kB / 3.556 GB, free: 294.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/6.173, allocations: 0 / 3.556 GB, free: 294.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.542e-05/6.173, allocations: 5.125 kB / 3.556 GB, free: 294.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003034/6.174, allocations: 60.72 kB / 3.557 GB, free: 294.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.65e-05/6.174, allocations: 3.875 kB / 3.557 GB, free: 294.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002975/6.174, allocations: 43.75 kB / 3.557 GB, free: 294.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.966e-05/6.174, allocations: 14.22 kB / 3.557 GB, free: 294.9 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (31): * Single equations (assignments): 31 * 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 0.0001048/6.174, allocations: 118.6 kB / 3.557 GB, free: 294.8 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.916e-05/6.174, allocations: 37.81 kB / 3.557 GB, free: 294.8 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008313/6.175, allocations: 427 kB / 3.557 GB, free: 294.7 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/6.175, allocations: 0 / 3.557 GB, free: 294.7 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/6.175, allocations: 3.375 kB / 3.557 GB, free: 294.7 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.166e-06/6.175, allocations: 3.906 kB / 3.557 GB, free: 294.7 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001452/6.177, allocations: 0.9307 MB / 3.558 GB, free: 294.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/6.177, allocations: 2.969 kB / 3.558 GB, free: 294.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000266/6.177, allocations: 60.58 kB / 3.558 GB, free: 294.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.452e-06/6.177, allocations: 10.62 kB / 3.558 GB, free: 294.4 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.356e-05/6.177, allocations: 3.219 kB / 3.558 GB, free: 294.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.979e-06/6.177, allocations: 6.062 kB / 3.558 GB, free: 294.4 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/6.177, allocations: 0 / 3.558 GB, free: 294.4 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001033/6.178, allocations: 0.7384 MB / 3.559 GB, free: 294 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001273/6.178, allocations: 137.6 kB / 3.559 GB, free: 293.9 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.197e-05/6.178, allocations: 3.594 kB / 3.559 GB, free: 293.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002521/6.178, allocations: 24.42 kB / 3.559 GB, free: 293.9 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.67e-05/6.178, allocations: 18.66 kB / 3.559 GB, free: 293.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.954e-05/6.178, allocations: 15.12 kB / 3.559 GB, free: 293.9 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.000154/6.179, allocations: 181.1 kB / 3.559 GB, free: 293.9 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0009536/6.18, allocations: 220 kB / 3.559 GB, free: 293.8 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (senH.h_out) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 24 * 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.002585/6.182, allocations: 1.724 MB / 3.561 GB, free: 293.4 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0004225/6.183, allocations: 232.1 kB / 3.561 GB, free: 293.4 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/6.183, allocations: 0 / 3.561 GB, free: 293.4 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0001748/6.183, allocations: 130.2 kB / 3.561 GB, free: 293.4 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006792/6.184, allocations: 114 kB / 3.562 GB, free: 293.4 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001192/6.185, allocations: 0.5579 MB / 3.562 GB, free: 293.2 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004372/6.185, allocations: 0.8736 MB / 3.563 GB, free: 292.5 MB / 1.151 GB Notification: Performance of SimCode: time 3.41e-07/6.185, allocations: 3.875 kB / 3.563 GB, free: 292.5 MB / 1.151 GB Notification: Performance of Templates: time 0.02418/6.209, allocations: 14.05 MB / 3.577 GB, free: 292.2 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.makefile (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & ./Buildings_9_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate.csv","../files/Buildings_9_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches