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_dynamic.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_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_maint.7.0.x_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_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo): time 1.211/1.211, allocations: 249.4 MB / 256.7 MB, free: 7.66 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000967/0.0009671, allocations: 181.2 kB / 316 MB, free: 7.945 MB / 254.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.076/1.076, allocations: 205.1 MB / 0.5667 GB, free: 3.375 MB / 414.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009925/0.0009924, allocations: 100.8 kB / 0.671 GB, free: 8.508 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 5.36e-06/5.37e-06, allocations: 0 / 0.7807 GB, free: 106.8 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1641/0.1641, allocations: 106.3 MB / 0.8846 GB, free: 404 kB / 0.545 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.441/3.606, allocations: 2.201 GB / 3.085 GB, free: 227.6 MB / 0.8731 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002163/3.606, allocations: 81.27 kB / 3.085 GB, free: 227.5 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.62/5.226, allocations: 0.5801 GB / 3.665 GB, free: 193.2 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 5.201e-05/5.226, allocations: 27.45 kB / 3.665 GB, free: 193.2 MB / 0.8731 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.002142/5.228, allocations: 1.008 MB / 3.666 GB, free: 192.8 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.08e-05/5.228, allocations: 15.28 kB / 3.666 GB, free: 192.8 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001155/5.229, allocations: 239.7 kB / 3.667 GB, free: 192.8 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001751/5.231, allocations: 0.8804 MB / 3.668 GB, free: 192.5 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.388e-05/5.231, allocations: 14.38 kB / 3.668 GB, free: 192.5 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.9e-05/5.231, allocations: 28.83 kB / 3.668 GB, free: 192.5 MB / 0.8731 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005366/5.231, allocations: 370.2 kB / 3.668 GB, free: 192.5 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000551/5.232, allocations: 442.2 kB / 3.668 GB, free: 192.4 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/5.232, allocations: 0 / 3.668 GB, free: 192.4 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.766e-05/5.232, allocations: 0 / 3.668 GB, free: 192.4 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.427e-05/5.232, allocations: 17.25 kB / 3.668 GB, free: 192.4 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002218/5.234, allocations: 2.258 MB / 3.671 GB, free: 191.1 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002736/5.235, allocations: 238.1 kB / 3.671 GB, free: 191.1 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001345/5.235, allocations: 119.7 kB / 3.671 GB, free: 191.1 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000811/5.236, allocations: 0.8289 MB / 3.672 GB, free: 190.2 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001954/5.236, allocations: 193.3 kB / 3.672 GB, free: 190.2 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=26): time 1.603e-06/5.236, allocations: 0 / 3.672 GB, free: 190.2 MB / 0.8731 GB Notification: Performance of matching and sorting (n=26): time 0.0009113/5.237, allocations: 411.2 kB / 3.672 GB, free: 190.1 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.314e-05/5.237, allocations: 110.4 kB / 3.672 GB, free: 190 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003843/5.237, allocations: 454.9 kB / 3.673 GB, free: 189.9 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.548e-05/5.237, allocations: 25.7 kB / 3.673 GB, free: 189.8 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001003/5.237, allocations: 254.3 kB / 3.673 GB, free: 189.7 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 5.205e-05/5.237, allocations: 89.62 kB / 3.673 GB, free: 189.6 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.668e-05/5.237, allocations: 0 / 3.673 GB, free: 189.6 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 6.628e-05/5.237, allocations: 369.9 kB / 3.674 GB, free: 189.3 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001321/5.238, allocations: 101.7 kB / 3.674 GB, free: 189.3 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001953/5.238, allocations: 294.6 kB / 3.674 GB, free: 189.1 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004084/5.238, allocations: 233.5 kB / 3.674 GB, free: 189.1 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/5.238, allocations: 3.25 kB / 3.674 GB, free: 189.1 MB / 0.8731 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007328/5.239, allocations: 480.5 kB / 3.675 GB, free: 189 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002629/5.239, allocations: 1.829 MB / 3.676 GB, free: 187.1 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/5.239, allocations: 4.562 kB / 3.676 GB, free: 187.1 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/5.239, allocations: 13.44 kB / 3.676 GB, free: 187.1 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003175/5.24, allocations: 84.06 kB / 3.677 GB, free: 187.1 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.106e-06/5.24, allocations: 11.22 kB / 3.677 GB, free: 187.1 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003541/5.24, allocations: 46.5 kB / 3.677 GB, free: 187.1 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.177e-05/5.24, allocations: 25.27 kB / 3.677 GB, free: 187.1 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 4.739e-06/5.24, allocations: 3.688 kB / 3.677 GB, free: 187.1 MB / 0.8731 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000622/5.241, allocations: 404.3 kB / 3.677 GB, free: 187.1 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/5.241, allocations: 3.906 kB / 3.677 GB, free: 187.1 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.681e-06/5.241, allocations: 6.688 kB / 3.677 GB, free: 187.1 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002934/5.241, allocations: 86.91 kB / 3.677 GB, free: 187.1 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.491e-06/5.241, allocations: 8.812 kB / 3.677 GB, free: 187.1 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003008/5.241, allocations: 36.8 kB / 3.677 GB, free: 187.1 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.295e-05/5.241, allocations: 31.81 kB / 3.677 GB, free: 187.1 MB / 0.8731 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 (47): * Single equations (assignments): 47 * 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 8.02e-05/5.241, allocations: 120 kB / 3.677 GB, free: 187 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.59e-05/5.241, allocations: 53.06 kB / 3.677 GB, free: 187 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006441/5.242, allocations: 375.5 kB / 3.678 GB, free: 186.9 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/5.242, allocations: 7.438 kB / 3.678 GB, free: 186.9 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/5.242, allocations: 0 / 3.678 GB, free: 186.9 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/5.242, allocations: 3.25 kB / 3.678 GB, free: 186.9 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001269/5.243, allocations: 1.15 MB / 3.679 GB, free: 186.4 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/5.243, allocations: 5.969 kB / 3.679 GB, free: 186.4 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002243/5.244, allocations: 42.75 kB / 3.679 GB, free: 186.4 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/5.244, allocations: 3.531 kB / 3.679 GB, free: 186.4 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.392e-05/5.244, allocations: 13.27 kB / 3.679 GB, free: 186.4 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/5.244, allocations: 4.531 kB / 3.679 GB, free: 186.4 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/5.244, allocations: 3.156 kB / 3.679 GB, free: 186.4 MB / 0.8731 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007902/5.244, allocations: 0.7736 MB / 3.68 GB, free: 186 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001463/5.245, allocations: 166.4 kB / 3.68 GB, free: 185.9 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.823e-05/5.245, allocations: 11.12 kB / 3.68 GB, free: 185.9 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002568/5.245, allocations: 10.88 kB / 3.68 GB, free: 185.9 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.767e-05/5.245, allocations: 28.59 kB / 3.68 GB, free: 185.9 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.885e-05/5.245, allocations: 11.25 kB / 3.68 GB, free: 185.9 MB / 0.8731 GB Notification: Performance of sort global known variables: time 0.0002694/5.245, allocations: 346 kB / 3.68 GB, free: 185.8 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0009622/5.246, allocations: 388.2 kB / 3.681 GB, free: 185.8 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 1 (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 (27): * Single equations (assignments): 25 * 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.001796/5.248, allocations: 1.785 MB / 3.682 GB, free: 185.4 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0005598/5.249, allocations: 480.4 kB / 3.683 GB, free: 185.4 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/5.249, allocations: 3.594 kB / 3.683 GB, free: 185.4 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.000148/5.249, allocations: 129.7 kB / 3.683 GB, free: 185.4 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008497/5.25, allocations: 190.6 kB / 3.683 GB, free: 185.4 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003309/5.253, allocations: 1.582 MB / 3.685 GB, free: 185.1 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003898/5.253, allocations: 0.9687 MB / 3.686 GB, free: 184.4 MB / 0.8731 GB Notification: Performance of SimCode: time 2.4e-07/5.253, allocations: 0 / 3.686 GB, free: 184.4 MB / 0.8731 GB Notification: Performance of Templates: time 0.02301/5.276, allocations: 18.6 MB / 3.704 GB, free: 184.1 MB / 0.8731 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Humidifiers_Validation_SteamHumidifier_X_dynamic.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches