Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.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_dynamic,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_dynamic") translateModel(Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic,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_dynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.237/2.237, allocations: 390.3 MB / 405.3 MB, free: 13.44 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.001078/0.001077, allocations: 185 kB / 498.1 MB, free: 5.73 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.565/1.565, allocations: 223.2 MB / 0.7948 GB, free: 17.89 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.001017/0.001017, allocations: 108.2 kB / 0.9346 GB, free: 6.203 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003685/0.0003685, allocations: 10.48 kB / 1.084 GB, free: 221 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3196/0.32, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.083/5.403, allocations: 1.887 GB / 3.11 GB, free: 99.7 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002867/5.404, allocations: 96.89 kB / 3.11 GB, free: 99.65 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 3.677/9.081, allocations: 0.975 GB / 4.085 GB, free: 22.36 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.222e-06/9.081, allocations: 0 / 4.085 GB, free: 22.36 MB / 1.167 GB Notification: Performance of Transformations before backend: time 6.034e-05/9.081, allocations: 19.98 kB / 4.085 GB, free: 22.34 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.003266/9.084, allocations: 1.151 MB / 4.086 GB, free: 21.14 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.931e-05/9.084, allocations: 8.031 kB / 4.086 GB, free: 21.14 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001261/9.085, allocations: 226.8 kB / 4.086 GB, free: 20.91 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002529/9.088, allocations: 0.8857 MB / 4.087 GB, free: 19.98 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.661e-05/9.088, allocations: 48.92 kB / 4.087 GB, free: 19.94 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.337e-05/9.088, allocations: 36 kB / 4.087 GB, free: 19.9 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009365/9.089, allocations: 0.5005 MB / 4.088 GB, free: 19.38 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.531e-05/9.089, allocations: 0 / 4.088 GB, free: 19.38 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.429e-05/9.089, allocations: 20 kB / 4.088 GB, free: 19.36 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.881e-05/9.089, allocations: 20.98 kB / 4.088 GB, free: 19.34 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000765/9.09, allocations: 403.7 kB / 4.088 GB, free: 18.95 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.003022/9.093, allocations: 2.153 MB / 4.09 GB, free: 16.63 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000553/9.094, allocations: 279.6 kB / 4.09 GB, free: 16.35 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009892/9.095, allocations: 0.8183 MB / 4.091 GB, free: 15.37 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002749/9.095, allocations: 203.8 kB / 4.091 GB, free: 15.14 MB / 1.167 GB Notification: Performance of pre-optimization done (n=27): time 2.003e-06/9.095, allocations: 0 / 4.091 GB, free: 15.14 MB / 1.167 GB Notification: Performance of matching and sorting (n=27): time 0.001021/9.096, allocations: 462.1 kB / 4.092 GB, free: 14.69 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.528e-05/9.096, allocations: 110.8 kB / 4.092 GB, free: 14.55 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006918/9.097, allocations: 0.5541 MB / 4.093 GB, free: 14 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 3.525e-05/9.097, allocations: 29.7 kB / 4.093 GB, free: 13.96 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002233/9.097, allocations: 323.7 kB / 4.093 GB, free: 13.64 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 7.217e-05/9.097, allocations: 98.64 kB / 4.093 GB, free: 13.54 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.896e-05/9.097, allocations: 7.938 kB / 4.093 GB, free: 13.54 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001257/9.097, allocations: 378.8 kB / 4.093 GB, free: 13.16 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001881/9.097, allocations: 112.8 kB / 4.093 GB, free: 13.05 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002939/9.098, allocations: 305.5 kB / 4.094 GB, free: 12.67 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002349/9.098, allocations: 165 kB / 4.094 GB, free: 12.51 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/9.098, allocations: 0 / 4.094 GB, free: 12.51 MB / 1.167 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0006235/9.099, allocations: 475.2 kB / 4.094 GB, free: 12.04 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004104/9.099, allocations: 1.837 MB / 4.096 GB, free: 10.06 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/9.099, allocations: 7.984 kB / 4.096 GB, free: 10.05 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.342e-05/9.099, allocations: 8 kB / 4.096 GB, free: 10.04 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003217/9.099, allocations: 79.91 kB / 4.096 GB, free: 9.965 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.28e-05/9.099, allocations: 15.92 kB / 4.096 GB, free: 9.949 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004432/9.1, allocations: 59.8 kB / 4.096 GB, free: 9.891 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.173e-05/9.1, allocations: 27.98 kB / 4.096 GB, free: 9.863 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 8.406e-06/9.1, allocations: 4.625 kB / 4.096 GB, free: 9.859 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005181/9.101, allocations: 387.2 kB / 4.097 GB, free: 9.48 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/9.101, allocations: 7.984 kB / 4.097 GB, free: 9.473 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.802e-06/9.101, allocations: 8 kB / 4.097 GB, free: 9.465 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003078/9.101, allocations: 87.84 kB / 4.097 GB, free: 9.379 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/9.101, allocations: 11.92 kB / 4.097 GB, free: 9.367 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003168/9.101, allocations: 60.08 kB / 4.097 GB, free: 9.309 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.357e-05/9.101, allocations: 20.09 kB / 4.097 GB, free: 9.289 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 (49): * Single equations (assignments): 49 * 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.0002851/9.102, allocations: 293.6 kB / 4.097 GB, free: 8.992 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.595e-05/9.102, allocations: 67.2 kB / 4.097 GB, free: 8.926 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005576/9.102, allocations: 337 kB / 4.098 GB, free: 8.586 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.401e-06/9.102, allocations: 4 kB / 4.098 GB, free: 8.582 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/9.102, allocations: 0 / 4.098 GB, free: 8.582 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.102e-06/9.102, allocations: 7.984 kB / 4.098 GB, free: 8.574 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00138/9.104, allocations: 1.181 MB / 4.099 GB, free: 7.309 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/9.104, allocations: 4 kB / 4.099 GB, free: 7.305 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002318/9.104, allocations: 51.91 kB / 4.099 GB, free: 7.254 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 5e-06/9.104, allocations: 4 kB / 4.099 GB, free: 7.25 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.931e-05/9.104, allocations: 11.98 kB / 4.099 GB, free: 7.238 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/9.104, allocations: 12.22 kB / 4.099 GB, free: 7.227 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/9.104, allocations: 7.938 kB / 4.099 GB, free: 7.219 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008142/9.105, allocations: 0.7291 MB / 4.099 GB, free: 6.391 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002233/9.105, allocations: 176.2 kB / 4.1 GB, free: 6.199 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.701e-05/9.105, allocations: 11.95 kB / 4.1 GB, free: 6.188 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002643/9.105, allocations: 16 kB / 4.1 GB, free: 6.172 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.471e-05/9.105, allocations: 20.03 kB / 4.1 GB, free: 6.152 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.456e-05/9.105, allocations: 15.98 kB / 4.1 GB, free: 6.137 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0004527/9.106, allocations: 439 kB / 4.1 GB, free: 5.711 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.3e-07/9.106, allocations: 0 / 4.1 GB, free: 5.711 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001615/9.108, allocations: 423.5 kB / 4.101 GB, free: 5.297 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (hum.outCon.T,hum.outCon.Xi) * 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 (28): * Single equations (assignments): 26 * 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.003196/9.111, allocations: 1.725 MB / 4.102 GB, free: 3.688 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0009304/9.112, allocations: 0.4965 MB / 4.103 GB, free: 3.191 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 4.389e-06/9.112, allocations: 0 / 4.103 GB, free: 3.191 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.000223/9.112, allocations: 137.3 kB / 4.103 GB, free: 3.059 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001226/9.113, allocations: 257.8 kB / 4.103 GB, free: 2.809 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004792/9.118, allocations: 2.141 MB / 4.105 GB, free: 0.6133 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.7175/9.836, allocations: 0.9102 MB / 4.106 GB, free: 316.4 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0009956/9.837, allocations: 180.1 kB / 4.106 GB, free: 316.4 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001732/9.837, allocations: 54.86 kB / 4.106 GB, free: 316.4 MB / 1.167 GB Notification: Performance of SimCode: time 1.402e-06/9.837, allocations: 0 / 4.106 GB, free: 316.4 MB / 1.167 GB Notification: Performance of Templates: time 0.05424/9.891, allocations: 26.18 MB / 4.132 GB, free: 316.1 MB / 1.167 GB make -j1 -f Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.makefile (rm -f Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe ; mkfifo Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe >> ../files/Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.sim & ./Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Humidifiers_Validation_SprayAirWasher_X_dynamic.csv","../files/Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches