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.1/2.1, allocations: 387.4 MB / 394.9 MB, free: 13.34 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.0009662/0.0009662, allocations: 176.9 kB / 487.4 MB, free: 5.039 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.375/1.375, allocations: 221.5 MB / 0.7824 GB, free: 0.9414 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001074/0.001074, allocations: 95.59 kB / 0.9219 GB, free: 2.176 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.151e-05/2.185e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2806/0.2807, allocations: 142.4 MB / 1.206 GB, free: 43.98 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.369/4.65, allocations: 1.886 GB / 3.092 GB, free: 5.984 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002049/4.65, allocations: 87.95 kB / 3.092 GB, free: 5.898 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 2.374/7.024, allocations: 0.5977 GB / 3.69 GB, free: 296 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.533e-06/7.024, allocations: 0 / 3.69 GB, free: 296 MB / 1.151 GB Notification: Performance of Transformations before backend: time 8.345e-05/7.025, allocations: 24.92 kB / 3.69 GB, free: 296 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.002996/7.028, allocations: 1.026 MB / 3.691 GB, free: 295.2 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/7.028, allocations: 7.594 kB / 3.691 GB, free: 295.2 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001386/7.029, allocations: 226.2 kB / 3.691 GB, free: 295.1 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002364/7.031, allocations: 0.8785 MB / 3.692 GB, free: 294.6 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.885e-05/7.031, allocations: 9.938 kB / 3.692 GB, free: 294.6 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.055e-05/7.031, allocations: 29.89 kB / 3.692 GB, free: 294.6 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005884/7.032, allocations: 339.1 kB / 3.692 GB, free: 294.4 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000675/7.033, allocations: 434.5 kB / 3.693 GB, free: 294.1 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.611e-05/7.033, allocations: 0 / 3.693 GB, free: 294.1 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.861e-05/7.033, allocations: 0 / 3.693 GB, free: 294.1 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.89e-05/7.033, allocations: 22.22 kB / 3.693 GB, free: 294.1 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.002661/7.036, allocations: 2.044 MB / 3.695 GB, free: 292.4 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003966/7.036, allocations: 236.9 kB / 3.695 GB, free: 292.3 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001418/7.036, allocations: 117.4 kB / 3.695 GB, free: 292.2 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008318/7.037, allocations: 0.8155 MB / 3.696 GB, free: 291.3 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002201/7.037, allocations: 188.8 kB / 3.696 GB, free: 291.2 MB / 1.151 GB Notification: Performance of pre-optimization done (n=25): time 1.854e-06/7.037, allocations: 0 / 3.696 GB, free: 291.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=25): time 0.003546/7.041, allocations: 0.8243 MB / 3.697 GB, free: 290.9 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.499e-05/7.041, allocations: 114.4 kB / 3.697 GB, free: 290.7 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000533/7.041, allocations: 451.5 kB / 3.697 GB, free: 290.5 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 3.822e-05/7.041, allocations: 32.33 kB / 3.697 GB, free: 290.4 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002018/7.042, allocations: 333.9 kB / 3.698 GB, free: 290.2 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 5.957e-05/7.042, allocations: 83.48 kB / 3.698 GB, free: 290.1 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.627e-05/7.042, allocations: 0 / 3.698 GB, free: 290.1 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.96e-05/7.042, allocations: 361.9 kB / 3.698 GB, free: 289.8 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001233/7.042, allocations: 93.83 kB / 3.698 GB, free: 289.7 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001987/7.042, allocations: 284 kB / 3.699 GB, free: 289.4 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002816/7.045, allocations: 0.6524 MB / 3.699 GB, free: 289.2 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/7.045, allocations: 3.594 kB / 3.699 GB, free: 289.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.003187/7.048, allocations: 0.8892 MB / 3.7 GB, free: 288.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003144/7.048, allocations: 1.839 MB / 3.702 GB, free: 286.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/7.048, allocations: 3.906 kB / 3.702 GB, free: 286.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.251e-05/7.049, allocations: 9.438 kB / 3.702 GB, free: 286.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002984/7.049, allocations: 86.45 kB / 3.702 GB, free: 286.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.916e-06/7.049, allocations: 11.73 kB / 3.702 GB, free: 286.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004047/7.049, allocations: 39.92 kB / 3.702 GB, free: 286.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.077e-05/7.049, allocations: 28.02 kB / 3.702 GB, free: 286.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.001e-05/7.049, allocations: 7.516 kB / 3.702 GB, free: 286.8 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003034/7.052, allocations: 0.8109 MB / 3.703 GB, free: 286.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/7.052, allocations: 3.531 kB / 3.703 GB, free: 286.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.366e-06/7.052, allocations: 9.938 kB / 3.703 GB, free: 286.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002705/7.053, allocations: 87.14 kB / 3.703 GB, free: 286.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/7.053, allocations: 7.812 kB / 3.703 GB, free: 286.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000365/7.053, allocations: 37.81 kB / 3.703 GB, free: 286.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.692e-05/7.053, allocations: 22.34 kB / 3.703 GB, free: 286.5 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 0.0001123/7.053, allocations: 123 kB / 3.703 GB, free: 286.4 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001173/7.053, allocations: 54 kB / 3.703 GB, free: 286.3 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003109/7.056, allocations: 0.7997 MB / 3.704 GB, free: 285.9 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/7.057, allocations: 96 / 3.704 GB, free: 285.9 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/7.057, allocations: 7.938 kB / 3.704 GB, free: 285.9 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/7.057, allocations: 0 / 3.704 GB, free: 285.9 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003929/7.06, allocations: 1.583 MB / 3.705 GB, free: 284.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.311e-06/7.06, allocations: 7.469 kB / 3.705 GB, free: 284.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001855/7.061, allocations: 47.91 kB / 3.706 GB, free: 284.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.923e-06/7.061, allocations: 4 kB / 3.706 GB, free: 284.2 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.148e-05/7.061, allocations: 4 kB / 3.706 GB, free: 284.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.691e-06/7.061, allocations: 7.984 kB / 3.706 GB, free: 284.2 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/7.061, allocations: 3.953 kB / 3.706 GB, free: 284.2 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003094/7.064, allocations: 1.061 MB / 3.707 GB, free: 283.1 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001982/7.064, allocations: 163.6 kB / 3.707 GB, free: 282.9 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.181e-05/7.064, allocations: 4 kB / 3.707 GB, free: 282.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002502/7.064, allocations: 17.91 kB / 3.707 GB, free: 282.9 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.75e-05/7.064, allocations: 31.81 kB / 3.707 GB, free: 282.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.107e-05/7.064, allocations: 11.98 kB / 3.707 GB, free: 282.9 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0003403/7.065, allocations: 342.9 kB / 3.707 GB, free: 282.5 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.3e-07/7.065, allocations: 0 / 3.707 GB, free: 282.5 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001237/7.066, allocations: 377.9 kB / 3.708 GB, free: 282.2 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.002502/7.069, allocations: 1.803 MB / 3.709 GB, free: 280.8 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0006524/7.069, allocations: 445.5 kB / 3.71 GB, free: 280.4 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/7.069, allocations: 0 / 3.71 GB, free: 280.4 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0001449/7.069, allocations: 121.5 kB / 3.71 GB, free: 280.3 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009074/7.07, allocations: 199.8 kB / 3.71 GB, free: 280.1 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003298/7.074, allocations: 1.504 MB / 3.711 GB, free: 278.6 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002999/7.074, allocations: 0.9124 MB / 3.712 GB, free: 277.7 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0007254/7.075, allocations: 202.1 kB / 3.713 GB, free: 277.5 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.285e-05/7.075, allocations: 39.42 kB / 3.713 GB, free: 277.5 MB / 1.151 GB Notification: Performance of SimCode: time 4.01e-07/7.075, allocations: 0 / 3.713 GB, free: 277.5 MB / 1.151 GB Notification: Performance of Templates: time 0.0224/7.097, allocations: 16.67 MB / 3.729 GB, free: 261.3 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