Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_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_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.273/2.273, allocations: 387.1 MB / 399.7 MB, free: 9.48 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.001025/0.001025, allocations: 196 kB / 492.3 MB, free: 0.6445 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.544/1.544, allocations: 221.3 MB / 0.7871 GB, free: 12.93 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.0009165/0.0009165, allocations: 90 kB / 0.9267 GB, free: 14 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.188e-05/3.192e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.292/0.292, allocations: 142.3 MB / 1.212 GB, free: 38.57 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.759/6.051, allocations: 1.887 GB / 3.099 GB, free: 430.9 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000296/6.052, allocations: 91.3 kB / 3.099 GB, free: 430.9 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 2.027/8.079, allocations: 0.6044 GB / 3.704 GB, free: 262.4 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.393e-06/8.079, allocations: 0 / 3.704 GB, free: 262.4 MB / 1.151 GB Notification: Performance of Transformations before backend: time 5.763e-05/8.079, allocations: 18.97 kB / 3.704 GB, free: 262.4 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.003194/8.082, allocations: 1.031 MB / 3.705 GB, free: 261.4 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 6.692e-05/8.083, allocations: 8.031 kB / 3.705 GB, free: 261.4 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001278/8.084, allocations: 222.9 kB / 3.705 GB, free: 261.2 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00259/8.086, allocations: 0.8818 MB / 3.706 GB, free: 260.3 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.512e-05/8.087, allocations: 28.78 kB / 3.706 GB, free: 260.2 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.999e-05/8.087, allocations: 40 kB / 3.706 GB, free: 260.2 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008263/8.087, allocations: 491.4 kB / 3.706 GB, free: 259.7 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.799e-05/8.087, allocations: 7.984 kB / 3.706 GB, free: 259.7 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.923e-05/8.088, allocations: 12 kB / 3.706 GB, free: 259.7 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.951e-05/8.088, allocations: 16.78 kB / 3.706 GB, free: 259.7 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006202/8.088, allocations: 383 kB / 3.707 GB, free: 259.3 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.002598/8.091, allocations: 2.149 MB / 3.709 GB, free: 257 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004535/8.091, allocations: 238.7 kB / 3.709 GB, free: 256.8 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001593/8.091, allocations: 120.8 kB / 3.709 GB, free: 256.6 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008535/8.092, allocations: 0.8302 MB / 3.71 GB, free: 255.6 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002515/8.093, allocations: 191.8 kB / 3.71 GB, free: 255.4 MB / 1.151 GB Notification: Performance of pre-optimization done (n=25): time 2.264e-06/8.093, allocations: 0 / 3.71 GB, free: 255.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=25): time 0.0007049/8.093, allocations: 337.9 kB / 3.71 GB, free: 255.1 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/8.093, allocations: 106.8 kB / 3.71 GB, free: 255 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005346/8.094, allocations: 0.5502 MB / 3.711 GB, free: 254.4 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 2.806e-05/8.094, allocations: 33.7 kB / 3.711 GB, free: 254.4 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001679/8.094, allocations: 325.2 kB / 3.711 GB, free: 254 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 5.146e-05/8.094, allocations: 85.81 kB / 3.711 GB, free: 254 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.707e-05/8.094, allocations: 4 kB / 3.711 GB, free: 254 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.943e-05/8.094, allocations: 374.8 kB / 3.712 GB, free: 253.6 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001445/8.094, allocations: 112.7 kB / 3.712 GB, free: 253.5 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002147/8.095, allocations: 281.1 kB / 3.712 GB, free: 253.1 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001936/8.095, allocations: 161.5 kB / 3.712 GB, free: 253 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/8.095, allocations: 4 kB / 3.712 GB, free: 253 MB / 1.151 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005346/8.095, allocations: 433.4 kB / 3.713 GB, free: 252.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003399/8.096, allocations: 1.825 MB / 3.715 GB, free: 250.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/8.096, allocations: 8 kB / 3.715 GB, free: 250.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.191e-05/8.096, allocations: 4 kB / 3.715 GB, free: 250.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002829/8.096, allocations: 91.11 kB / 3.715 GB, free: 250.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.18e-05/8.096, allocations: 8 kB / 3.715 GB, free: 250.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003854/8.096, allocations: 59.52 kB / 3.715 GB, free: 250.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.551e-05/8.097, allocations: 27.98 kB / 3.715 GB, free: 250.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 7.194e-06/8.097, allocations: 4.625 kB / 3.715 GB, free: 250.4 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004393/8.097, allocations: 356.3 kB / 3.715 GB, free: 250 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/8.097, allocations: 4 kB / 3.715 GB, free: 250 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.394e-06/8.097, allocations: 8 kB / 3.715 GB, free: 250 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002583/8.097, allocations: 83.83 kB / 3.715 GB, free: 249.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.73e-06/8.097, allocations: 8.562 kB / 3.715 GB, free: 249.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002833/8.098, allocations: 51.62 kB / 3.715 GB, free: 249.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.284e-05/8.098, allocations: 23.98 kB / 3.715 GB, free: 249.8 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 (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 9.506e-05/8.098, allocations: 133.9 kB / 3.715 GB, free: 249.7 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.514e-05/8.098, allocations: 63.25 kB / 3.715 GB, free: 249.6 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004855/8.098, allocations: 315.4 kB / 3.716 GB, free: 249.3 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.69e-06/8.098, allocations: 3.984 kB / 3.716 GB, free: 249.3 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/8.098, allocations: 4 kB / 3.716 GB, free: 249.3 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/8.098, allocations: 3.953 kB / 3.716 GB, free: 249.3 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001198/8.1, allocations: 1.154 MB / 3.717 GB, free: 248.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/8.1, allocations: 4 kB / 3.717 GB, free: 248.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001774/8.1, allocations: 43.97 kB / 3.717 GB, free: 248 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/8.1, allocations: 4 kB / 3.717 GB, free: 248 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.237e-05/8.1, allocations: 4.094 kB / 3.717 GB, free: 248 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/8.1, allocations: 16.16 kB / 3.717 GB, free: 248 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/8.1, allocations: 4 kB / 3.717 GB, free: 248 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004861/8.1, allocations: 0.5729 MB / 3.718 GB, free: 247.3 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001665/8.1, allocations: 176.2 kB / 3.718 GB, free: 247.1 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.842e-05/8.101, allocations: 7.062 kB / 3.718 GB, free: 247.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002402/8.101, allocations: 15.98 kB / 3.718 GB, free: 247.1 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.372e-05/8.101, allocations: 24.12 kB / 3.718 GB, free: 247.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.033e-05/8.101, allocations: 15.98 kB / 3.718 GB, free: 247.1 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0003823/8.101, allocations: 439.1 kB / 3.718 GB, free: 246.7 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.31e-07/8.101, allocations: 0 / 3.718 GB, free: 246.7 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001269/8.103, allocations: 407.5 kB / 3.719 GB, free: 246.3 MB / 1.151 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.002473/8.105, allocations: 1.665 MB / 3.72 GB, free: 244.8 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0006876/8.106, allocations: 485.3 kB / 3.721 GB, free: 244.4 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/8.106, allocations: 0 / 3.721 GB, free: 244.4 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0001546/8.106, allocations: 131.6 kB / 3.721 GB, free: 244.2 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001122/8.107, allocations: 258.4 kB / 3.721 GB, free: 244 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003599/8.111, allocations: 1.524 MB / 3.722 GB, free: 242.5 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003772/8.111, allocations: 0.9147 MB / 3.723 GB, free: 241.5 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0008644/8.112, allocations: 236.7 kB / 3.724 GB, free: 241.3 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.753e-05/8.112, allocations: 39.44 kB / 3.724 GB, free: 241.3 MB / 1.151 GB Notification: Performance of SimCode: time 1.633e-06/8.112, allocations: 0 / 3.724 GB, free: 241.3 MB / 1.151 GB Notification: Performance of Templates: time 0.03719/8.149, allocations: 30.84 MB / 3.754 GB, free: 210.5 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.makefile (rm -f Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe ; mkfifo Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe >> ../files/Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.sim & ./Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Humidifiers_Validation_SprayAirWasher_X.csv","../files/Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches