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.341/2.341, allocations: 393.5 MB / 408.4 MB, free: 11.11 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.001196/0.001196, allocations: 164 kB / 0.4902 GB, free: 2.277 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.513/1.513, allocations: 223.1 MB / 0.7992 GB, free: 15.66 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.0009681/0.0009679, allocations: 104.2 kB / 0.9396 GB, free: 2.867 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003752/0.0003753, allocations: 8.469 kB / 1.09 GB, free: 212.9 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3018/0.3022, allocations: 143 MB / 1.229 GB, free: 85.54 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.796/5.098, allocations: 1.888 GB / 3.117 GB, free: 73.43 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002525/5.098, allocations: 91.95 kB / 3.117 GB, free: 73.34 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 2.927/8.025, allocations: 0.6049 GB / 3.722 GB, free: 297.2 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.603e-06/8.025, allocations: 3.219 kB / 3.722 GB, free: 297.2 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001316/8.025, allocations: 15.56 kB / 3.722 GB, free: 297.2 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.00432/8.029, allocations: 1.148 MB / 3.723 GB, free: 296.6 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.729e-05/8.029, allocations: 11.83 kB / 3.723 GB, free: 296.6 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001503/8.031, allocations: 213.6 kB / 3.723 GB, free: 296.6 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002846/8.034, allocations: 0.9048 MB / 3.724 GB, free: 296.3 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.333e-05/8.034, allocations: 28.31 kB / 3.724 GB, free: 296.3 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.038e-05/8.034, allocations: 44.69 kB / 3.724 GB, free: 296.3 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009092/8.035, allocations: 0.502 MB / 3.725 GB, free: 296.2 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.546e-05/8.035, allocations: 6.938 kB / 3.725 GB, free: 296.2 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.402e-05/8.035, allocations: 14.62 kB / 3.725 GB, free: 296.2 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.782e-05/8.035, allocations: 16.22 kB / 3.725 GB, free: 296.2 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007846/8.036, allocations: 413 kB / 3.725 GB, free: 296.2 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.002883/8.039, allocations: 2.141 MB / 3.727 GB, free: 295.1 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005495/8.039, allocations: 250.1 kB / 3.727 GB, free: 295 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009674/8.04, allocations: 0.8255 MB / 3.728 GB, free: 294.2 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002895/8.041, allocations: 193.1 kB / 3.728 GB, free: 294.1 MB / 1.167 GB Notification: Performance of pre-optimization done (n=25): time 2.976e-06/8.041, allocations: 0 / 3.728 GB, free: 294.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=25): time 0.001026/8.042, allocations: 435.2 kB / 3.729 GB, free: 294 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.399e-05/8.042, allocations: 109.7 kB / 3.729 GB, free: 293.9 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006269/8.042, allocations: 0.5507 MB / 3.729 GB, free: 293.8 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 3.42e-05/8.042, allocations: 33.39 kB / 3.729 GB, free: 293.8 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002295/8.043, allocations: 325.5 kB / 3.73 GB, free: 293.6 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 6.433e-05/8.043, allocations: 89.06 kB / 3.73 GB, free: 293.6 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.628e-05/8.043, allocations: 7.344 kB / 3.73 GB, free: 293.6 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001197/8.043, allocations: 372.9 kB / 3.73 GB, free: 293.3 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001766/8.043, allocations: 109.3 kB / 3.73 GB, free: 293.3 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000278/8.043, allocations: 293.5 kB / 3.731 GB, free: 293.1 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002435/8.044, allocations: 147.9 kB / 3.731 GB, free: 293.1 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/8.044, allocations: 3.562 kB / 3.731 GB, free: 293.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006412/8.044, allocations: 440.7 kB / 3.731 GB, free: 293 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005245/8.045, allocations: 1.835 MB / 3.733 GB, free: 291.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.298e-05/8.045, allocations: 7.562 kB / 3.733 GB, free: 291.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.019e-05/8.045, allocations: 7.75 kB / 3.733 GB, free: 291.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003272/8.045, allocations: 83.48 kB / 3.733 GB, free: 291.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.467e-05/8.045, allocations: 10.31 kB / 3.733 GB, free: 291.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005312/8.046, allocations: 57.38 kB / 3.733 GB, free: 291.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.105e-05/8.046, allocations: 28.69 kB / 3.733 GB, free: 291.1 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.121e-05/8.046, allocations: 5.906 kB / 3.733 GB, free: 291.1 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005641/8.046, allocations: 363.7 kB / 3.733 GB, free: 291.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/8.046, allocations: 9.125 kB / 3.733 GB, free: 291.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.615e-06/8.046, allocations: 10.41 kB / 3.733 GB, free: 291.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003008/8.047, allocations: 82 kB / 3.734 GB, free: 291.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/8.047, allocations: 9.969 kB / 3.734 GB, free: 291.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003257/8.047, allocations: 46.08 kB / 3.734 GB, free: 291.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.789e-05/8.047, allocations: 21.66 kB / 3.734 GB, free: 291.1 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 (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.0003452/8.047, allocations: 299.2 kB / 3.734 GB, free: 290.9 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.049e-05/8.048, allocations: 64.28 kB / 3.734 GB, free: 290.8 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005932/8.048, allocations: 313.1 kB / 3.734 GB, free: 290.8 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.357e-06/8.048, allocations: 7.188 kB / 3.734 GB, free: 290.8 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/8.048, allocations: 0 / 3.734 GB, free: 290.8 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.818e-06/8.048, allocations: 6.703 kB / 3.734 GB, free: 290.8 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001593/8.05, allocations: 1.151 MB / 3.735 GB, free: 290.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/8.05, allocations: 3.875 kB / 3.735 GB, free: 290.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002055/8.05, allocations: 45.62 kB / 3.735 GB, free: 290.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.612e-06/8.05, allocations: 7.516 kB / 3.735 GB, free: 290.3 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.838e-05/8.05, allocations: 13.12 kB / 3.735 GB, free: 290.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.861e-06/8.05, allocations: 9.625 kB / 3.735 GB, free: 290.3 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/8.05, allocations: 3.625 kB / 3.735 GB, free: 290.3 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006033/8.051, allocations: 0.5729 MB / 3.736 GB, free: 289.9 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002204/8.051, allocations: 175.5 kB / 3.736 GB, free: 289.7 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.294e-05/8.051, allocations: 6.125 kB / 3.736 GB, free: 289.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002739/8.051, allocations: 21.19 kB / 3.736 GB, free: 289.7 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.132e-05/8.051, allocations: 21 kB / 3.736 GB, free: 289.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.546e-05/8.051, allocations: 17.88 kB / 3.736 GB, free: 289.7 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0005226/8.052, allocations: 443.9 kB / 3.737 GB, free: 289.7 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.1e-07/8.052, allocations: 3.719 kB / 3.737 GB, free: 289.7 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001891/8.054, allocations: 417.1 kB / 3.737 GB, free: 289.6 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) * Number of clocked states: 0 () * 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.003575/8.057, allocations: 1.701 MB / 3.739 GB, free: 289.2 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001014/8.058, allocations: 472.7 kB / 3.739 GB, free: 289.2 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/8.058, allocations: 3.719 kB / 3.739 GB, free: 289.2 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.000219/8.059, allocations: 132.6 kB / 3.739 GB, free: 289.2 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001273/8.06, allocations: 260.5 kB / 3.74 GB, free: 289.2 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00455/8.065, allocations: 1.983 MB / 3.742 GB, free: 288.6 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004128/8.065, allocations: 0.9095 MB / 3.742 GB, free: 287.9 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0007695/8.066, allocations: 171.5 kB / 3.743 GB, free: 287.8 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000128/8.066, allocations: 54.69 kB / 3.743 GB, free: 287.8 MB / 1.167 GB Notification: Performance of SimCode: time 1.112e-06/8.066, allocations: 0 / 3.743 GB, free: 287.8 MB / 1.167 GB Notification: Performance of Templates: time 0.0405/8.106, allocations: 26 MB / 3.768 GB, free: 287.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