Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.0007318/0.0007317, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.004724/0.004725, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.396/1.396, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.682/2.682, allocations: 437.8 MB / 0.7121 GB, free: 6.914 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003568/0.000357, allocations: 8 kB / 0.8728 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6967/0.697, allocations: 153.8 MB / 1.023 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X): time 0.1896/0.8867, allocations: 175.8 MB / 1.195 GB, free: 15.42 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.006668/0.8934, allocations: 3.74 MB / 1.198 GB, free: 11.67 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007305/0.8941, allocations: 27.81 kB / 1.198 GB, free: 11.64 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0009682/0.8951, allocations: 366.2 kB / 1.199 GB, free: 11.28 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.002995/0.8981, allocations: 1.183 MB / 1.2 GB, free: 10.09 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001891/0.9, allocations: 0.652 MB / 1.2 GB, free: 9.445 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.002126/0.9022, allocations: 1.839 MB / 1.202 GB, free: 7.594 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006497/0.9028, allocations: 402.4 kB / 1.203 GB, free: 7.199 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002557/0.9054, allocations: 0.8766 MB / 1.204 GB, free: 6.324 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000707/0.9061, allocations: 470.1 kB / 1.204 GB, free: 5.863 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 5.148e-05/0.9062, allocations: 24 kB / 1.204 GB, free: 5.84 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002359/0.9085, allocations: 1.317 MB / 1.205 GB, free: 4.52 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0002027/0.9088, allocations: 171.4 kB / 1.205 GB, free: 4.352 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0003478/0.9091, allocations: 320 kB / 1.206 GB, free: 4.031 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001649/0.9108, allocations: 1.215 MB / 1.207 GB, free: 2.812 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.02e-05/0.9108, allocations: 4 kB / 1.207 GB, free: 2.809 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.824e-06/0.9108, allocations: 0 / 1.207 GB, free: 2.809 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.526e-05/0.9108, allocations: 0 / 1.207 GB, free: 2.809 MB / 0.9512 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.001937/0.9128, allocations: 0.9195 MB / 1.208 GB, free: 1.84 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.9128, allocations: 12.03 kB / 1.208 GB, free: 1.828 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001315/0.9141, allocations: 238.9 kB / 1.208 GB, free: 1.594 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007859/0.9149, allocations: 0.5342 MB / 1.209 GB, free: 1.02 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.878e-05/0.915, allocations: 29 kB / 1.209 GB, free: 0.9883 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.096e-05/0.9151, allocations: 40 kB / 1.209 GB, free: 0.9492 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001071/0.9161, allocations: 0.5426 MB / 1.209 GB, free: 396 kB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.9162, allocations: 0 / 1.209 GB, free: 396 kB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.604e-05/0.9162, allocations: 16 kB / 1.209 GB, free: 380 kB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.739e-05/0.9162, allocations: 16.98 kB / 1.209 GB, free: 364 kB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001186/0.9174, allocations: 0.5231 MB / 1.21 GB, free: 15.83 MB / 0.9669 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.003152/0.9206, allocations: 2.231 MB / 1.212 GB, free: 13.42 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006786/0.9213, allocations: 343.8 kB / 1.212 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002188/0.9215, allocations: 144.7 kB / 1.212 GB, free: 12.91 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001344/0.9229, allocations: 0.8688 MB / 1.213 GB, free: 11.88 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003048/0.9232, allocations: 198.2 kB / 1.213 GB, free: 11.66 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=26): time 1.583e-06/0.9232, allocations: 0 / 1.213 GB, free: 11.66 MB / 0.9669 GB Notification: Performance of matching and sorting (n=26): time 0.0009538/0.9242, allocations: 435.4 kB / 1.214 GB, free: 11.23 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.336e-05/0.9242, allocations: 81.11 kB / 1.214 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008578/0.9251, allocations: 0.6525 MB / 1.215 GB, free: 10.48 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.005e-05/0.9251, allocations: 33.7 kB / 1.215 GB, free: 10.44 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002407/0.9254, allocations: 323.7 kB / 1.215 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 7.041e-05/0.9255, allocations: 90.73 kB / 1.215 GB, free: 10.03 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.756e-05/0.9255, allocations: 37.7 kB / 1.215 GB, free: 9.984 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001445/0.9257, allocations: 370.7 kB / 1.215 GB, free: 9.613 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003487/0.926, allocations: 131.9 kB / 1.215 GB, free: 9.484 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004484/0.9265, allocations: 288.9 kB / 1.216 GB, free: 9.141 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006414/0.9272, allocations: 381.5 kB / 1.216 GB, free: 8.715 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.9272, allocations: 0 / 1.216 GB, free: 8.715 MB / 0.9669 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009693/0.9281, allocations: 480.6 kB / 1.217 GB, free: 8.238 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 0.000115/0.9283, allocations: 203.7 kB / 1.217 GB, free: 7.98 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.9283, allocations: 4 kB / 1.217 GB, free: 7.977 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.961e-05/0.9283, allocations: 8.281 kB / 1.217 GB, free: 7.969 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004125/0.9287, allocations: 95.75 kB / 1.217 GB, free: 7.875 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.318e-05/0.9287, allocations: 12 kB / 1.217 GB, free: 7.863 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006775/0.9294, allocations: 75.55 kB / 1.217 GB, free: 7.789 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.334e-05/0.9295, allocations: 20 kB / 1.217 GB, free: 7.77 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 8.046e-06/0.9295, allocations: 4 kB / 1.217 GB, free: 7.766 MB / 0.9669 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009011/0.9304, allocations: 398.1 kB / 1.217 GB, free: 7.379 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.9304, allocations: 8.062 kB / 1.217 GB, free: 7.371 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.661e-06/0.9304, allocations: 4 kB / 1.217 GB, free: 7.367 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003952/0.9308, allocations: 91.88 kB / 1.217 GB, free: 7.277 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.9309, allocations: 7.938 kB / 1.217 GB, free: 7.27 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004841/0.9314, allocations: 67.66 kB / 1.218 GB, free: 7.203 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.882e-05/0.9314, allocations: 19.98 kB / 1.218 GB, free: 7.184 MB / 0.9669 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.0003482/0.9318, allocations: 288.9 kB / 1.218 GB, free: 6.891 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.737e-05/0.9318, allocations: 59.25 kB / 1.218 GB, free: 6.832 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000643/0.9325, allocations: 323.7 kB / 1.218 GB, free: 6.504 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.583e-06/0.9325, allocations: 4 kB / 1.218 GB, free: 6.5 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.435e-05/0.9325, allocations: 4.062 kB / 1.218 GB, free: 6.496 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.151e-06/0.9325, allocations: 0 / 1.218 GB, free: 6.496 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001581/0.9341, allocations: 1.083 MB / 1.219 GB, free: 5.324 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.9341, allocations: 0 / 1.219 GB, free: 5.324 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001779/0.9343, allocations: 48.17 kB / 1.219 GB, free: 5.277 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.063e-06/0.9343, allocations: 8 kB / 1.219 GB, free: 5.27 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.517e-05/0.9344, allocations: 4 kB / 1.219 GB, free: 5.266 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.815e-06/0.9344, allocations: 11.88 kB / 1.219 GB, free: 5.254 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/0.9344, allocations: 4 kB / 1.219 GB, free: 5.25 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006612/0.9351, allocations: 484.5 kB / 1.22 GB, free: 4.734 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001979/0.9353, allocations: 168.3 kB / 1.22 GB, free: 4.551 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.448e-05/0.9353, allocations: 4 kB / 1.22 GB, free: 4.547 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003573/0.9357, allocations: 31.89 kB / 1.22 GB, free: 4.516 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.944e-05/0.9358, allocations: 27.91 kB / 1.22 GB, free: 4.488 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.957e-05/0.9358, allocations: 12 kB / 1.22 GB, free: 4.477 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0006746/0.9365, allocations: 479 kB / 1.22 GB, free: 4.012 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.773e-06/0.9365, allocations: 0 / 1.22 GB, free: 4.012 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0009517/0.9375, allocations: 267.5 kB / 1.221 GB, free: 3.75 MB / 0.9669 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.00125/0.9387, allocations: 0.5133 MB / 1.221 GB, free: 3.398 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001113/0.9398, allocations: 0.4984 MB / 1.222 GB, free: 2.902 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.9399, allocations: 0 / 1.222 GB, free: 2.902 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002059/0.9401, allocations: 119.8 kB / 1.222 GB, free: 2.785 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001531/0.9416, allocations: 266 kB / 1.222 GB, free: 2.527 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001796/0.9434, allocations: 1.238 MB / 1.223 GB, free: 1.227 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004205/0.9439, allocations: 0.8941 MB / 1.224 GB, free: 312 kB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0006611/0.9445, allocations: 164.8 kB / 1.224 GB, free: 148 kB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001219/0.9447, allocations: 47.42 kB / 1.224 GB, free: 100 kB / 0.9669 GB Notification: Performance of SimCode: time 5.91e-07/0.9447, allocations: 0 / 1.224 GB, free: 100 kB / 0.9669 GB Notification: Performance of Templates: time 0.0178/0.9625, allocations: 9.97 MB / 1.234 GB, free: 6.27 MB / 0.9825 GB make -j1 -f Buildings_10_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.makefile (rm -f Buildings_10_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe ; mkfifo Buildings_10_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe >> ../files/Buildings_10_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.sim & ./Buildings_10_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Humidifiers_Validation_SprayAirWasher_X.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches