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.431/2.431, allocations: 393.5 MB / 408.4 MB, free: 10.99 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.001078/0.001078, allocations: 190.7 kB / 0.4902 GB, free: 2.234 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.502/1.502, allocations: 223.2 MB / 0.7992 GB, free: 14.69 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.000947/0.0009471, allocations: 95.69 kB / 0.9396 GB, free: 1.879 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000372/0.0003719, allocations: 10.25 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3078/0.3082, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.3/5.608, allocations: 1.888 GB / 3.117 GB, free: 64.79 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002485/5.609, allocations: 90.45 kB / 3.117 GB, free: 64.74 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 4.533/10.14, allocations: 0.975 GB / 4.092 GB, free: 304.3 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.342e-06/10.14, allocations: 0 / 4.092 GB, free: 304.3 MB / 1.167 GB Notification: Performance of Transformations before backend: time 7.187e-05/10.14, allocations: 20.47 kB / 4.092 GB, free: 304.3 MB / 1.167 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.00357/10.15, allocations: 1.152 MB / 4.093 GB, free: 303.9 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.195e-05/10.15, allocations: 10.42 kB / 4.093 GB, free: 303.9 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001313/10.15, allocations: 213.9 kB / 4.093 GB, free: 303.9 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002528/10.15, allocations: 0.9009 MB / 4.094 GB, free: 303.6 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.627e-05/10.15, allocations: 30.03 kB / 4.094 GB, free: 303.6 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.8e-05/10.15, allocations: 38.31 kB / 4.094 GB, free: 303.6 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001036/10.15, allocations: 0.5127 MB / 4.095 GB, free: 303.6 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.569e-05/10.15, allocations: 0 / 4.095 GB, free: 303.6 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.412e-05/10.15, allocations: 12.91 kB / 4.095 GB, free: 303.6 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.114e-05/10.15, allocations: 20.22 kB / 4.095 GB, free: 303.6 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000855/10.15, allocations: 402.3 kB / 4.095 GB, free: 303.6 MB / 1.167 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.003019/10.15, allocations: 2.155 MB / 4.097 GB, free: 302.4 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006509/10.16, allocations: 278.1 kB / 4.098 GB, free: 302.4 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001087/10.16, allocations: 0.8224 MB / 4.098 GB, free: 301.5 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003506/10.16, allocations: 206.6 kB / 4.099 GB, free: 301.4 MB / 1.167 GB Notification: Performance of pre-optimization done (n=27): time 3.737e-06/10.16, allocations: 0 / 4.099 GB, free: 301.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=27): time 0.00124/10.16, allocations: 466 kB / 4.099 GB, free: 301.4 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.986e-05/10.16, allocations: 111.5 kB / 4.099 GB, free: 301.3 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000906/10.16, allocations: 0.5477 MB / 4.1 GB, free: 301.1 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 4.394e-05/10.16, allocations: 32.89 kB / 4.1 GB, free: 301.1 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003621/10.16, allocations: 326.6 kB / 4.1 GB, free: 301 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 8.732e-05/10.16, allocations: 95.62 kB / 4.1 GB, free: 300.9 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.96e-05/10.16, allocations: 8 kB / 4.1 GB, free: 300.9 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.00013/10.16, allocations: 378.8 kB / 4.1 GB, free: 300.6 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002265/10.16, allocations: 113.7 kB / 4.101 GB, free: 300.6 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003704/10.16, allocations: 307.1 kB / 4.101 GB, free: 300.4 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003133/10.16, allocations: 167.8 kB / 4.101 GB, free: 300.4 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/10.16, allocations: 1.469 kB / 4.101 GB, free: 300.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.000849/10.16, allocations: 469.1 kB / 4.101 GB, free: 300.3 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004385/10.16, allocations: 1.837 MB / 4.103 GB, free: 298.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.509e-05/10.16, allocations: 4.75 kB / 4.103 GB, free: 298.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.206e-05/10.16, allocations: 7.969 kB / 4.103 GB, free: 298.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004058/10.16, allocations: 88.22 kB / 4.103 GB, free: 298.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.86e-05/10.16, allocations: 14.09 kB / 4.103 GB, free: 298.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005166/10.16, allocations: 65.38 kB / 4.103 GB, free: 298.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.205e-05/10.16, allocations: 25.22 kB / 4.103 GB, free: 298.4 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 9.578e-06/10.16, allocations: 4.25 kB / 4.103 GB, free: 298.4 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006826/10.16, allocations: 386.3 kB / 4.104 GB, free: 298.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/10.16, allocations: 5.969 kB / 4.104 GB, free: 298.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/10.16, allocations: 6.906 kB / 4.104 GB, free: 298.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003538/10.16, allocations: 81.33 kB / 4.104 GB, free: 298.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.271e-05/10.16, allocations: 15.19 kB / 4.104 GB, free: 298.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003607/10.16, allocations: 53.17 kB / 4.104 GB, free: 298.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.795e-05/10.16, allocations: 25.8 kB / 4.104 GB, free: 298.4 MB / 1.167 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 () * Number of clocked 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.0003493/10.16, allocations: 293.3 kB / 4.104 GB, free: 298.2 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001001/10.17, allocations: 70.86 kB / 4.104 GB, free: 298.2 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006924/10.17, allocations: 332.4 kB / 4.105 GB, free: 298.1 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.12e-05/10.17, allocations: 3.719 kB / 4.105 GB, free: 298.1 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/10.17, allocations: 0.9375 kB / 4.105 GB, free: 298.1 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.697e-06/10.17, allocations: 1 kB / 4.105 GB, free: 298.1 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001828/10.17, allocations: 1.192 MB / 4.106 GB, free: 297.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/10.17, allocations: 2.875 kB / 4.106 GB, free: 297.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002705/10.17, allocations: 45.64 kB / 4.106 GB, free: 297.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.528e-06/10.17, allocations: 3.969 kB / 4.106 GB, free: 297.6 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.325e-05/10.17, allocations: 8.688 kB / 4.106 GB, free: 297.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.125e-06/10.17, allocations: 7.641 kB / 4.106 GB, free: 297.6 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.514e-06/10.17, allocations: 7.312 kB / 4.106 GB, free: 297.6 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001004/10.17, allocations: 0.7347 MB / 4.107 GB, free: 297.2 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002458/10.17, allocations: 174.4 kB / 4.107 GB, free: 297.1 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.952e-05/10.17, allocations: 9 kB / 4.107 GB, free: 297.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002778/10.17, allocations: 20.86 kB / 4.107 GB, free: 297.1 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.25e-05/10.17, allocations: 20.97 kB / 4.107 GB, free: 297.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.784e-05/10.17, allocations: 16.92 kB / 4.107 GB, free: 297.1 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0006312/10.17, allocations: 452.3 kB / 4.107 GB, free: 297 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.51e-07/10.17, allocations: 3.375 kB / 4.107 GB, free: 297 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001817/10.17, allocations: 417.9 kB / 4.108 GB, free: 297 MB / 1.167 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) * Number of clocked states: 0 () * 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.003238/10.18, allocations: 1.701 MB / 4.109 GB, free: 296.6 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001037/10.18, allocations: 0.4997 MB / 4.11 GB, free: 296.6 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/10.18, allocations: 3.281 kB / 4.11 GB, free: 296.6 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0002009/10.18, allocations: 132.6 kB / 4.11 GB, free: 296.6 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001189/10.18, allocations: 264.6 kB / 4.11 GB, free: 296.6 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004411/10.18, allocations: 2.146 MB / 4.112 GB, free: 296 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003476/10.18, allocations: 0.9141 MB / 4.113 GB, free: 295.3 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0007112/10.18, allocations: 171.8 kB / 4.113 GB, free: 295.2 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001272/10.18, allocations: 51.55 kB / 4.113 GB, free: 295.2 MB / 1.167 GB Notification: Performance of SimCode: time 1.603e-06/10.18, allocations: 3.938 kB / 4.113 GB, free: 295.2 MB / 1.167 GB Notification: Performance of Templates: time 0.03995/10.22, allocations: 26.19 MB / 4.139 GB, free: 294.9 MB / 1.167 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