Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.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_dynamic,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_dynamic") translateModel(Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic,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_dynamic") [: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.175/2.175, allocations: 387.2 MB / 394.5 MB, free: 13.71 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.001259/0.001259, allocations: 181.2 kB / 487 MB, free: 5.391 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.575/1.575, allocations: 221.3 MB / 0.7819 GB, free: 1.398 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.0009682/0.0009681, allocations: 93.47 kB / 0.9213 GB, free: 2.652 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.532e-06/6.562e-06, allocations: 4 kB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2815/0.2815, allocations: 142.3 MB / 1.205 GB, free: 26.17 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.882/4.164, allocations: 1.887 GB / 3.092 GB, free: 412.5 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002352/4.164, allocations: 87.89 kB / 3.093 GB, free: 412.4 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.644/5.808, allocations: 0.6052 GB / 3.698 GB, free: 233.1 MB / 1.151 GB Notification: Performance of Transformations before backend: time 5.509e-05/5.808, allocations: 20 kB / 3.698 GB, free: 233 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.002593/5.811, allocations: 1.044 MB / 3.699 GB, free: 232 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/5.811, allocations: 8.031 kB / 3.699 GB, free: 231.9 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001235/5.812, allocations: 237.5 kB / 3.699 GB, free: 231.7 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001993/5.814, allocations: 0.8931 MB / 3.7 GB, free: 230.8 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.627e-05/5.814, allocations: 12 kB / 3.7 GB, free: 230.8 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.486e-05/5.814, allocations: 27.94 kB / 3.7 GB, free: 230.8 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005052/5.815, allocations: 333.5 kB / 3.7 GB, free: 230.4 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005884/5.815, allocations: 451.9 kB / 3.701 GB, free: 230 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.444e-05/5.815, allocations: 0 / 3.701 GB, free: 230 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.845e-05/5.815, allocations: 3.938 kB / 3.701 GB, free: 230 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.308e-05/5.815, allocations: 20.77 kB / 3.701 GB, free: 230 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002383/5.818, allocations: 2.267 MB / 3.703 GB, free: 227.5 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003155/5.818, allocations: 238.6 kB / 3.703 GB, free: 227.3 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001555/5.818, allocations: 128.8 kB / 3.703 GB, free: 227.2 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009881/5.819, allocations: 0.8259 MB / 3.704 GB, free: 226.2 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002203/5.82, allocations: 195.6 kB / 3.704 GB, free: 226 MB / 1.151 GB Notification: Performance of pre-optimization done (n=27): time 1.814e-06/5.82, allocations: 0 / 3.704 GB, free: 226 MB / 1.151 GB Notification: Performance of matching and sorting (n=27): time 0.0009844/5.821, allocations: 411.7 kB / 3.705 GB, free: 225.6 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.603e-05/5.821, allocations: 107 kB / 3.705 GB, free: 225.4 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004151/5.821, allocations: 458.2 kB / 3.705 GB, free: 225 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 2.954e-05/5.821, allocations: 29.7 kB / 3.705 GB, free: 224.9 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.000116/5.821, allocations: 259.6 kB / 3.706 GB, free: 224.7 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 5.658e-05/5.821, allocations: 90.66 kB / 3.706 GB, free: 224.6 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.742e-05/5.821, allocations: 0 / 3.706 GB, free: 224.6 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.286e-05/5.821, allocations: 358.8 kB / 3.706 GB, free: 224.2 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001483/5.822, allocations: 108.8 kB / 3.706 GB, free: 224.1 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002154/5.822, allocations: 299 kB / 3.706 GB, free: 223.8 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004343/5.822, allocations: 225.7 kB / 3.707 GB, free: 223.5 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/5.822, allocations: 0 / 3.707 GB, free: 223.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007551/5.823, allocations: 492.9 kB / 3.707 GB, free: 223 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003728/5.823, allocations: 1.834 MB / 3.709 GB, free: 221.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/5.823, allocations: 4 kB / 3.709 GB, free: 221.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.931e-05/5.823, allocations: 11.98 kB / 3.709 GB, free: 221.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000339/5.824, allocations: 87.84 kB / 3.709 GB, free: 221 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/5.824, allocations: 7.984 kB / 3.709 GB, free: 221 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003704/5.824, allocations: 47.58 kB / 3.709 GB, free: 220.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.102e-05/5.824, allocations: 27.98 kB / 3.709 GB, free: 220.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 5.691e-06/5.824, allocations: 4 kB / 3.709 GB, free: 220.9 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006593/5.825, allocations: 395.7 kB / 3.709 GB, free: 220.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/5.825, allocations: 12.09 kB / 3.709 GB, free: 220.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.371e-06/5.825, allocations: 8 kB / 3.709 GB, free: 220.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003155/5.825, allocations: 87.83 kB / 3.709 GB, free: 220.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.002e-06/5.825, allocations: 15.98 kB / 3.709 GB, free: 220.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003025/5.826, allocations: 35.67 kB / 3.71 GB, free: 220.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.472e-05/5.826, allocations: 24 kB / 3.71 GB, free: 220.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 (49): * Single equations (assignments): 49 * 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 9.832e-05/5.826, allocations: 125.4 kB / 3.71 GB, free: 220.2 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.996e-05/5.826, allocations: 59.33 kB / 3.71 GB, free: 220.1 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006929/5.826, allocations: 375.2 kB / 3.71 GB, free: 219.8 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.471e-06/5.826, allocations: 4 kB / 3.71 GB, free: 219.7 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/5.826, allocations: 0 / 3.71 GB, free: 219.7 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.164e-06/5.826, allocations: 8.141 kB / 3.71 GB, free: 219.7 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001372/5.828, allocations: 1.168 MB / 3.711 GB, free: 218.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/5.828, allocations: 4 kB / 3.711 GB, free: 218.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002492/5.828, allocations: 51.89 kB / 3.711 GB, free: 218.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.999e-06/5.828, allocations: 4.281 kB / 3.711 GB, free: 218.4 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.512e-05/5.828, allocations: 8 kB / 3.711 GB, free: 218.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/5.828, allocations: 4 kB / 3.711 GB, free: 218.4 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/5.828, allocations: 11.77 kB / 3.711 GB, free: 218.4 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008188/5.829, allocations: 0.7757 MB / 3.712 GB, free: 217.6 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001586/5.829, allocations: 172.2 kB / 3.712 GB, free: 217.4 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.231e-05/5.829, allocations: 4 kB / 3.712 GB, free: 217.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002643/5.83, allocations: 8 kB / 3.712 GB, free: 217.4 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.247e-05/5.83, allocations: 31.88 kB / 3.712 GB, free: 217.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.133e-05/5.83, allocations: 12 kB / 3.712 GB, free: 217.3 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0002907/5.83, allocations: 350.9 kB / 3.713 GB, free: 217 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001103/5.831, allocations: 379.3 kB / 3.713 GB, free: 216.6 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (hum.outCon.T,hum.outCon.Xi) * 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 (28): * Single equations (assignments): 26 * 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.002188/5.833, allocations: 1.778 MB / 3.715 GB, free: 215 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0006289/5.834, allocations: 0.4917 MB / 3.715 GB, free: 214.6 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/5.834, allocations: 2.25 kB / 3.715 GB, free: 214.6 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0001613/5.834, allocations: 134.7 kB / 3.715 GB, free: 214.4 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000889/5.835, allocations: 195.1 kB / 3.716 GB, free: 214.2 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003709/5.839, allocations: 1.653 MB / 3.717 GB, free: 212.6 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004368/5.839, allocations: 0.9648 MB / 3.718 GB, free: 211.6 MB / 1.151 GB Notification: Performance of SimCode: time 1.603e-06/5.839, allocations: 0 / 3.718 GB, free: 211.6 MB / 1.151 GB Notification: Performance of Templates: time 0.02461/5.864, allocations: 18.61 MB / 3.736 GB, free: 193.1 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.makefile (rm -f Buildings_9_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe ; mkfifo Buildings_9_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe >> ../files/Buildings_9_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.sim & ./Buildings_9_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Humidifiers_Validation_SteamHumidifier_X_dynamic.csv","../files/Buildings_9_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches