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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.486/1.486, allocations: 249.3 MB / 261.8 MB, free: 5.816 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001089/0.001089, allocations: 184.9 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.651/1.651, allocations: 205.2 MB / 0.572 GB, free: 10.67 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.0009005/0.0009004, allocations: 86.47 kB / 0.6764 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.719e-05/3.722e-05, allocations: 4 kB / 0.7879 GB, free: 97.13 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2399/0.24, allocations: 106.3 MB / 0.8918 GB, free: 6.695 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.773/6.013, allocations: 2.201 GB / 3.092 GB, free: 168.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002943/6.014, allocations: 86.7 kB / 3.092 GB, free: 168.4 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.47/8.484, allocations: 0.58 GB / 3.672 GB, free: 183.4 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.254e-06/8.484, allocations: 0 / 3.672 GB, free: 183.4 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001159/8.484, allocations: 24.17 kB / 3.672 GB, free: 183.4 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.003505/8.487, allocations: 1.015 MB / 3.673 GB, free: 182.8 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.396e-05/8.488, allocations: 10.31 kB / 3.673 GB, free: 182.8 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001444/8.489, allocations: 220.5 kB / 3.674 GB, free: 182.8 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002632/8.492, allocations: 0.8712 MB / 3.675 GB, free: 182.5 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.865e-05/8.492, allocations: 33.2 kB / 3.675 GB, free: 182.5 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001277/8.492, allocations: 48.5 kB / 3.675 GB, free: 182.5 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00094/8.493, allocations: 494.6 kB / 3.675 GB, free: 182.4 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/8.493, allocations: 0 / 3.675 GB, free: 182.4 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.893e-05/8.493, allocations: 18.47 kB / 3.675 GB, free: 182.4 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.02e-05/8.493, allocations: 16.44 kB / 3.675 GB, free: 182.4 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008305/8.494, allocations: 416.6 kB / 3.675 GB, free: 182.4 MB / 0.8698 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00328/8.497, allocations: 2.145 MB / 3.678 GB, free: 181.2 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005596/8.498, allocations: 255.4 kB / 3.678 GB, free: 181.2 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001885/8.498, allocations: 130 kB / 3.678 GB, free: 181.2 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009429/8.499, allocations: 0.8172 MB / 3.679 GB, free: 180.4 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002822/8.499, allocations: 198.1 kB / 3.679 GB, free: 180.3 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=26): time 2.124e-06/8.499, allocations: 3.062 kB / 3.679 GB, free: 180.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=26): time 0.0008992/8.5, allocations: 340 kB / 3.679 GB, free: 180.2 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.681e-05/8.5, allocations: 110.5 kB / 3.679 GB, free: 180.1 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007147/8.501, allocations: 0.5489 MB / 3.68 GB, free: 180 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 4.281e-05/8.501, allocations: 35.11 kB / 3.68 GB, free: 179.9 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002614/8.501, allocations: 325.8 kB / 3.68 GB, free: 179.8 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 8.295e-05/8.501, allocations: 93.25 kB / 3.68 GB, free: 179.8 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.002e-05/8.501, allocations: 10.38 kB / 3.68 GB, free: 179.8 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001184/8.501, allocations: 369.1 kB / 3.681 GB, free: 179.5 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001902/8.502, allocations: 101 kB / 3.681 GB, free: 179.5 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002889/8.502, allocations: 295.2 kB / 3.681 GB, free: 179.3 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002413/8.502, allocations: 158.1 kB / 3.681 GB, free: 179.2 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/8.502, allocations: 0 / 3.681 GB, free: 179.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006951/8.503, allocations: 442.5 kB / 3.682 GB, free: 179.2 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005086/8.503, allocations: 1.655 MB / 3.683 GB, free: 177.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.529e-05/8.503, allocations: 6.969 kB / 3.683 GB, free: 177.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.552e-05/8.503, allocations: 7.844 kB / 3.683 GB, free: 177.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000305/8.504, allocations: 83.59 kB / 3.683 GB, free: 177.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.788e-05/8.504, allocations: 9.219 kB / 3.683 GB, free: 177.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000501/8.504, allocations: 63.42 kB / 3.683 GB, free: 177.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.679e-05/8.504, allocations: 23.05 kB / 3.683 GB, free: 177.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/8.504, allocations: 7.781 kB / 3.683 GB, free: 177.4 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005412/8.505, allocations: 355.8 kB / 3.684 GB, free: 177.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/8.505, allocations: 5.938 kB / 3.684 GB, free: 177.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.867e-06/8.505, allocations: 7.094 kB / 3.684 GB, free: 177.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002732/8.505, allocations: 77.28 kB / 3.684 GB, free: 177.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.391e-05/8.505, allocations: 13.39 kB / 3.684 GB, free: 177.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004341/8.506, allocations: 48.14 kB / 3.684 GB, free: 177.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.804e-05/8.506, allocations: 23.94 kB / 3.684 GB, free: 177.4 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 0.0001354/8.506, allocations: 127.7 kB / 3.684 GB, free: 177.3 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000105/8.506, allocations: 74.7 kB / 3.684 GB, free: 177.3 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000548/8.506, allocations: 312 kB / 3.684 GB, free: 177.2 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/8.507, allocations: 3.281 kB / 3.684 GB, free: 177.2 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/8.507, allocations: 2.938 kB / 3.684 GB, free: 177.2 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/8.507, allocations: 0 / 3.684 GB, free: 177.2 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001462/8.508, allocations: 1.165 MB / 3.686 GB, free: 176.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/8.508, allocations: 2.781 kB / 3.686 GB, free: 176.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002075/8.508, allocations: 41.92 kB / 3.686 GB, free: 176.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.512e-06/8.508, allocations: 6.906 kB / 3.686 GB, free: 176.7 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.926e-05/8.508, allocations: 11.41 kB / 3.686 GB, free: 176.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.891e-06/8.508, allocations: 10.77 kB / 3.686 GB, free: 176.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/8.508, allocations: 3.594 kB / 3.686 GB, free: 176.7 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007936/8.509, allocations: 0.7153 MB / 3.686 GB, free: 176.3 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002861/8.509, allocations: 171.4 kB / 3.687 GB, free: 176.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001425/8.51, allocations: 14.03 kB / 3.687 GB, free: 176.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002825/8.51, allocations: 10.03 kB / 3.687 GB, free: 176.2 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.689e-05/8.51, allocations: 24.48 kB / 3.687 GB, free: 176.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.305e-05/8.51, allocations: 10.88 kB / 3.687 GB, free: 176.2 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0004795/8.51, allocations: 442.5 kB / 3.687 GB, free: 176.1 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.5e-07/8.51, allocations: 0 / 3.687 GB, free: 176.1 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001703/8.512, allocations: 423.9 kB / 3.687 GB, free: 176.1 MB / 0.8698 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.003006/8.515, allocations: 1.671 MB / 3.689 GB, free: 175.6 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0008333/8.516, allocations: 485.3 kB / 3.69 GB, free: 175.6 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/8.516, allocations: 3.25 kB / 3.69 GB, free: 175.6 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.000206/8.516, allocations: 124.3 kB / 3.69 GB, free: 175.6 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001258/8.518, allocations: 274.9 kB / 3.69 GB, free: 175.5 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003973/8.522, allocations: 1.604 MB / 3.691 GB, free: 175.2 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000439/8.522, allocations: 0.9065 MB / 3.692 GB, free: 174.5 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0009199/8.523, allocations: 237.2 kB / 3.693 GB, free: 174.5 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001057/8.523, allocations: 35.06 kB / 3.693 GB, free: 174.5 MB / 0.8698 GB Notification: Performance of SimCode: time 1.133e-06/8.523, allocations: 0 / 3.693 GB, free: 174.5 MB / 0.8698 GB Notification: Performance of Templates: time 0.04269/8.566, allocations: 31.07 MB / 3.723 GB, free: 171.9 MB / 0.8698 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