Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.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.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_latest_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_latest_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 10.0.0-master/package.mo): time 1.998/1.998, allocations: 390.4 MB / 397.7 MB, free: 11.24 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.001016/0.001016, allocations: 188.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.308/1.308, allocations: 221.4 MB / 0.7863 GB, free: 13.67 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.0008593/0.0008594, allocations: 102.7 kB / 0.9264 GB, free: 14.21 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 6.291e-06/6.322e-06, allocations: 4 kB / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2774/0.2774, allocations: 143 MB / 1.212 GB, free: 40.1 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.695/4.973, allocations: 1.888 GB / 3.1 GB, free: 420.9 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002516/4.973, allocations: 83.95 kB / 3.1 GB, free: 420.8 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.604/6.577, allocations: 0.6051 GB / 3.705 GB, free: 236.9 MB / 1.151 GB Notification: Performance of Transformations before backend: time 7.53e-05/6.577, allocations: 16 kB / 3.705 GB, free: 236.9 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.00307/6.58, allocations: 1.049 MB / 3.706 GB, free: 235.8 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/6.58, allocations: 8.031 kB / 3.706 GB, free: 235.8 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001376/6.582, allocations: 234.8 kB / 3.706 GB, free: 235.6 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002423/6.584, allocations: 0.8881 MB / 3.707 GB, free: 234.7 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.611e-05/6.584, allocations: 12 kB / 3.707 GB, free: 234.7 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.725e-05/6.584, allocations: 24 kB / 3.707 GB, free: 234.6 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005917/6.585, allocations: 345.5 kB / 3.707 GB, free: 234.3 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006133/6.585, allocations: 439 kB / 3.708 GB, free: 233.8 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.539e-05/6.585, allocations: 7.922 kB / 3.708 GB, free: 233.8 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.916e-05/6.585, allocations: 4 kB / 3.708 GB, free: 233.8 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.371e-05/6.586, allocations: 16.78 kB / 3.708 GB, free: 233.8 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00279/6.588, allocations: 2.243 MB / 3.71 GB, free: 231.4 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002992/6.589, allocations: 234 kB / 3.71 GB, free: 231.2 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000145/6.589, allocations: 120.8 kB / 3.71 GB, free: 231 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009047/6.59, allocations: 0.8255 MB / 3.711 GB, free: 230.1 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002063/6.59, allocations: 179.4 kB / 3.711 GB, free: 229.9 MB / 1.151 GB Notification: Performance of pre-optimization done (n=25): time 2.745e-06/6.59, allocations: 0 / 3.711 GB, free: 229.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=25): time 0.001082/6.591, allocations: 407.6 kB / 3.712 GB, free: 229.5 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.025e-05/6.591, allocations: 110.8 kB / 3.712 GB, free: 229.3 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004555/6.592, allocations: 458.1 kB / 3.712 GB, free: 228.9 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 3.05e-05/6.592, allocations: 29.7 kB / 3.712 GB, free: 228.8 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001216/6.592, allocations: 255.6 kB / 3.712 GB, free: 228.6 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 5.517e-05/6.592, allocations: 82.88 kB / 3.712 GB, free: 228.5 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.621e-05/6.592, allocations: 0 / 3.712 GB, free: 228.5 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.613e-05/6.592, allocations: 362.8 kB / 3.713 GB, free: 228.1 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001376/6.592, allocations: 100.7 kB / 3.713 GB, free: 228 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002015/6.592, allocations: 280.8 kB / 3.713 GB, free: 227.7 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004502/6.593, allocations: 223.7 kB / 3.713 GB, free: 227.5 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/6.593, allocations: 4 kB / 3.713 GB, free: 227.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007788/6.593, allocations: 468.4 kB / 3.714 GB, free: 227 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003427/6.594, allocations: 1.837 MB / 3.716 GB, free: 225 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.848e-06/6.594, allocations: 4 kB / 3.716 GB, free: 225 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.281e-05/6.594, allocations: 8 kB / 3.716 GB, free: 225 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003233/6.594, allocations: 79.89 kB / 3.716 GB, free: 224.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.006e-05/6.594, allocations: 11.94 kB / 3.716 GB, free: 224.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004088/6.595, allocations: 47.58 kB / 3.716 GB, free: 224.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.999e-05/6.595, allocations: 23.98 kB / 3.716 GB, free: 224.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 7.293e-06/6.595, allocations: 4 kB / 3.716 GB, free: 224.8 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006862/6.595, allocations: 382.2 kB / 3.716 GB, free: 224.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/6.595, allocations: 4.562 kB / 3.716 GB, free: 224.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.905e-06/6.595, allocations: 12 kB / 3.716 GB, free: 224.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000295/6.596, allocations: 83.83 kB / 3.716 GB, free: 224.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/6.596, allocations: 8 kB / 3.716 GB, free: 224.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003468/6.596, allocations: 35.45 kB / 3.716 GB, free: 224.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.968e-05/6.596, allocations: 23.98 kB / 3.716 GB, free: 224.3 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.0001088/6.596, allocations: 124.8 kB / 3.716 GB, free: 224.2 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.193e-05/6.596, allocations: 55.25 kB / 3.717 GB, free: 224.1 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007072/6.597, allocations: 357 kB / 3.717 GB, free: 223.8 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/6.597, allocations: 4 kB / 3.717 GB, free: 223.8 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/6.597, allocations: 0 / 3.717 GB, free: 223.8 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/6.597, allocations: 4 kB / 3.717 GB, free: 223.8 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001467/6.599, allocations: 1.159 MB / 3.718 GB, free: 222.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/6.599, allocations: 4 kB / 3.718 GB, free: 222.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002018/6.599, allocations: 47.91 kB / 3.718 GB, free: 222.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/6.599, allocations: 4 kB / 3.718 GB, free: 222.5 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.395e-05/6.599, allocations: 4.281 kB / 3.718 GB, free: 222.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/6.599, allocations: 8 kB / 3.718 GB, free: 222.5 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.158e-05/6.599, allocations: 4.234 kB / 3.718 GB, free: 222.5 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007028/6.6, allocations: 0.6255 MB / 3.719 GB, free: 221.7 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001854/6.6, allocations: 160.3 kB / 3.719 GB, free: 221.6 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.74e-05/6.6, allocations: 7.984 kB / 3.719 GB, free: 221.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002697/6.6, allocations: 11.98 kB / 3.719 GB, free: 221.5 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.921e-05/6.6, allocations: 19.89 kB / 3.719 GB, free: 221.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.415e-05/6.6, allocations: 15.98 kB / 3.719 GB, free: 221.5 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0003258/6.601, allocations: 350.9 kB / 3.719 GB, free: 221.2 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001213/6.602, allocations: 383.2 kB / 3.72 GB, free: 220.8 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.002676/6.604, allocations: 1.778 MB / 3.721 GB, free: 219.2 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0006952/6.605, allocations: 466.6 kB / 3.722 GB, free: 218.8 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.119e-06/6.605, allocations: 2.25 kB / 3.722 GB, free: 218.8 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0001585/6.605, allocations: 119.8 kB / 3.722 GB, free: 218.7 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009612/6.606, allocations: 191.6 kB / 3.722 GB, free: 218.5 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004125/6.61, allocations: 1.525 MB / 3.724 GB, free: 216.9 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000567/6.611, allocations: 0.9625 MB / 3.724 GB, free: 215.9 MB / 1.151 GB Notification: Performance of SimCode: time 1.052e-06/6.611, allocations: 0 / 3.724 GB, free: 215.9 MB / 1.151 GB Notification: Performance of Templates: time 0.02704/6.638, allocations: 18.28 MB / 3.742 GB, free: 197.8 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.makefile (rm -f Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.pipe >> ../files/Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.sim & ./Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Humidifiers_Validation_SteamHumidifier_X.csv","../files/Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches