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.517/2.517, allocations: 390.3 MB / 405.3 MB, free: 13.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.001109/0.001109, allocations: 182.9 kB / 498.1 MB, free: 5.75 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.585/1.585, allocations: 223.2 MB / 0.7948 GB, free: 18.87 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.000886/0.000886, allocations: 98.36 kB / 0.9346 GB, free: 7.164 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004699/0.0004698, allocations: 14.69 kB / 1.084 GB, free: 212.5 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3491/0.3496, allocations: 142.3 MB / 1.223 GB, free: 89.58 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.774/5.123, allocations: 1.887 GB / 3.11 GB, free: 62.24 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002691/5.124, allocations: 95.88 kB / 3.11 GB, free: 62.19 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 3.01/8.134, allocations: 0.6049 GB / 3.715 GB, free: 304.4 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.342e-06/8.134, allocations: 7.656 kB / 3.715 GB, free: 304.4 MB / 1.167 GB Notification: Performance of Transformations before backend: time 6.406e-05/8.134, allocations: 19.19 kB / 3.715 GB, free: 304.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.003587/8.138, allocations: 1.135 MB / 3.716 GB, free: 303.8 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.316e-05/8.138, allocations: 11.56 kB / 3.716 GB, free: 303.8 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001297/8.139, allocations: 215.2 kB / 3.716 GB, free: 303.8 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00256/8.142, allocations: 0.9022 MB / 3.717 GB, free: 303.5 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.126e-05/8.142, allocations: 30.56 kB / 3.717 GB, free: 303.5 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.594e-05/8.142, allocations: 46.2 kB / 3.717 GB, free: 303.5 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009512/8.143, allocations: 0.4997 MB / 3.717 GB, free: 303.4 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.7e-05/8.143, allocations: 3.781 kB / 3.717 GB, free: 303.4 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.681e-05/8.143, allocations: 13.62 kB / 3.717 GB, free: 303.4 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.056e-05/8.143, allocations: 19.66 kB / 3.717 GB, free: 303.4 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008141/8.144, allocations: 417.3 kB / 3.718 GB, free: 303.4 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.003001/8.147, allocations: 2.131 MB / 3.72 GB, free: 302.3 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005577/8.147, allocations: 249.5 kB / 3.72 GB, free: 302.2 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001021/8.148, allocations: 0.8229 MB / 3.721 GB, free: 301.4 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002954/8.148, allocations: 204.7 kB / 3.721 GB, free: 301.3 MB / 1.167 GB Notification: Performance of pre-optimization done (n=25): time 2.836e-06/8.148, allocations: 0 / 3.721 GB, free: 301.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=25): time 0.001031/8.15, allocations: 434.5 kB / 3.722 GB, free: 301.2 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.65e-05/8.15, allocations: 106.3 kB / 3.722 GB, free: 301.1 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006637/8.15, allocations: 0.5506 MB / 3.722 GB, free: 301 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 3.638e-05/8.15, allocations: 32.11 kB / 3.722 GB, free: 301 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002413/8.151, allocations: 331.9 kB / 3.723 GB, free: 300.8 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 7.213e-05/8.151, allocations: 91.17 kB / 3.723 GB, free: 300.8 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.691e-05/8.151, allocations: 6.688 kB / 3.723 GB, free: 300.8 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001344/8.151, allocations: 370.3 kB / 3.723 GB, free: 300.5 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001792/8.151, allocations: 111.5 kB / 3.723 GB, free: 300.5 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002906/8.151, allocations: 285.8 kB / 3.723 GB, free: 300.3 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002438/8.152, allocations: 155.1 kB / 3.724 GB, free: 300.3 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.297e-06/8.152, allocations: 96 / 3.724 GB, free: 300.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006618/8.152, allocations: 446.1 kB / 3.724 GB, free: 300.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005319/8.153, allocations: 1.836 MB / 3.726 GB, free: 298.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.352e-05/8.153, allocations: 5.391 kB / 3.726 GB, free: 298.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.252e-05/8.153, allocations: 7.812 kB / 3.726 GB, free: 298.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003251/8.153, allocations: 85.56 kB / 3.726 GB, free: 298.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.643e-05/8.153, allocations: 10.75 kB / 3.726 GB, free: 298.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004882/8.154, allocations: 59.52 kB / 3.726 GB, free: 298.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.839e-05/8.154, allocations: 28.36 kB / 3.726 GB, free: 298.3 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 9.207e-06/8.154, allocations: 4.719 kB / 3.726 GB, free: 298.3 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005322/8.154, allocations: 360.1 kB / 3.726 GB, free: 298.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.8e-06/8.154, allocations: 6.031 kB / 3.726 GB, free: 298.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.662e-06/8.154, allocations: 6.531 kB / 3.726 GB, free: 298.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002813/8.155, allocations: 82.78 kB / 3.726 GB, free: 298.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.804e-06/8.155, allocations: 10.88 kB / 3.726 GB, free: 298.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003177/8.155, allocations: 47.27 kB / 3.726 GB, free: 298.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.968e-05/8.155, allocations: 27.61 kB / 3.726 GB, free: 298.3 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.0003223/8.155, allocations: 293.4 kB / 3.727 GB, free: 298.1 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.763e-05/8.155, allocations: 58.78 kB / 3.727 GB, free: 298 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006098/8.156, allocations: 318.6 kB / 3.727 GB, free: 298 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/8.156, allocations: 3.125 kB / 3.727 GB, free: 298 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.478e-06/8.156, allocations: 0 / 3.727 GB, free: 298 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/8.156, allocations: 6.922 kB / 3.727 GB, free: 298 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001488/8.158, allocations: 1.167 MB / 3.728 GB, free: 297.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/8.158, allocations: 0 / 3.728 GB, free: 297.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001916/8.158, allocations: 43.03 kB / 3.728 GB, free: 297.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.512e-06/8.158, allocations: 7.734 kB / 3.728 GB, free: 297.5 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.409e-05/8.158, allocations: 10.16 kB / 3.728 GB, free: 297.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.618e-06/8.158, allocations: 6.781 kB / 3.728 GB, free: 297.5 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/8.158, allocations: 6.406 kB / 3.728 GB, free: 297.5 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005947/8.158, allocations: 0.58 MB / 3.729 GB, free: 297.1 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002254/8.159, allocations: 169 kB / 3.729 GB, free: 296.9 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.996e-05/8.159, allocations: 7.625 kB / 3.729 GB, free: 296.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002527/8.159, allocations: 15.27 kB / 3.729 GB, free: 296.9 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.774e-05/8.159, allocations: 30.2 kB / 3.729 GB, free: 296.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.052e-05/8.159, allocations: 9.906 kB / 3.729 GB, free: 296.9 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0005365/8.16, allocations: 442.8 kB / 3.73 GB, free: 296.8 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.41e-07/8.16, allocations: 0 / 3.73 GB, free: 296.8 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001684/8.161, allocations: 416 kB / 3.73 GB, free: 296.8 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.003384/8.165, allocations: 1.709 MB / 3.732 GB, free: 296.4 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0009642/8.166, allocations: 480.3 kB / 3.732 GB, free: 296.4 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/8.166, allocations: 0 / 3.732 GB, free: 296.4 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0002069/8.166, allocations: 129.7 kB / 3.732 GB, free: 296.4 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001323/8.167, allocations: 263.2 kB / 3.732 GB, free: 296.4 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004452/8.172, allocations: 1.987 MB / 3.734 GB, free: 295.8 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004111/8.172, allocations: 0.9135 MB / 3.735 GB, free: 295 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0007577/8.173, allocations: 166.7 kB / 3.735 GB, free: 295 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001278/8.173, allocations: 55.45 kB / 3.736 GB, free: 295 MB / 1.167 GB Notification: Performance of SimCode: time 1.713e-06/8.173, allocations: 3.531 kB / 3.736 GB, free: 295 MB / 1.167 GB Notification: Performance of Templates: time 0.0461/8.219, allocations: 25.99 MB / 3.761 GB, free: 294.2 MB / 1.167 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