Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.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.Humidifiers.Validation.SteamHumidifier_X,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|XSet.y.1.|senHum.X|hum.sta_a.T|hum.sta_b.T|hum.mWat_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X") translateModel(Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|XSet.y.1.|senHum.X|hum.sta_a.T|hum.sta_b.T|hum.mWat_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X") [: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.166/1.166, allocations: 249.4 MB / 256.7 MB, free: 15.8 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009621/0.000962, allocations: 182.2 kB / 316 MB, free: 7.199 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.221/1.221, allocations: 205.1 MB / 0.5667 GB, free: 23.59 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.0008634/0.0008634, allocations: 95.92 kB / 0.671 GB, free: 0.8633 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 1.001e-05/1.015e-05, allocations: 4 kB / 0.7807 GB, free: 388 kB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3631/0.3632, allocations: 106.3 MB / 0.8846 GB, free: 76.28 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.374/3.737, allocations: 2.2 GB / 3.084 GB, free: 314 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002172/3.737, allocations: 88.45 kB / 3.084 GB, free: 313.9 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.269/5.006, allocations: 0.58 GB / 3.664 GB, free: 49.38 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 4.796e-05/5.006, allocations: 20 kB / 3.664 GB, free: 49.36 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: 98 * Number of variables: 98 Notification: Performance of Generate backend data structure: time 0.002062/5.008, allocations: 1.013 MB / 3.665 GB, free: 48.3 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 2.988e-05/5.009, allocations: 8.031 kB / 3.665 GB, free: 48.29 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001158/5.01, allocations: 238.8 kB / 3.666 GB, free: 48.06 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001756/5.011, allocations: 0.8752 MB / 3.667 GB, free: 47.14 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.154e-05/5.011, allocations: 12 kB / 3.667 GB, free: 47.13 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.612e-05/5.012, allocations: 28 kB / 3.667 GB, free: 47.11 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005287/5.012, allocations: 361.5 kB / 3.667 GB, free: 46.75 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005378/5.013, allocations: 438.9 kB / 3.667 GB, free: 46.3 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/5.013, allocations: 0 / 3.667 GB, free: 46.3 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.67e-05/5.013, allocations: 4 kB / 3.667 GB, free: 46.3 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.352e-05/5.013, allocations: 20.78 kB / 3.667 GB, free: 46.28 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002125/5.015, allocations: 2.232 MB / 3.67 GB, free: 43.85 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002459/5.015, allocations: 230.6 kB / 3.67 GB, free: 43.62 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001288/5.015, allocations: 128.8 kB / 3.67 GB, free: 43.49 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007972/5.016, allocations: 0.8221 MB / 3.671 GB, free: 42.5 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001788/5.016, allocations: 190.8 kB / 3.671 GB, free: 42.29 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=25): time 1.373e-06/5.016, allocations: 3.938 kB / 3.671 GB, free: 42.29 MB / 0.8698 GB Notification: Performance of matching and sorting (n=25): time 0.0008997/5.017, allocations: 406.6 kB / 3.671 GB, free: 41.89 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.234e-05/5.017, allocations: 106.8 kB / 3.671 GB, free: 41.76 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003729/5.018, allocations: 458.2 kB / 3.672 GB, free: 41.3 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.345e-05/5.018, allocations: 25.7 kB / 3.672 GB, free: 41.27 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 9.353e-05/5.018, allocations: 255.6 kB / 3.672 GB, free: 41.02 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 4.365e-05/5.018, allocations: 82.84 kB / 3.672 GB, free: 40.94 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.552e-05/5.018, allocations: 4 kB / 3.672 GB, free: 40.93 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 6.805e-05/5.018, allocations: 358.8 kB / 3.672 GB, free: 40.57 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001261/5.018, allocations: 104.7 kB / 3.673 GB, free: 40.47 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001812/5.018, allocations: 286.1 kB / 3.673 GB, free: 40.1 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003935/5.019, allocations: 219.7 kB / 3.673 GB, free: 39.89 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/5.019, allocations: 4 kB / 3.673 GB, free: 39.88 MB / 0.8698 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006916/5.019, allocations: 471.1 kB / 3.674 GB, free: 39.42 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002433/5.02, allocations: 1.836 MB / 3.675 GB, free: 37.44 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.822e-06/5.02, allocations: 7.984 kB / 3.675 GB, free: 37.43 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/5.02, allocations: 8 kB / 3.675 GB, free: 37.43 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002978/5.02, allocations: 79.84 kB / 3.675 GB, free: 37.35 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.255e-06/5.02, allocations: 15.92 kB / 3.675 GB, free: 37.33 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003223/5.02, allocations: 43.58 kB / 3.675 GB, free: 37.29 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.982e-05/5.02, allocations: 20 kB / 3.675 GB, free: 37.27 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 4.969e-06/5.02, allocations: 4 kB / 3.675 GB, free: 37.27 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006024/5.021, allocations: 391.3 kB / 3.676 GB, free: 36.88 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/5.021, allocations: 4 kB / 3.676 GB, free: 36.88 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.922e-06/5.021, allocations: 8 kB / 3.676 GB, free: 36.87 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002943/5.021, allocations: 76.45 kB / 3.676 GB, free: 36.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/5.021, allocations: 11.94 kB / 3.676 GB, free: 36.79 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002831/5.022, allocations: 39.73 kB / 3.676 GB, free: 36.75 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.126e-05/5.022, allocations: 23.98 kB / 3.676 GB, free: 36.72 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.XSet.nextTimeEvent,XSet.nextTimeEvent,$PRE.XSet.nextTimeEventScaled,XSet.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 45 * 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.292e-05/5.022, allocations: 120.9 kB / 3.676 GB, free: 36.6 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.405e-05/5.022, allocations: 55.25 kB / 3.676 GB, free: 36.54 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006222/5.022, allocations: 369.5 kB / 3.677 GB, free: 36.17 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/5.022, allocations: 240 / 3.677 GB, free: 36.17 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/5.022, allocations: 7.938 kB / 3.677 GB, free: 36.16 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/5.022, allocations: 3.984 kB / 3.677 GB, free: 36.16 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001214/5.024, allocations: 1.153 MB / 3.678 GB, free: 34.93 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/5.024, allocations: 0 / 3.678 GB, free: 34.93 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001927/5.024, allocations: 39.92 kB / 3.678 GB, free: 34.89 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/5.024, allocations: 7.984 kB / 3.678 GB, free: 34.89 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.096e-05/5.024, allocations: 8 kB / 3.678 GB, free: 34.88 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/5.024, allocations: 3.938 kB / 3.678 GB, free: 34.88 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/5.024, allocations: 4.094 kB / 3.678 GB, free: 34.87 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005949/5.024, allocations: 0.6309 MB / 3.678 GB, free: 34.14 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001394/5.025, allocations: 164.3 kB / 3.678 GB, free: 33.96 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.417e-05/5.025, allocations: 4 kB / 3.678 GB, free: 33.96 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002458/5.025, allocations: 19.89 kB / 3.679 GB, free: 33.94 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.622e-05/5.025, allocations: 11.98 kB / 3.679 GB, free: 33.93 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.016e-05/5.025, allocations: 19.98 kB / 3.679 GB, free: 33.91 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0002637/5.025, allocations: 346.9 kB / 3.679 GB, free: 33.57 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.00092/5.026, allocations: 379.2 kB / 3.679 GB, free: 33.2 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,XSet.nextTimeEvent,XSet.nextTimeEventScaled) * Number of discrete states: 2 (XSet.nextTimeEvent,XSet.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001775/5.028, allocations: 1.78 MB / 3.681 GB, free: 31.46 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0005188/5.028, allocations: 464.1 kB / 3.681 GB, free: 31.01 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/5.029, allocations: 4.062 kB / 3.681 GB, free: 31.01 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001362/5.029, allocations: 123.8 kB / 3.682 GB, free: 30.89 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000849/5.03, allocations: 204.8 kB / 3.682 GB, free: 30.69 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003392/5.033, allocations: 1.506 MB / 3.683 GB, free: 29.12 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003817/5.033, allocations: 0.9742 MB / 3.684 GB, free: 28.12 MB / 0.8698 GB Notification: Performance of SimCode: time 3.5e-07/5.033, allocations: 0 / 3.684 GB, free: 28.12 MB / 0.8698 GB Notification: Performance of Templates: time 0.02246/5.056, allocations: 18.39 MB / 3.702 GB, free: 9.82 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Humidifiers_Validation_SteamHumidifier_X.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches