Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_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.SprayAirWasher_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.SprayAirWasher_X_dynamic") translateModel(Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_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.SprayAirWasher_X_dynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.632/2.632, allocations: 390.5 MB / 398 MB, free: 10.91 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.00124/0.00124, allocations: 184.7 kB / 491.2 MB, free: 1.551 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.574/1.574, 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.001046/0.001046, allocations: 99.28 kB / 0.9269 GB, free: 13.79 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.133e-05/2.136e-05, allocations: 4 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3012/0.3012, allocations: 143 MB / 1.212 GB, free: 39.54 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.84/6.141, allocations: 1.887 GB / 3.099 GB, free: 352.9 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002522/6.142, allocations: 86.86 kB / 3.099 GB, free: 352.9 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 3.584/9.725, allocations: 0.9638 GB / 4.063 GB, free: 273.1 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.805e-06/9.725, allocations: 3.938 kB / 4.063 GB, free: 273.1 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001267/9.725, allocations: 18.16 kB / 4.063 GB, free: 273.1 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: 97 * Number of variables: 97 Notification: Performance of Generate backend data structure: time 0.003646/9.729, allocations: 1.032 MB / 4.064 GB, free: 272.4 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.722e-05/9.729, allocations: 7.312 kB / 4.064 GB, free: 272.4 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0015/9.731, allocations: 222.2 kB / 4.064 GB, free: 272.3 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003077/9.734, allocations: 0.8871 MB / 4.065 GB, free: 271.7 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.021e-05/9.734, allocations: 11 kB / 4.065 GB, free: 271.7 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001667/9.734, allocations: 22.97 kB / 4.065 GB, free: 271.7 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007725/9.735, allocations: 334.6 kB / 4.066 GB, free: 271.5 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000789/9.735, allocations: 445 kB / 4.066 GB, free: 271.3 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.887e-05/9.735, allocations: 0 / 4.066 GB, free: 271.3 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.613e-05/9.736, allocations: 4 kB / 4.066 GB, free: 271.3 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.776e-05/9.736, allocations: 22.02 kB / 4.066 GB, free: 271.2 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.003184/9.739, allocations: 2.063 MB / 4.068 GB, free: 269.5 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005226/9.739, allocations: 262.7 kB / 4.068 GB, free: 269.4 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001629/9.739, allocations: 115.9 kB / 4.068 GB, free: 269.3 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001058/9.741, allocations: 0.8264 MB / 4.069 GB, free: 268.4 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002931/9.741, allocations: 190.8 kB / 4.069 GB, free: 268.3 MB / 1.151 GB Notification: Performance of pre-optimization done (n=27): time 2.054e-06/9.741, allocations: 3.312 kB / 4.069 GB, free: 268.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=27): time 0.003958/9.745, allocations: 0.8186 MB / 4.07 GB, free: 267.9 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.051e-05/9.745, allocations: 105.4 kB / 4.07 GB, free: 267.8 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009661/9.746, allocations: 454.7 kB / 4.071 GB, free: 267.6 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 7.199e-05/9.746, allocations: 25.7 kB / 4.071 GB, free: 267.5 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004055/9.746, allocations: 331.1 kB / 4.071 GB, free: 267.3 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001303/9.747, allocations: 94.75 kB / 4.071 GB, free: 267.2 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.103e-05/9.747, allocations: 0 / 4.071 GB, free: 267.2 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001828/9.747, allocations: 372.4 kB / 4.072 GB, free: 266.8 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001944/9.747, allocations: 105.4 kB / 4.072 GB, free: 266.8 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003599/9.747, allocations: 291.2 kB / 4.072 GB, free: 266.5 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003263/9.751, allocations: 0.6478 MB / 4.073 GB, free: 266.3 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.231e-05/9.751, allocations: 3.312 kB / 4.073 GB, free: 266.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.00372/9.754, allocations: 0.9045 MB / 4.073 GB, free: 265.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005836/9.755, allocations: 1.836 MB / 4.075 GB, free: 263.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.965e-05/9.755, allocations: 3.719 kB / 4.075 GB, free: 263.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.46e-05/9.755, allocations: 9.812 kB / 4.075 GB, free: 263.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003578/9.755, allocations: 82.23 kB / 4.075 GB, free: 263.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.84e-05/9.755, allocations: 19.2 kB / 4.075 GB, free: 263.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006625/9.756, allocations: 43.16 kB / 4.075 GB, free: 263.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.491e-05/9.756, allocations: 17.41 kB / 4.075 GB, free: 263.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/9.756, allocations: 6.688 kB / 4.075 GB, free: 263.9 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003399/9.76, allocations: 0.8195 MB / 4.076 GB, free: 263.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/9.76, allocations: 3.375 kB / 4.076 GB, free: 263.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/9.76, allocations: 7.719 kB / 4.076 GB, free: 263.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003235/9.76, allocations: 92.48 kB / 4.076 GB, free: 263.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.117e-05/9.76, allocations: 10.92 kB / 4.076 GB, free: 263.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005246/9.761, allocations: 40.02 kB / 4.076 GB, free: 263.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.063e-05/9.761, allocations: 20.41 kB / 4.076 GB, free: 263.6 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.000168/9.761, allocations: 122.5 kB / 4.077 GB, free: 263.4 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001729/9.761, allocations: 56.12 kB / 4.077 GB, free: 263.4 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003332/9.764, allocations: 0.7958 MB / 4.077 GB, free: 263.1 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.792e-06/9.764, allocations: 3.75 kB / 4.077 GB, free: 263.1 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/9.764, allocations: 0 / 4.077 GB, free: 263.1 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.093e-06/9.764, allocations: 7.656 kB / 4.077 GB, free: 263.1 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004244/9.769, allocations: 1.591 MB / 4.079 GB, free: 262 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/9.769, allocations: 2.344 kB / 4.079 GB, free: 262 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002405/9.769, allocations: 51.19 kB / 4.079 GB, free: 262 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.077e-06/9.769, allocations: 0 / 4.079 GB, free: 262 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.772e-05/9.769, allocations: 15.2 kB / 4.079 GB, free: 262 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.132e-06/9.769, allocations: 15.36 kB / 4.079 GB, free: 262 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/9.769, allocations: 3.969 kB / 4.079 GB, free: 262 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003442/9.772, allocations: 1.197 MB / 4.08 GB, free: 261.3 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002973/9.773, allocations: 166 kB / 4.08 GB, free: 261.1 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001186/9.773, allocations: 7.828 kB / 4.08 GB, free: 261.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002872/9.773, allocations: 10.58 kB / 4.08 GB, free: 261.1 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.199e-05/9.773, allocations: 33.8 kB / 4.08 GB, free: 261.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.428e-05/9.773, allocations: 10.97 kB / 4.08 GB, free: 261.1 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0004281/9.774, allocations: 349.2 kB / 4.081 GB, free: 260.9 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.4e-07/9.774, allocations: 0 / 4.081 GB, free: 260.9 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001484/9.775, allocations: 385.3 kB / 4.081 GB, free: 260.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.002977/9.778, allocations: 1.801 MB / 4.083 GB, free: 260.2 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0008487/9.779, allocations: 480.3 kB / 4.083 GB, free: 260 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/9.779, allocations: 0 / 4.083 GB, free: 260 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0001782/9.779, allocations: 129.3 kB / 4.083 GB, free: 259.9 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001048/9.78, allocations: 204.4 kB / 4.084 GB, free: 259.8 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004001/9.784, allocations: 1.638 MB / 4.085 GB, free: 259 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003824/9.785, allocations: 0.9099 MB / 4.086 GB, free: 258.2 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.000848/9.786, allocations: 202.9 kB / 4.086 GB, free: 258.1 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.769e-05/9.786, allocations: 38.34 kB / 4.086 GB, free: 258.1 MB / 1.151 GB Notification: Performance of SimCode: time 1.202e-06/9.786, allocations: 0 / 4.086 GB, free: 258.1 MB / 1.151 GB Notification: Performance of Templates: time 0.02616/9.812, allocations: 16.85 MB / 4.103 GB, free: 247.6 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.makefile (rm -f Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe >> ../files/Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.sim & ./Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Humidifiers_Validation_SprayAirWasher_X_dynamic.csv","../files/Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches