Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.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.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_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 2.131/2.131, allocations: 387.2 MB / 394.5 MB, free: 13.68 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.001262/0.001262, allocations: 176.3 kB / 487 MB, free: 5.422 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.533/1.533, allocations: 221.3 MB / 0.7819 GB, free: 1.367 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.001069/0.00107, allocations: 105.7 kB / 0.9213 GB, free: 2.602 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 7.173e-06/7.193e-06, allocations: 0 / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2671/0.2671, allocations: 142.3 MB / 1.205 GB, free: 26.19 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.93/4.197, allocations: 1.887 GB / 3.092 GB, free: 362.3 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002174/4.197, allocations: 89.75 kB / 3.093 GB, free: 362.3 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.668/5.865, allocations: 0.605 GB / 3.698 GB, free: 215.7 MB / 1.151 GB Notification: Performance of Transformations before backend: time 7.588e-05/5.865, allocations: 18.73 kB / 3.698 GB, free: 215.7 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: 98 * Number of variables: 98 Notification: Performance of Generate backend data structure: time 0.003431/5.869, allocations: 1.045 MB / 3.699 GB, free: 214.6 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.656e-05/5.869, allocations: 8.031 kB / 3.699 GB, free: 214.6 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001335/5.87, allocations: 238.8 kB / 3.699 GB, free: 214.4 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002194/5.872, allocations: 0.8837 MB / 3.7 GB, free: 213.5 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.567e-05/5.872, allocations: 16 kB / 3.7 GB, free: 213.5 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.938e-05/5.872, allocations: 24 kB / 3.7 GB, free: 213.4 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005431/5.873, allocations: 345.5 kB / 3.7 GB, free: 213.1 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005861/5.874, allocations: 446.9 kB / 3.701 GB, free: 212.7 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.463e-05/5.874, allocations: 0 / 3.701 GB, free: 212.7 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.982e-05/5.874, allocations: 0 / 3.701 GB, free: 212.7 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.386e-05/5.874, allocations: 12.78 kB / 3.701 GB, free: 212.6 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002481/5.876, allocations: 2.272 MB / 3.703 GB, free: 210.2 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002822/5.876, allocations: 218.7 kB / 3.703 GB, free: 210 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001407/5.877, allocations: 124.8 kB / 3.703 GB, free: 209.8 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009009/5.878, allocations: 0.8287 MB / 3.704 GB, free: 208.9 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000203/5.878, allocations: 190.6 kB / 3.704 GB, free: 208.6 MB / 1.151 GB Notification: Performance of pre-optimization done (n=25): time 1.733e-06/5.878, allocations: 0 / 3.704 GB, free: 208.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=25): time 0.001012/5.879, allocations: 403.7 kB / 3.704 GB, free: 208.2 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.623e-05/5.879, allocations: 110.8 kB / 3.705 GB, free: 208.1 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000468/5.879, allocations: 450.3 kB / 3.705 GB, free: 207.7 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 3.282e-05/5.879, allocations: 29.7 kB / 3.705 GB, free: 207.6 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001355/5.879, allocations: 255.6 kB / 3.705 GB, free: 207.4 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 5.286e-05/5.88, allocations: 82.84 kB / 3.705 GB, free: 207.3 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.755e-05/5.88, allocations: 0 / 3.705 GB, free: 207.3 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.774e-05/5.88, allocations: 362.8 kB / 3.706 GB, free: 206.9 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001348/5.88, allocations: 96.72 kB / 3.706 GB, free: 206.8 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002226/5.88, allocations: 292.6 kB / 3.706 GB, free: 206.5 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004375/5.88, allocations: 208.3 kB / 3.706 GB, free: 206.3 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/5.88, allocations: 7.906 kB / 3.706 GB, free: 206.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007519/5.881, allocations: 472.7 kB / 3.707 GB, free: 205.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004533/5.882, allocations: 1.827 MB / 3.708 GB, free: 203.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/5.882, allocations: 8 kB / 3.709 GB, free: 203.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.34e-05/5.882, allocations: 4 kB / 3.709 GB, free: 203.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003336/5.882, allocations: 87.83 kB / 3.709 GB, free: 203.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.333e-05/5.882, allocations: 8 kB / 3.709 GB, free: 203.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003996/5.883, allocations: 43.58 kB / 3.709 GB, free: 203.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.418e-05/5.883, allocations: 31.92 kB / 3.709 GB, free: 203.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 5.881e-06/5.883, allocations: 4 kB / 3.709 GB, free: 203.6 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006975/5.883, allocations: 390.2 kB / 3.709 GB, free: 203.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/5.883, allocations: 8 kB / 3.709 GB, free: 203.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.543e-06/5.883, allocations: 8 kB / 3.709 GB, free: 203.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000306/5.884, allocations: 75.91 kB / 3.709 GB, free: 203.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/5.884, allocations: 15.92 kB / 3.709 GB, free: 203.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002957/5.884, allocations: 39.92 kB / 3.709 GB, free: 203.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.151e-05/5.884, allocations: 20 kB / 3.709 GB, free: 203.1 MB / 1.151 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 0.0001064/5.884, allocations: 113.5 kB / 3.709 GB, free: 203 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.069e-05/5.884, allocations: 59.25 kB / 3.709 GB, free: 202.9 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007236/5.885, allocations: 370.5 kB / 3.71 GB, free: 202.5 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.604e-06/5.885, allocations: 4 kB / 3.71 GB, free: 202.5 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/5.885, allocations: 0 / 3.71 GB, free: 202.5 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.486e-06/5.885, allocations: 11.98 kB / 3.71 GB, free: 202.5 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001424/5.886, allocations: 1.141 MB / 3.711 GB, free: 201.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/5.886, allocations: 12.28 kB / 3.711 GB, free: 201.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002013/5.887, allocations: 47.91 kB / 3.711 GB, free: 201.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/5.887, allocations: 4 kB / 3.711 GB, free: 201.3 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.39e-05/5.887, allocations: 7.984 kB / 3.711 GB, free: 201.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/5.887, allocations: 7.938 kB / 3.711 GB, free: 201.2 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/5.887, allocations: 4 kB / 3.711 GB, free: 201.2 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007047/5.887, allocations: 0.625 MB / 3.712 GB, free: 200.5 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001529/5.888, allocations: 168.3 kB / 3.712 GB, free: 200.3 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.196e-05/5.888, allocations: 4 kB / 3.712 GB, free: 200.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002595/5.888, allocations: 8 kB / 3.712 GB, free: 200.3 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.066e-05/5.888, allocations: 27.88 kB / 3.712 GB, free: 200.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.93e-05/5.888, allocations: 8 kB / 3.712 GB, free: 200.3 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.000295/5.888, allocations: 350.9 kB / 3.712 GB, free: 199.9 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001123/5.889, allocations: 379.3 kB / 3.712 GB, free: 199.6 MB / 1.151 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.002158/5.892, allocations: 1.779 MB / 3.714 GB, free: 198 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0005766/5.892, allocations: 456.1 kB / 3.715 GB, free: 197.6 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/5.892, allocations: 0 / 3.715 GB, free: 197.6 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0001512/5.892, allocations: 124.9 kB / 3.715 GB, free: 197.4 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008669/5.893, allocations: 185.8 kB / 3.715 GB, free: 197.3 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003683/5.897, allocations: 1.524 MB / 3.716 GB, free: 195.7 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004399/5.897, allocations: 0.9703 MB / 3.717 GB, free: 194.7 MB / 1.151 GB Notification: Performance of SimCode: time 2.91e-07/5.897, allocations: 0 / 3.717 GB, free: 194.7 MB / 1.151 GB Notification: Performance of Templates: time 0.0254/5.923, allocations: 18.27 MB / 3.735 GB, free: 176.6 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.makefile (rm -f Buildings_9_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.pipe ; mkfifo Buildings_9_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.pipe >> ../files/Buildings_9_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.sim & ./Buildings_9_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Humidifiers_Validation_SteamHumidifier_X.csv","../files/Buildings_9_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches