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/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001247/0.001247, allocations: 105.9 kB / 16.27 MB, free: 6.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001104/0.001104, allocations: 187.6 kB / 17.2 MB, free: 5.949 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.318/1.318, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.158/2.158, allocations: 390.3 MB / 0.6653 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001323/0.001323, allocations: 61.23 kB / 0.8132 GB, free: 33.09 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2762/0.2776, allocations: 140.4 MB / 0.9503 GB, free: 8.891 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X): time 0.7794/1.057, allocations: 180.3 MB / 1.126 GB, free: 5.395 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.007107/1.064, allocations: 3.737 MB / 1.13 GB, free: 5.27 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001121/1.065, allocations: 29.86 kB / 1.13 GB, free: 5.27 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001382/1.067, allocations: 429.2 kB / 1.13 GB, free: 5.262 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.004165/1.071, allocations: 1.255 MB / 1.132 GB, free: 5.199 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002502/1.073, allocations: 0.7352 MB / 1.132 GB, free: 5.176 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002372/1.076, allocations: 1.355 MB / 1.134 GB, free: 5.168 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008412/1.077, allocations: 482.6 kB / 1.134 GB, free: 5.113 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003293/1.08, allocations: 0.9676 MB / 1.135 GB, free: 5.094 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001081/1.081, allocations: 455.3 kB / 1.136 GB, free: 5.094 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001081/1.081, allocations: 43.66 kB / 1.136 GB, free: 5.094 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003372/1.085, allocations: 1.193 MB / 1.137 GB, free: 5.078 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.000323/1.085, allocations: 196.3 kB / 1.137 GB, free: 5.074 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.000619/1.086, allocations: 332.1 kB / 1.137 GB, free: 5.066 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.003036/1.089, allocations: 1.172 MB / 1.138 GB, free: 4.914 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.271e-06/1.089, allocations: 1.094 kB / 1.138 GB, free: 4.914 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.994e-06/1.089, allocations: 0 / 1.138 GB, free: 4.914 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.101e-05/1.089, allocations: 0 / 1.138 GB, free: 4.914 MB / 0.8575 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.002647/1.091, allocations: 1.048 MB / 1.139 GB, free: 20.25 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/1.091, allocations: 10.47 kB / 1.139 GB, free: 20.25 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001329/1.093, allocations: 224.1 kB / 1.14 GB, free: 20.21 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008615/1.094, allocations: 0.5311 MB / 1.14 GB, free: 19.92 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.774e-05/1.094, allocations: 28.7 kB / 1.14 GB, free: 19.92 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.046e-05/1.094, allocations: 36.38 kB / 1.14 GB, free: 19.92 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001032/1.095, allocations: 0.5426 MB / 1.141 GB, free: 19.84 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.485e-05/1.095, allocations: 0 / 1.141 GB, free: 19.84 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.816e-05/1.095, allocations: 14.28 kB / 1.141 GB, free: 19.84 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.252e-05/1.095, allocations: 18.03 kB / 1.141 GB, free: 19.84 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001159/1.096, allocations: 0.5055 MB / 1.141 GB, free: 19.82 MB / 0.8731 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.003597/1.1, allocations: 2.229 MB / 1.143 GB, free: 18.57 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007708/1.1, allocations: 352.7 kB / 1.144 GB, free: 18.45 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002372/1.101, allocations: 141.9 kB / 1.144 GB, free: 18.44 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001338/1.102, allocations: 0.8417 MB / 1.145 GB, free: 17.59 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003856/1.102, allocations: 189 kB / 1.145 GB, free: 17.52 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=26): time 2.104e-06/1.102, allocations: 0 / 1.145 GB, free: 17.52 MB / 0.8731 GB Notification: Performance of matching and sorting (n=26): time 0.001079/1.104, allocations: 437.8 kB / 1.145 GB, free: 17.46 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.041e-05/1.104, allocations: 85.61 kB / 1.145 GB, free: 17.36 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009023/1.104, allocations: 0.6504 MB / 1.146 GB, free: 17.23 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.504e-05/1.105, allocations: 31.23 kB / 1.146 GB, free: 17.2 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002802/1.105, allocations: 327.2 kB / 1.146 GB, free: 17.05 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 7.236e-05/1.105, allocations: 91.75 kB / 1.147 GB, free: 16.99 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001469/1.105, allocations: 82.23 kB / 1.147 GB, free: 16.97 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001837/1.105, allocations: 374.9 kB / 1.147 GB, free: 16.65 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003788/1.106, allocations: 134.3 kB / 1.147 GB, free: 16.64 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004216/1.106, allocations: 280.1 kB / 1.147 GB, free: 16.48 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006271/1.107, allocations: 387.6 kB / 1.148 GB, free: 16.32 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/1.107, allocations: 5.438 kB / 1.148 GB, free: 16.32 MB / 0.8731 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001059/1.108, allocations: 472.6 kB / 1.148 GB, free: 16.24 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/1.108, allocations: 6.688 kB / 1.148 GB, free: 16.24 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/1.108, allocations: 4 kB / 1.148 GB, free: 16.24 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.179e-05/1.108, allocations: 5.781 kB / 1.148 GB, free: 16.24 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004192/1.108, allocations: 95.06 kB / 1.148 GB, free: 16.23 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.464e-05/1.108, allocations: 9.969 kB / 1.148 GB, free: 16.22 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006776/1.109, allocations: 72.58 kB / 1.148 GB, free: 16.2 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.795e-05/1.109, allocations: 19.19 kB / 1.148 GB, free: 16.2 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005724/1.11, allocations: 293.2 kB / 1.149 GB, free: 16.12 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004128/1.11, allocations: 283.6 kB / 1.149 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005787/1.111, allocations: 379.1 kB / 1.149 GB, free: 15.78 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.118e-06/1.111, allocations: 3.328 kB / 1.149 GB, free: 15.78 MB / 0.8731 GB Notification: Performance of matching and sorting (n=43) (initialization_lambda0): time 0.001059/1.112, allocations: 477.2 kB / 1.15 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/1.112, allocations: 6.562 kB / 1.15 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/1.112, allocations: 8.438 kB / 1.15 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/1.112, allocations: 6.688 kB / 1.15 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003992/1.112, allocations: 96.28 kB / 1.15 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/1.112, allocations: 5.656 kB / 1.15 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006231/1.113, allocations: 64.77 kB / 1.15 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.997e-05/1.113, allocations: 22.42 kB / 1.15 GB, free: 15.64 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.XSet.nextTimeEvent,$whenCondition1,XSet.nextTimeEventScaled,$PRE.XSet.nextTimeEventScaled,XSet.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001904/1.113, allocations: 199.2 kB / 1.15 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001016/1.113, allocations: 64.31 kB / 1.15 GB, free: 15.42 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006266/1.114, allocations: 318.1 kB / 1.15 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.303e-06/1.114, allocations: 3.5 kB / 1.15 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/1.114, allocations: 8.125 kB / 1.151 GB, free: 15.26 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/1.114, allocations: 1.125 kB / 1.151 GB, free: 15.26 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001531/1.115, allocations: 1.098 MB / 1.152 GB, free: 14.56 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-06/1.115, allocations: 2.312 kB / 1.152 GB, free: 14.56 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001802/1.116, allocations: 39.55 kB / 1.152 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.164e-06/1.116, allocations: 4.156 kB / 1.152 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.327e-05/1.116, allocations: 8.562 kB / 1.152 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.031e-06/1.116, allocations: 7.75 kB / 1.152 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/1.116, allocations: 3.812 kB / 1.152 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005515/1.116, allocations: 479.1 kB / 1.152 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001861/1.116, allocations: 161.2 kB / 1.152 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.126e-05/1.116, allocations: 10.67 kB / 1.152 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000313/1.117, allocations: 15.56 kB / 1.152 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.575e-05/1.117, allocations: 30.31 kB / 1.152 GB, free: 14.05 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.416e-05/1.117, allocations: 12.44 kB / 1.152 GB, free: 14.05 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0006872/1.118, allocations: 476.4 kB / 1.153 GB, free: 13.86 MB / 0.8731 GB Notification: Performance of sort global known variables: time 4.21e-07/1.118, allocations: 4 kB / 1.153 GB, free: 13.85 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001013/1.119, allocations: 267.2 kB / 1.153 GB, free: 13.8 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001218/1.12, allocations: 0.5206 MB / 1.154 GB, free: 13.57 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001309/1.121, allocations: 0.5067 MB / 1.154 GB, free: 13.41 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/1.121, allocations: 1.031 kB / 1.154 GB, free: 13.41 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002146/1.121, allocations: 129.2 kB / 1.154 GB, free: 13.37 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001392/1.123, allocations: 272.3 kB / 1.154 GB, free: 13.29 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001993/1.125, allocations: 1.074 MB / 1.155 GB, free: 12.65 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005047/1.125, allocations: 0.8947 MB / 1.156 GB, free: 11.93 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001982/1.126, allocations: 49.28 kB / 1.156 GB, free: 11.92 MB / 0.8731 GB Notification: Performance of SimCode: time 9.62e-07/1.126, allocations: 0 / 1.156 GB, free: 11.92 MB / 0.8731 GB Notification: Performance of Templates: time 0.02096/1.147, allocations: 9.766 MB / 1.166 GB, free: 9.75 MB / 0.8731 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches