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.616/1.616, allocations: 249.5 MB / 257 MB, free: 6.953 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.00105/0.00105, allocations: 184.8 kB / 316.3 MB, free: 3.297 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.816/1.816, allocations: 205.3 MB / 0.5671 GB, free: 15.83 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.000924/0.000924, allocations: 106.5 kB / 0.6715 GB, free: 4.938 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.912e-05/1.916e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2373/0.2374, allocations: 106.3 MB / 0.8852 GB, free: 12.3 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.321/6.558, allocations: 2.201 GB / 3.086 GB, free: 165.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002678/6.559, allocations: 86.77 kB / 3.086 GB, free: 165.1 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.473/9.032, allocations: 0.5734 GB / 3.66 GB, free: 186.8 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.054e-06/9.032, allocations: 0 / 3.66 GB, free: 186.8 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.072e-05/9.032, allocations: 22.34 kB / 3.66 GB, free: 186.8 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.003222/9.035, allocations: 1.005 MB / 3.661 GB, free: 186.2 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 6.328e-05/9.035, allocations: 12.28 kB / 3.661 GB, free: 186.2 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001322/9.036, allocations: 220.5 kB / 3.661 GB, free: 186.2 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002523/9.039, allocations: 0.8825 MB / 3.662 GB, free: 185.9 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.949e-05/9.039, allocations: 13.06 kB / 3.662 GB, free: 185.9 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.537e-05/9.039, allocations: 27.09 kB / 3.662 GB, free: 185.9 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007882/9.04, allocations: 365.5 kB / 3.662 GB, free: 185.9 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008406/9.041, allocations: 430.5 kB / 3.662 GB, free: 185.9 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.75e-05/9.041, allocations: 3.75 kB / 3.662 GB, free: 185.9 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.435e-05/9.041, allocations: 3.688 kB / 3.662 GB, free: 185.9 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.444e-05/9.041, allocations: 20.69 kB / 3.662 GB, free: 185.9 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.004229/9.045, allocations: 2.065 MB / 3.664 GB, free: 184.7 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006447/9.046, allocations: 246.8 kB / 3.665 GB, free: 184.7 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002016/9.046, allocations: 123.1 kB / 3.665 GB, free: 184.7 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00123/9.047, allocations: 0.812 MB / 3.666 GB, free: 183.9 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003475/9.048, allocations: 195.9 kB / 3.666 GB, free: 183.8 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=26): time 4.698e-06/9.048, allocations: 0 / 3.666 GB, free: 183.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=26): time 0.004316/9.052, allocations: 0.8131 MB / 3.667 GB, free: 183.7 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.083e-05/9.052, allocations: 109.6 kB / 3.667 GB, free: 183.6 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000878/9.053, allocations: 454 kB / 3.667 GB, free: 183.5 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 6.671e-05/9.053, allocations: 29.17 kB / 3.667 GB, free: 183.5 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004434/9.053, allocations: 342.3 kB / 3.667 GB, free: 183.3 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001016/9.053, allocations: 85.05 kB / 3.668 GB, free: 183.3 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.85e-05/9.054, allocations: 0 / 3.668 GB, free: 183.3 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001422/9.054, allocations: 365.4 kB / 3.668 GB, free: 183 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001678/9.054, allocations: 98.5 kB / 3.668 GB, free: 183 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002795/9.054, allocations: 294.5 kB / 3.668 GB, free: 182.7 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003007/9.057, allocations: 0.6445 MB / 3.669 GB, free: 182.7 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.642e-06/9.057, allocations: 3.969 kB / 3.669 GB, free: 182.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.003515/9.061, allocations: 0.8895 MB / 3.67 GB, free: 182.7 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005284/9.061, allocations: 1.827 MB / 3.672 GB, free: 180.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.927e-05/9.061, allocations: 7.5 kB / 3.672 GB, free: 180.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.043e-05/9.061, allocations: 13.83 kB / 3.672 GB, free: 180.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003521/9.062, allocations: 84.86 kB / 3.672 GB, free: 180.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.505e-05/9.062, allocations: 9.188 kB / 3.672 GB, free: 180.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005361/9.062, allocations: 38.95 kB / 3.672 GB, free: 180.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.461e-05/9.062, allocations: 30.81 kB / 3.672 GB, free: 180.8 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/9.062, allocations: 3.25 kB / 3.672 GB, free: 180.8 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003202/9.066, allocations: 0.8065 MB / 3.673 GB, free: 180.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/9.066, allocations: 6.438 kB / 3.673 GB, free: 180.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/9.066, allocations: 14.39 kB / 3.673 GB, free: 180.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003042/9.066, allocations: 86.94 kB / 3.673 GB, free: 180.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.156e-05/9.066, allocations: 12.5 kB / 3.673 GB, free: 180.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004733/9.066, allocations: 39.08 kB / 3.673 GB, free: 180.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.955e-05/9.066, allocations: 21.69 kB / 3.673 GB, free: 180.7 MB / 0.8698 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 0.0001493/9.067, allocations: 126.9 kB / 3.673 GB, free: 180.6 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001461/9.067, allocations: 58.81 kB / 3.673 GB, free: 180.6 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003438/9.07, allocations: 0.7816 MB / 3.674 GB, free: 180.6 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.01e-05/9.07, allocations: 3.406 kB / 3.674 GB, free: 180.6 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.247e-05/9.07, allocations: 3.812 kB / 3.674 GB, free: 180.6 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.219e-05/9.07, allocations: 3.844 kB / 3.674 GB, free: 180.6 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004519/9.075, allocations: 1.58 MB / 3.675 GB, free: 180.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.189e-06/9.075, allocations: 0 / 3.675 GB, free: 180.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002284/9.075, allocations: 47.86 kB / 3.675 GB, free: 180.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-05/9.075, allocations: 8.953 kB / 3.675 GB, free: 180.1 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.556e-05/9.075, allocations: 3.188 kB / 3.675 GB, free: 180.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.634e-06/9.075, allocations: 6.969 kB / 3.675 GB, free: 180.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.815e-06/9.075, allocations: 8.828 kB / 3.675 GB, free: 180.1 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003515/9.079, allocations: 1.197 MB / 3.676 GB, free: 179.7 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002888/9.079, allocations: 162.1 kB / 3.677 GB, free: 179.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.821e-05/9.079, allocations: 7.766 kB / 3.677 GB, free: 179.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002902/9.079, allocations: 14.38 kB / 3.677 GB, free: 179.5 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.394e-05/9.079, allocations: 26.94 kB / 3.677 GB, free: 179.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.941e-05/9.079, allocations: 24.89 kB / 3.677 GB, free: 179.5 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.000449/9.08, allocations: 349.3 kB / 3.677 GB, free: 179.4 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.5e-07/9.08, allocations: 0 / 3.677 GB, free: 179.4 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001641/9.082, allocations: 379.9 kB / 3.677 GB, free: 179.4 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.003352/9.085, allocations: 1.813 MB / 3.679 GB, free: 178.9 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0008997/9.086, allocations: 455.6 kB / 3.68 GB, free: 178.9 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 6.112e-06/9.086, allocations: 3.875 kB / 3.68 GB, free: 178.9 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001901/9.086, allocations: 124.8 kB / 3.68 GB, free: 178.9 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001092/9.087, allocations: 200.6 kB / 3.68 GB, free: 178.9 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004407/9.092, allocations: 1.566 MB / 3.681 GB, free: 178.6 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004839/9.092, allocations: 0.9213 MB / 3.682 GB, free: 177.9 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0008981/9.093, allocations: 204.7 kB / 3.682 GB, free: 177.9 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001034/9.093, allocations: 40.58 kB / 3.683 GB, free: 177.9 MB / 0.8698 GB Notification: Performance of SimCode: time 1.102e-06/9.093, allocations: 0 / 3.683 GB, free: 177.9 MB / 0.8698 GB Notification: Performance of Templates: time 0.02917/9.122, allocations: 16.92 MB / 3.699 GB, free: 176.8 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