Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.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_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_latest_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_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.382/2.382, allocations: 390.5 MB / 398 MB, free: 10.97 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.001105/0.001105, allocations: 180.5 kB / 491.2 MB, free: 1.598 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.644/1.644, allocations: 221.5 MB / 0.7868 GB, free: 13.3 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.0008819/0.0008818, allocations: 95.94 kB / 0.9269 GB, free: 13.8 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.7e-05/1.703e-05, allocations: 7.984 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2857/0.2857, allocations: 143 MB / 1.212 GB, free: 39.59 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.274/5.56, allocations: 1.888 GB / 3.1 GB, free: 432.7 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003015/5.56, allocations: 85.75 kB / 3.101 GB, free: 432.7 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 2.147/7.707, allocations: 0.5985 GB / 3.699 GB, free: 274.6 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.884e-06/7.707, allocations: 0 / 3.699 GB, free: 274.6 MB / 1.151 GB Notification: Performance of Transformations before backend: time 9.857e-05/7.707, allocations: 16 kB / 3.699 GB, free: 274.6 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.003478/7.711, allocations: 1.049 MB / 3.7 GB, free: 273.6 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/7.711, allocations: 8.031 kB / 3.7 GB, free: 273.6 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001457/7.712, allocations: 221.2 kB / 3.7 GB, free: 273.4 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00265/7.715, allocations: 0.8925 MB / 3.701 GB, free: 272.5 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.004e-05/7.715, allocations: 12 kB / 3.701 GB, free: 272.5 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001151/7.715, allocations: 27.98 kB / 3.701 GB, free: 272.5 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006303/7.716, allocations: 340.3 kB / 3.702 GB, free: 272.1 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006842/7.717, allocations: 443.9 kB / 3.702 GB, free: 271.7 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.715e-05/7.717, allocations: 0 / 3.702 GB, free: 271.7 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.133e-05/7.717, allocations: 0 / 3.702 GB, free: 271.7 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.562e-05/7.717, allocations: 16.47 kB / 3.702 GB, free: 271.7 MB / 1.151 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.002793/7.719, allocations: 2.059 MB / 3.704 GB, free: 269.5 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004589/7.72, allocations: 261.8 kB / 3.704 GB, free: 269.2 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001553/7.72, allocations: 118.8 kB / 3.704 GB, free: 269.1 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009191/7.721, allocations: 0.8177 MB / 3.705 GB, free: 268.1 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002679/7.721, allocations: 195.1 kB / 3.705 GB, free: 267.9 MB / 1.151 GB Notification: Performance of pre-optimization done (n=27): time 1.843e-06/7.721, allocations: 0 / 3.705 GB, free: 267.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=27): time 0.003677/7.725, allocations: 0.8204 MB / 3.706 GB, free: 267.1 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.722e-05/7.725, allocations: 111 kB / 3.706 GB, free: 267 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006644/7.726, allocations: 450.2 kB / 3.707 GB, free: 266.6 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 5.148e-05/7.726, allocations: 28.55 kB / 3.707 GB, free: 266.5 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002553/7.726, allocations: 332.5 kB / 3.707 GB, free: 266.2 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 9.366e-05/7.726, allocations: 100.8 kB / 3.707 GB, free: 266.1 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.937e-05/7.726, allocations: 0 / 3.707 GB, free: 266.1 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001309/7.726, allocations: 366.8 kB / 3.707 GB, free: 265.8 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001616/7.726, allocations: 104.8 kB / 3.708 GB, free: 265.7 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002694/7.727, allocations: 289.9 kB / 3.708 GB, free: 265.3 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002937/7.73, allocations: 0.6526 MB / 3.708 GB, free: 264.7 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.111e-06/7.73, allocations: 0 / 3.708 GB, free: 264.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.003385/7.733, allocations: 0.9014 MB / 3.709 GB, free: 263.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005671/7.734, allocations: 1.833 MB / 3.711 GB, free: 261.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.903e-05/7.734, allocations: 7.156 kB / 3.711 GB, free: 261.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.919e-05/7.734, allocations: 8 kB / 3.711 GB, free: 261.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003424/7.734, allocations: 83.89 kB / 3.711 GB, free: 261.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.167e-05/7.734, allocations: 15.92 kB / 3.711 GB, free: 261.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005112/7.735, allocations: 46.36 kB / 3.711 GB, free: 261.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.164e-05/7.735, allocations: 24 kB / 3.711 GB, free: 261.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/7.735, allocations: 5.25 kB / 3.711 GB, free: 261.7 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00318/7.738, allocations: 0.8108 MB / 3.712 GB, free: 260.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.777e-06/7.738, allocations: 8 kB / 3.712 GB, free: 260.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.367e-06/7.738, allocations: 8.094 kB / 3.712 GB, free: 260.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003091/7.738, allocations: 95.72 kB / 3.712 GB, free: 260.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/7.738, allocations: 11.98 kB / 3.712 GB, free: 260.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004294/7.739, allocations: 38.73 kB / 3.712 GB, free: 260.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.945e-05/7.739, allocations: 24 kB / 3.712 GB, free: 260.7 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 0.0001444/7.739, allocations: 112.9 kB / 3.712 GB, free: 260.6 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001104/7.739, allocations: 61.52 kB / 3.712 GB, free: 260.5 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00325/7.742, allocations: 0.7876 MB / 3.713 GB, free: 259.8 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.338e-06/7.742, allocations: 4 kB / 3.713 GB, free: 259.8 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.754e-06/7.742, allocations: 11.95 kB / 3.713 GB, free: 259.7 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/7.742, allocations: 0 / 3.713 GB, free: 259.7 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004065/7.746, allocations: 1.591 MB / 3.715 GB, free: 258.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.843e-06/7.746, allocations: 4 kB / 3.715 GB, free: 258.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002348/7.747, allocations: 51.91 kB / 3.715 GB, free: 258 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.017e-06/7.747, allocations: 7.953 kB / 3.715 GB, free: 258 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.805e-05/7.747, allocations: 7.984 kB / 3.715 GB, free: 258 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.703e-06/7.747, allocations: 11.02 kB / 3.715 GB, free: 258 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/7.747, allocations: 0 / 3.715 GB, free: 258 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003354/7.75, allocations: 1.195 MB / 3.716 GB, free: 256.7 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002819/7.75, allocations: 172.4 kB / 3.716 GB, free: 256.5 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000119/7.751, allocations: 4 kB / 3.716 GB, free: 256.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002935/7.751, allocations: 12.06 kB / 3.716 GB, free: 256.5 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.515e-05/7.751, allocations: 35.66 kB / 3.716 GB, free: 256.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.462e-05/7.751, allocations: 11.98 kB / 3.716 GB, free: 256.5 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0004307/7.751, allocations: 342.9 kB / 3.717 GB, free: 256.1 MB / 1.151 GB Notification: Performance of sort global known variables: time 3.51e-07/7.751, allocations: 0 / 3.717 GB, free: 256.1 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001504/7.753, allocations: 375.3 kB / 3.717 GB, free: 255.8 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.003128/7.756, allocations: 1.816 MB / 3.719 GB, free: 254.2 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.000855/7.757, allocations: 483.3 kB / 3.719 GB, free: 253.8 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/7.757, allocations: 0 / 3.719 GB, free: 253.8 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0001894/7.757, allocations: 132.8 kB / 3.719 GB, free: 253.6 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00106/7.758, allocations: 198.7 kB / 3.72 GB, free: 253.5 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00411/7.762, allocations: 1.645 MB / 3.721 GB, free: 251.8 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004318/7.763, allocations: 0.9067 MB / 3.722 GB, free: 250.9 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0008879/7.764, allocations: 208.4 kB / 3.722 GB, free: 250.7 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001089/7.764, allocations: 43.42 kB / 3.722 GB, free: 250.6 MB / 1.151 GB Notification: Performance of SimCode: time 2.756e-06/7.764, allocations: 0 / 3.722 GB, free: 250.6 MB / 1.151 GB Notification: Performance of Templates: time 0.0269/7.791, allocations: 16.85 MB / 3.739 GB, free: 234 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.makefile (rm -f Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe >> ../files/Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.sim & ./Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Humidifiers_Validation_SteamHumidifier_X_dynamic.csv","../files/Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches