Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.0009375/0.0009374, allocations: 86.8 kB / 15.06 MB, free: 1.09 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.001168/0.001168, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.402/1.402, allocations: 223.2 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.748/2.748, allocations: 462.6 MB / 0.736 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003358/0.0003358, allocations: 8.531 kB / 0.9021 GB, free: 36.65 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2666/0.267, allocations: 159.6 MB / 1.058 GB, free: 5.344 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X): time 0.1613/0.4283, allocations: 164 MB / 1.218 GB, free: 0.8945 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.005538/0.4339, allocations: 3.521 MB / 1.222 GB, free: 13.37 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00058/0.4345, allocations: 23.81 kB / 1.222 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0008499/0.4354, allocations: 306.3 kB / 1.222 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002344/0.4377, allocations: 0.9293 MB / 1.223 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001702/0.4394, allocations: 0.5836 MB / 1.223 GB, free: 11.53 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001707/0.4411, allocations: 1.562 MB / 1.225 GB, free: 9.965 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005747/0.4417, allocations: 372.4 kB / 1.225 GB, free: 9.602 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001617/0.4434, allocations: 0.7741 MB / 1.226 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000572/0.4439, allocations: 438.2 kB / 1.226 GB, free: 8.395 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.159e-05/0.444, allocations: 24 kB / 1.226 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001557/0.4456, allocations: 0.8108 MB / 1.227 GB, free: 7.559 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001739/0.4458, allocations: 175.4 kB / 1.227 GB, free: 7.387 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001435/0.4459, allocations: 145.3 kB / 1.228 GB, free: 7.238 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0008802/0.4468, allocations: 0.7911 MB / 1.228 GB, free: 6.445 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.4468, allocations: 0 / 1.228 GB, free: 6.445 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.403e-06/0.4468, allocations: 0 / 1.228 GB, free: 6.445 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.324e-06/0.4468, allocations: 4 kB / 1.228 GB, free: 6.441 MB / 0.9825 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.001754/0.4486, allocations: 0.935 MB / 1.229 GB, free: 5.457 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.477e-05/0.4486, allocations: 8.031 kB / 1.229 GB, free: 5.449 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001197/0.4498, allocations: 235 kB / 1.229 GB, free: 5.219 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007119/0.4506, allocations: 0.5074 MB / 1.23 GB, free: 4.672 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.376e-05/0.4506, allocations: 32.94 kB / 1.23 GB, free: 4.637 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.135e-05/0.4507, allocations: 39.98 kB / 1.23 GB, free: 4.598 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009941/0.4517, allocations: 0.5349 MB / 1.231 GB, free: 4.043 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.4517, allocations: 3.953 kB / 1.231 GB, free: 4.039 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.802e-05/0.4518, allocations: 19.98 kB / 1.231 GB, free: 4.02 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.607e-05/0.4518, allocations: 17 kB / 1.231 GB, free: 4.004 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001125/0.4529, allocations: 0.5153 MB / 1.231 GB, free: 3.488 MB / 0.9825 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.00293/0.4559, allocations: 2.231 MB / 1.233 GB, free: 1.066 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006888/0.4566, allocations: 343.7 kB / 1.234 GB, free: 0.7031 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002183/0.4568, allocations: 140.8 kB / 1.234 GB, free: 0.5625 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001221/0.458, allocations: 0.8689 MB / 1.235 GB, free: 15.53 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003042/0.4583, allocations: 194.9 kB / 1.235 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=26): time 1.983e-06/0.4584, allocations: 3.938 kB / 1.235 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of matching and sorting (n=26): time 0.0009322/0.4593, allocations: 428.1 kB / 1.235 GB, free: 14.89 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.362e-05/0.4594, allocations: 89.03 kB / 1.235 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008084/0.4602, allocations: 0.6524 MB / 1.236 GB, free: 14.12 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.972e-05/0.4602, allocations: 29.7 kB / 1.236 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002386/0.4605, allocations: 319.8 kB / 1.236 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.188e-05/0.4605, allocations: 82.84 kB / 1.236 GB, free: 13.69 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.385e-05/0.4606, allocations: 8 kB / 1.236 GB, free: 13.68 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001301/0.4607, allocations: 374.8 kB / 1.237 GB, free: 13.31 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003241/0.461, allocations: 127.9 kB / 1.237 GB, free: 13.18 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000406/0.4614, allocations: 281 kB / 1.237 GB, free: 12.85 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003613/0.4618, allocations: 163.8 kB / 1.237 GB, free: 12.69 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.4618, allocations: 0 / 1.237 GB, free: 12.69 MB / 0.9981 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009283/0.4628, allocations: 474.6 kB / 1.238 GB, free: 12.22 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001081/0.4629, allocations: 203.7 kB / 1.238 GB, free: 11.96 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.4629, allocations: 4 kB / 1.238 GB, free: 11.96 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.4629, allocations: 8 kB / 1.238 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003993/0.4633, allocations: 87.89 kB / 1.238 GB, free: 11.86 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.423e-05/0.4633, allocations: 11.94 kB / 1.238 GB, free: 11.85 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005724/0.4639, allocations: 87.44 kB / 1.238 GB, free: 11.77 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.029e-05/0.464, allocations: 23.98 kB / 1.238 GB, free: 11.74 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 6.201e-06/0.464, allocations: 4 kB / 1.238 GB, free: 11.74 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008101/0.4648, allocations: 388 kB / 1.238 GB, free: 11.36 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.4648, allocations: 4 kB / 1.238 GB, free: 11.36 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.202e-06/0.4648, allocations: 4 kB / 1.238 GB, free: 11.35 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003704/0.4652, allocations: 91.89 kB / 1.239 GB, free: 11.26 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.702e-06/0.4652, allocations: 8 kB / 1.239 GB, free: 11.25 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000454/0.4657, allocations: 71.7 kB / 1.239 GB, free: 11.18 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.677e-05/0.4657, allocations: 20.05 kB / 1.239 GB, free: 11.16 MB / 0.9981 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 ($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 (43): * Single equations (assignments): 43 * 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.000263/0.466, allocations: 295.4 kB / 1.239 GB, free: 10.87 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.498e-05/0.4661, allocations: 71.19 kB / 1.239 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005824/0.4667, allocations: 314.2 kB / 1.239 GB, free: 10.48 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.4667, allocations: 0 / 1.239 GB, free: 10.48 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.4667, allocations: 4 kB / 1.239 GB, free: 10.48 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.4667, allocations: 3.984 kB / 1.239 GB, free: 10.47 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001377/0.4681, allocations: 1.08 MB / 1.24 GB, free: 9.305 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.4681, allocations: 4.031 kB / 1.24 GB, free: 9.301 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001967/0.4683, allocations: 43.92 kB / 1.24 GB, free: 9.258 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.141e-06/0.4683, allocations: 4 kB / 1.24 GB, free: 9.254 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.147e-05/0.4684, allocations: 7.984 kB / 1.24 GB, free: 9.246 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.811e-06/0.4684, allocations: 4 kB / 1.24 GB, free: 9.242 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.4684, allocations: 4 kB / 1.24 GB, free: 9.238 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005254/0.4689, allocations: 483.6 kB / 1.241 GB, free: 8.719 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001893/0.4691, allocations: 168.3 kB / 1.241 GB, free: 8.535 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.717e-05/0.4692, allocations: 4 kB / 1.241 GB, free: 8.531 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003448/0.4695, allocations: 31.91 kB / 1.241 GB, free: 8.5 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.681e-05/0.4696, allocations: 31.88 kB / 1.241 GB, free: 8.469 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.996e-05/0.4696, allocations: 8 kB / 1.241 GB, free: 8.461 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006147/0.4703, allocations: 475 kB / 1.242 GB, free: 8 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.6e-07/0.4703, allocations: 0 / 1.242 GB, free: 8 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000855/0.4711, allocations: 267.6 kB / 1.242 GB, free: 7.738 MB / 0.9981 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 (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.001179/0.4723, allocations: 0.5004 MB / 1.242 GB, free: 7.391 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001067/0.4734, allocations: 0.4966 MB / 1.243 GB, free: 6.895 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.4734, allocations: 0 / 1.243 GB, free: 6.895 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002152/0.4736, allocations: 128.6 kB / 1.243 GB, free: 6.77 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001243/0.4749, allocations: 267.6 kB / 1.243 GB, free: 6.512 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001791/0.4767, allocations: 1.204 MB / 1.244 GB, free: 5.246 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000424/0.4771, allocations: 0.8979 MB / 1.245 GB, free: 4.32 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0007033/0.4778, allocations: 168.8 kB / 1.245 GB, free: 4.156 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000124/0.478, allocations: 47.42 kB / 1.245 GB, free: 4.109 MB / 0.9981 GB Notification: Performance of SimCode: time 1.883e-06/0.478, allocations: 0 / 1.245 GB, free: 4.109 MB / 0.9981 GB Notification: Performance of Templates: time 0.4801/0.9581, allocations: 9.722 MB / 1.255 GB, free: 190.2 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.makefile (rm -f Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe >> ../files/Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.sim & ./Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Humidifiers_Validation_SprayAirWasher_X.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches