Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.392/1.392, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001061/0.001061, allocations: 189.7 kB / 326.5 MB, free: 2.258 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.833/1.833, allocations: 205.4 MB / 0.5775 GB, free: 20.59 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009853/0.0009855, allocations: 93.94 kB / 0.6821 GB, free: 13.37 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003481/0.0003482, allocations: 8.969 kB / 0.7962 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2317/0.2321, allocations: 106.3 MB / 0.9001 GB, free: 64.51 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.393/5.625, allocations: 2.199 GB / 3.099 GB, free: 21.88 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003435/5.625, allocations: 95.95 kB / 3.099 GB, free: 21.78 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 2.421/8.047, allocations: 0.58 GB / 3.679 GB, free: 132.3 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.763e-06/8.047, allocations: 0 / 3.679 GB, free: 132.3 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 6.536e-05/8.047, allocations: 19.94 kB / 3.679 GB, free: 132.3 MB / 0.8855 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.003091/8.05, allocations: 1.111 MB / 3.681 GB, free: 131.1 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.519e-05/8.05, allocations: 15.97 kB / 3.681 GB, free: 131.1 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001253/8.051, allocations: 222.7 kB / 3.681 GB, free: 130.9 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002262/8.053, allocations: 0.8857 MB / 3.682 GB, free: 130 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.299e-05/8.054, allocations: 32.98 kB / 3.682 GB, free: 129.9 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.052e-05/8.054, allocations: 40 kB / 3.682 GB, free: 129.9 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009208/8.055, allocations: 0.4958 MB / 3.682 GB, free: 129.4 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.975e-05/8.055, allocations: 3.938 kB / 3.682 GB, free: 129.4 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.647e-05/8.055, allocations: 16 kB / 3.682 GB, free: 129.4 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.023e-05/8.055, allocations: 24.98 kB / 3.682 GB, free: 129.3 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008806/8.056, allocations: 440.7 kB / 3.683 GB, free: 128.9 MB / 0.8855 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.002897/8.058, allocations: 2.109 MB / 3.685 GB, free: 126.6 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005576/8.059, allocations: 258.6 kB / 3.685 GB, free: 126.4 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001037/8.06, allocations: 0.8182 MB / 3.686 GB, free: 125.4 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002853/8.06, allocations: 184.7 kB / 3.686 GB, free: 125.2 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=25): time 2.896e-06/8.06, allocations: 0 / 3.686 GB, free: 125.2 MB / 0.8855 GB Notification: Performance of matching and sorting (n=25): time 0.001032/8.061, allocations: 441.3 kB / 3.686 GB, free: 124.7 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.437e-05/8.062, allocations: 110.8 kB / 3.686 GB, free: 124.6 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006503/8.062, allocations: 0.5501 MB / 3.687 GB, free: 124 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.144e-05/8.062, allocations: 33.7 kB / 3.687 GB, free: 124 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002316/8.062, allocations: 327.6 kB / 3.687 GB, free: 123.7 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 6.779e-05/8.063, allocations: 90.73 kB / 3.687 GB, free: 123.6 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.85e-05/8.063, allocations: 16.12 kB / 3.687 GB, free: 123.6 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001429/8.063, allocations: 362.8 kB / 3.688 GB, free: 123.2 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001751/8.063, allocations: 108.7 kB / 3.688 GB, free: 123.1 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002714/8.063, allocations: 291.6 kB / 3.688 GB, free: 122.7 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002194/8.063, allocations: 152.8 kB / 3.688 GB, free: 122.6 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/8.063, allocations: 0 / 3.688 GB, free: 122.6 MB / 0.8855 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006258/8.064, allocations: 427.7 kB / 3.689 GB, free: 122.2 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005103/8.065, allocations: 1.663 MB / 3.69 GB, free: 120.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.287e-05/8.065, allocations: 4 kB / 3.69 GB, free: 120.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.942e-05/8.065, allocations: 8.281 kB / 3.69 GB, free: 120.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003029/8.065, allocations: 79.89 kB / 3.69 GB, free: 120.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.349e-05/8.065, allocations: 7.938 kB / 3.69 GB, free: 120.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004737/8.065, allocations: 55.58 kB / 3.69 GB, free: 120.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.222e-05/8.066, allocations: 20 kB / 3.691 GB, free: 120.2 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 8.736e-06/8.066, allocations: 8 kB / 3.691 GB, free: 120.2 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004711/8.066, allocations: 355.2 kB / 3.691 GB, free: 119.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/8.066, allocations: 4.5 kB / 3.691 GB, free: 119.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.562e-06/8.066, allocations: 12 kB / 3.691 GB, free: 119.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002599/8.066, allocations: 79.89 kB / 3.691 GB, free: 119.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/8.066, allocations: 7.938 kB / 3.691 GB, free: 119.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002946/8.067, allocations: 51.61 kB / 3.691 GB, free: 119.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.957e-05/8.067, allocations: 19.95 kB / 3.691 GB, free: 119.7 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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.0002677/8.067, allocations: 289 kB / 3.691 GB, free: 119.4 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.477e-05/8.067, allocations: 63.34 kB / 3.691 GB, free: 119.3 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005037/8.068, allocations: 310.7 kB / 3.692 GB, free: 119 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/8.068, allocations: 4 kB / 3.692 GB, free: 119 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.593e-06/8.068, allocations: 0 / 3.692 GB, free: 119 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/8.068, allocations: 3.984 kB / 3.692 GB, free: 119 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00129/8.069, allocations: 1.149 MB / 3.693 GB, free: 117.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/8.069, allocations: 11.98 kB / 3.693 GB, free: 117.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00018/8.069, allocations: 47.92 kB / 3.693 GB, free: 117.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.049e-06/8.069, allocations: 4 kB / 3.693 GB, free: 117.7 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.417e-05/8.069, allocations: 8 kB / 3.693 GB, free: 117.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.007e-06/8.069, allocations: 4 kB / 3.693 GB, free: 117.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/8.069, allocations: 3.938 kB / 3.693 GB, free: 117.7 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00052/8.07, allocations: 0.5702 MB / 3.693 GB, free: 117 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001942/8.07, allocations: 176.2 kB / 3.694 GB, free: 116.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.717e-05/8.07, allocations: 8 kB / 3.694 GB, free: 116.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002482/8.07, allocations: 23.92 kB / 3.694 GB, free: 116.8 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.581e-05/8.07, allocations: 23.92 kB / 3.694 GB, free: 116.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.08e-05/8.07, allocations: 12 kB / 3.694 GB, free: 116.8 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0004097/8.071, allocations: 443 kB / 3.694 GB, free: 116.3 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.3e-07/8.071, allocations: 0 / 3.694 GB, free: 116.3 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001454/8.072, allocations: 411.6 kB / 3.694 GB, free: 115.9 MB / 0.8855 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.00272/8.075, allocations: 1.7 MB / 3.696 GB, free: 114.3 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0008748/8.076, allocations: 478.1 kB / 3.697 GB, free: 113.9 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/8.076, allocations: 4 kB / 3.697 GB, free: 113.9 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001904/8.076, allocations: 128.2 kB / 3.697 GB, free: 113.7 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001211/8.077, allocations: 255.5 kB / 3.697 GB, free: 113.5 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004256/8.081, allocations: 1.975 MB / 3.699 GB, free: 111.5 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003717/8.082, allocations: 0.9136 MB / 3.7 GB, free: 110.5 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0006583/8.083, allocations: 172.9 kB / 3.7 GB, free: 110.3 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001171/8.083, allocations: 47.44 kB / 3.7 GB, free: 110.3 MB / 0.8855 GB Notification: Performance of SimCode: time 2.514e-06/8.083, allocations: 3.938 kB / 3.7 GB, free: 110.3 MB / 0.8855 GB Notification: Performance of Templates: time 0.03434/8.117, allocations: 26.04 MB / 3.725 GB, free: 84.34 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Humidifiers_Validation_SprayAirWasher_X.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches