Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.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,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") translateModel(Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.297/2.297, allocations: 390.3 MB / 402.8 MB, free: 6.711 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.0009595/0.0009594, allocations: 180.8 kB / 496.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.592/1.592, allocations: 221.3 MB / 0.7915 GB, free: 5.348 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.000883/0.0008832, allocations: 88.02 kB / 0.9317 GB, free: 5.656 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.324e-05/3.334e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.307/0.307, allocations: 143 MB / 1.219 GB, free: 13.51 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.011/6.318, allocations: 1.888 GB / 3.106 GB, free: 356.9 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002627/6.319, allocations: 82.42 kB / 3.106 GB, free: 356.9 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 2.091/8.409, allocations: 0.6044 GB / 3.711 GB, free: 218.4 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.423e-06/8.409, allocations: 0 / 3.711 GB, free: 218.4 MB / 1.167 GB Notification: Performance of Transformations before backend: time 8.288e-05/8.409, allocations: 19.98 kB / 3.711 GB, free: 218.4 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.00312/8.412, allocations: 1.03 MB / 3.712 GB, free: 217.3 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/8.413, allocations: 12.03 kB / 3.712 GB, free: 217.3 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001393/8.414, allocations: 218.9 kB / 3.712 GB, free: 217.1 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002494/8.416, allocations: 0.8893 MB / 3.713 GB, free: 216.2 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.807e-05/8.417, allocations: 28.78 kB / 3.713 GB, free: 216.2 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000103/8.417, allocations: 43.94 kB / 3.713 GB, free: 216.1 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008086/8.417, allocations: 0.4888 MB / 3.713 GB, free: 215.6 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.468e-05/8.417, allocations: 0 / 3.713 GB, free: 215.6 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.268e-05/8.418, allocations: 15.94 kB / 3.713 GB, free: 215.6 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.338e-05/8.418, allocations: 16.78 kB / 3.713 GB, free: 215.6 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006128/8.418, allocations: 379 kB / 3.714 GB, free: 215.2 MB / 1.167 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.00279/8.421, allocations: 2.138 MB / 3.716 GB, free: 212.9 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004803/8.421, allocations: 244.1 kB / 3.716 GB, free: 212.6 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001676/8.422, allocations: 128.8 kB / 3.716 GB, free: 212.5 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008485/8.423, allocations: 0.822 MB / 3.717 GB, free: 211.5 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002368/8.423, allocations: 192.6 kB / 3.717 GB, free: 211.3 MB / 1.167 GB Notification: Performance of pre-optimization done (n=25): time 1.994e-06/8.423, allocations: 0 / 3.717 GB, free: 211.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=25): time 0.0008012/8.424, allocations: 338 kB / 3.718 GB, free: 211 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.974e-05/8.424, allocations: 106.8 kB / 3.718 GB, free: 210.8 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005968/8.424, allocations: 0.5502 MB / 3.718 GB, free: 210.3 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 3.65e-05/8.424, allocations: 33.7 kB / 3.718 GB, free: 210.2 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001739/8.424, allocations: 323.7 kB / 3.719 GB, free: 209.9 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 6.335e-05/8.425, allocations: 86.75 kB / 3.719 GB, free: 209.8 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.86e-05/8.425, allocations: 12 kB / 3.719 GB, free: 209.8 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.551e-05/8.425, allocations: 374.7 kB / 3.719 GB, free: 209.5 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001572/8.425, allocations: 108.6 kB / 3.719 GB, free: 209.3 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00022/8.425, allocations: 285.1 kB / 3.719 GB, free: 209 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002277/8.425, allocations: 153.7 kB / 3.72 GB, free: 208.8 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/8.425, allocations: 0 / 3.72 GB, free: 208.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006048/8.426, allocations: 433.7 kB / 3.72 GB, free: 208.4 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003484/8.426, allocations: 1.829 MB / 3.722 GB, free: 206.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/8.426, allocations: 4 kB / 3.722 GB, free: 206.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.077e-05/8.426, allocations: 8 kB / 3.722 GB, free: 206.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002953/8.427, allocations: 83.83 kB / 3.722 GB, free: 206.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.481e-05/8.427, allocations: 15.95 kB / 3.722 GB, free: 206.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004391/8.427, allocations: 59.52 kB / 3.722 GB, free: 206.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.193e-05/8.427, allocations: 23.98 kB / 3.722 GB, free: 206.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.152e-05/8.427, allocations: 4.625 kB / 3.722 GB, free: 206.2 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004929/8.428, allocations: 352.8 kB / 3.722 GB, free: 205.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/8.428, allocations: 4 kB / 3.722 GB, free: 205.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.709e-06/8.428, allocations: 8 kB / 3.722 GB, free: 205.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002761/8.428, allocations: 88.39 kB / 3.722 GB, free: 205.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/8.428, allocations: 8.094 kB / 3.722 GB, free: 205.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004321/8.428, allocations: 47.61 kB / 3.722 GB, free: 205.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.854e-05/8.428, allocations: 27.98 kB / 3.722 GB, free: 205.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 45 * 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.0001465/8.429, allocations: 134.3 kB / 3.723 GB, free: 205.6 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001111/8.429, allocations: 59.25 kB / 3.723 GB, free: 205.5 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006225/8.429, allocations: 315.8 kB / 3.723 GB, free: 205.2 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/8.429, allocations: 7.984 kB / 3.723 GB, free: 205.2 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/8.429, allocations: 0 / 3.723 GB, free: 205.2 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/8.429, allocations: 0 / 3.723 GB, free: 205.2 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001675/8.431, allocations: 1.162 MB / 3.724 GB, free: 203.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/8.431, allocations: 0 / 3.724 GB, free: 203.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001895/8.431, allocations: 47.97 kB / 3.724 GB, free: 203.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.101e-06/8.431, allocations: 0 / 3.724 GB, free: 203.9 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.511e-05/8.431, allocations: 16.27 kB / 3.724 GB, free: 203.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.453e-06/8.431, allocations: 11.94 kB / 3.724 GB, free: 203.9 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/8.431, allocations: 3.938 kB / 3.724 GB, free: 203.9 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006153/8.432, allocations: 0.5726 MB / 3.725 GB, free: 203.2 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002947/8.432, allocations: 176.2 kB / 3.725 GB, free: 203 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001017/8.432, allocations: 8 kB / 3.725 GB, free: 203 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003003/8.433, allocations: 11.98 kB / 3.725 GB, free: 203 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.077e-05/8.433, allocations: 23.98 kB / 3.725 GB, free: 203 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.58e-05/8.433, allocations: 15.98 kB / 3.725 GB, free: 202.9 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0005442/8.433, allocations: 435.1 kB / 3.725 GB, free: 202.5 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.61e-07/8.433, allocations: 0 / 3.725 GB, free: 202.5 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002083/8.436, allocations: 415.5 kB / 3.726 GB, free: 202.1 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * 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 (26): * Single equations (assignments): 24 * 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.003774/8.439, allocations: 1.656 MB / 3.727 GB, free: 200.5 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0008626/8.44, allocations: 490 kB / 3.728 GB, free: 200.1 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/8.44, allocations: 0 / 3.728 GB, free: 200.1 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001988/8.44, allocations: 127.8 kB / 3.728 GB, free: 199.9 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001364/8.442, allocations: 256.4 kB / 3.728 GB, free: 199.7 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004021/8.446, allocations: 1.533 MB / 3.73 GB, free: 198.1 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004169/8.446, allocations: 0.9175 MB / 3.731 GB, free: 197.2 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0008762/8.447, allocations: 228.8 kB / 3.731 GB, free: 196.9 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.99e-05/8.447, allocations: 43.42 kB / 3.731 GB, free: 196.9 MB / 1.167 GB Notification: Performance of SimCode: time 8.82e-07/8.447, allocations: 0 / 3.731 GB, free: 196.9 MB / 1.167 GB Notification: Performance of Templates: time 0.03738/8.485, allocations: 30.84 MB / 3.761 GB, free: 166.1 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.makefile (rm -f Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe >> ../files/Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.sim & ./Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Humidifiers_Validation_SprayAirWasher_X.csv","../files/Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches