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.001063/0.001063, allocations: 92.62 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001585/0.001585, allocations: 183.9 kB / 16.92 MB, free: 6.926 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.391/1.391, allocations: 223.3 MB / 241 MB, free: 5.254 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.894/2.894, allocations: 462.7 MB / 0.737 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003815/0.0003815, allocations: 13.06 kB / 0.9034 GB, free: 36.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3306/0.331, allocations: 159.6 MB / 1.059 GB, free: 5 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X): time 0.2014/0.5325, allocations: 175.8 MB / 1.231 GB, free: 4.566 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.006513/0.539, allocations: 3.726 MB / 1.235 GB, free: 0.832 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008062/0.5399, allocations: 23.81 kB / 1.235 GB, free: 0.8086 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001134/0.541, allocations: 370.2 kB / 1.235 GB, free: 456 kB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.003202/0.5442, allocations: 1.179 MB / 1.236 GB, free: 15.26 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002142/0.5464, allocations: 0.6675 MB / 1.237 GB, free: 14.6 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002479/0.5489, allocations: 1.828 MB / 1.239 GB, free: 12.77 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009313/0.5498, allocations: 397.7 kB / 1.239 GB, free: 12.38 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003004/0.5529, allocations: 0.8926 MB / 1.24 GB, free: 11.48 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007812/0.5537, allocations: 462.1 kB / 1.24 GB, free: 11.03 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 5.378e-05/0.5537, allocations: 20 kB / 1.24 GB, free: 11.01 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002491/0.5562, allocations: 1.321 MB / 1.242 GB, free: 9.688 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002314/0.5565, allocations: 171.4 kB / 1.242 GB, free: 9.52 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003876/0.5569, allocations: 324 kB / 1.242 GB, free: 9.195 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001255/0.5581, allocations: 0.8379 MB / 1.243 GB, free: 8.355 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.5581, allocations: 0 / 1.243 GB, free: 8.355 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.312e-06/0.5581, allocations: 0 / 1.243 GB, free: 8.355 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.087e-06/0.5582, allocations: 4 kB / 1.243 GB, free: 8.352 MB / 0.9981 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.002014/0.5602, allocations: 0.9311 MB / 1.244 GB, free: 7.371 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/0.5602, allocations: 11.97 kB / 1.244 GB, free: 7.359 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001298/0.5615, allocations: 235 kB / 1.244 GB, free: 7.129 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007897/0.5623, allocations: 0.5303 MB / 1.245 GB, free: 6.559 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.04e-05/0.5624, allocations: 40.92 kB / 1.245 GB, free: 6.516 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.108e-05/0.5625, allocations: 36 kB / 1.245 GB, free: 6.48 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001104/0.5636, allocations: 0.5388 MB / 1.245 GB, free: 5.922 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.497e-05/0.5636, allocations: 0 / 1.245 GB, free: 5.922 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.853e-05/0.5637, allocations: 20 kB / 1.245 GB, free: 5.902 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.261e-05/0.5637, allocations: 21 kB / 1.245 GB, free: 5.883 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001227/0.5649, allocations: 0.5113 MB / 1.246 GB, free: 5.371 MB / 0.9981 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.003584/0.5685, allocations: 2.231 MB / 1.248 GB, free: 2.953 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007544/0.5693, allocations: 351.7 kB / 1.248 GB, free: 2.582 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002374/0.5696, allocations: 140.7 kB / 1.248 GB, free: 2.441 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001346/0.5709, allocations: 0.8689 MB / 1.249 GB, free: 1.406 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003893/0.5713, allocations: 194.4 kB / 1.249 GB, free: 1.199 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=26): time 2.445e-06/0.5713, allocations: 4 kB / 1.249 GB, free: 1.195 MB / 0.9981 GB Notification: Performance of matching and sorting (n=26): time 0.001009/0.5723, allocations: 435.2 kB / 1.25 GB, free: 0.7656 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.258e-05/0.5724, allocations: 85.05 kB / 1.25 GB, free: 0.6641 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.5918/1.164, allocations: 0.6537 MB / 1.25 GB, free: 193.4 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.000109/1.164, allocations: 31.7 kB / 1.251 GB, free: 193.4 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004118/1.165, allocations: 311.9 kB / 1.251 GB, free: 193.3 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000115/1.165, allocations: 91.39 kB / 1.251 GB, free: 193.3 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.403e-05/1.165, allocations: 34.31 kB / 1.251 GB, free: 193.3 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001432/1.165, allocations: 375.1 kB / 1.251 GB, free: 192.9 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004695/1.166, allocations: 129.7 kB / 1.251 GB, free: 192.9 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004766/1.166, allocations: 280 kB / 1.252 GB, free: 192.8 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006694/1.167, allocations: 389 kB / 1.252 GB, free: 192.6 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.494e-06/1.167, allocations: 1.312 kB / 1.252 GB, free: 192.6 MB / 0.9981 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001179/1.168, allocations: 477.5 kB / 1.253 GB, free: 192.6 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001105/1.168, allocations: 207.6 kB / 1.253 GB, free: 192.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.287e-05/1.168, allocations: 4.375 kB / 1.253 GB, free: 192.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.657e-05/1.168, allocations: 5.688 kB / 1.253 GB, free: 192.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004316/1.169, allocations: 90.62 kB / 1.253 GB, free: 192.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.32e-05/1.169, allocations: 5.906 kB / 1.253 GB, free: 192.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006496/1.169, allocations: 83.98 kB / 1.253 GB, free: 192.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.916e-05/1.169, allocations: 26.86 kB / 1.253 GB, free: 192.3 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 7.514e-06/1.169, allocations: 4.25 kB / 1.253 GB, free: 192.3 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009059/1.17, allocations: 388.7 kB / 1.253 GB, free: 192.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.924e-06/1.17, allocations: 8.062 kB / 1.253 GB, free: 192.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/1.17, allocations: 5.844 kB / 1.253 GB, free: 192.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003863/1.171, allocations: 87.78 kB / 1.253 GB, free: 192.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.105e-05/1.171, allocations: 10.48 kB / 1.253 GB, free: 192.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000486/1.171, allocations: 67.55 kB / 1.253 GB, free: 192.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.028e-05/1.171, allocations: 20.08 kB / 1.253 GB, free: 192.2 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 ($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.000316/1.172, allocations: 289.6 kB / 1.254 GB, free: 192 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.341e-05/1.172, allocations: 63.38 kB / 1.254 GB, free: 192 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006431/1.172, allocations: 320.4 kB / 1.254 GB, free: 191.9 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.263e-06/1.172, allocations: 3.375 kB / 1.254 GB, free: 191.9 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/1.172, allocations: 0.75 kB / 1.254 GB, free: 191.9 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.735e-06/1.172, allocations: 6.578 kB / 1.254 GB, free: 191.9 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001457/1.174, allocations: 1.086 MB / 1.255 GB, free: 191.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/1.174, allocations: 2.625 kB / 1.255 GB, free: 191.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001802/1.174, allocations: 42.39 kB / 1.255 GB, free: 191.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.121e-06/1.174, allocations: 3.156 kB / 1.255 GB, free: 191.5 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.613e-05/1.174, allocations: 9.438 kB / 1.255 GB, free: 191.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.763e-06/1.174, allocations: 11.09 kB / 1.255 GB, free: 191.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.808e-06/1.174, allocations: 3.125 kB / 1.255 GB, free: 191.5 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00049/1.175, allocations: 476 kB / 1.256 GB, free: 191.2 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001525/1.175, allocations: 169.3 kB / 1.256 GB, free: 191.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.07e-05/1.175, allocations: 9.719 kB / 1.256 GB, free: 191.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003372/1.175, allocations: 30.11 kB / 1.256 GB, free: 191.1 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.151e-05/1.175, allocations: 25.2 kB / 1.256 GB, free: 191.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.898e-05/1.175, allocations: 8.594 kB / 1.256 GB, free: 191.1 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005471/1.176, allocations: 476.5 kB / 1.256 GB, free: 191 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/1.176, allocations: 7.406 kB / 1.256 GB, free: 191 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008503/1.177, allocations: 266.4 kB / 1.257 GB, free: 191 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 (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.001173/1.178, allocations: 0.5066 MB / 1.257 GB, free: 190.8 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001017/1.179, allocations: 0.5026 MB / 1.258 GB, free: 190.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/1.179, allocations: 3.125 kB / 1.258 GB, free: 190.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001806/1.179, allocations: 125.5 kB / 1.258 GB, free: 190.8 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001461/1.181, allocations: 261.7 kB / 1.258 GB, free: 190.8 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001698/1.182, allocations: 1.27 MB / 1.259 GB, free: 190 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000289/1.183, allocations: 0.8908 MB / 1.26 GB, free: 189.3 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001505/1.183, allocations: 52.08 kB / 1.26 GB, free: 189.3 MB / 0.9981 GB Notification: Performance of SimCode: time 2.81e-07/1.183, allocations: 0 / 1.26 GB, free: 189.3 MB / 0.9981 GB Notification: Performance of Templates: time 0.02131/1.204, allocations: 9.68 MB / 1.27 GB, free: 188.5 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/jenkins1/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