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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001568/0.001568, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001963/0.001963, allocations: 189.7 kB / 16.25 MB, free: 6.637 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.409/1.409, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.789/2.789, allocations: 472.7 MB / 0.7449 GB, free: 4.801 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 71.69 kB / 0.9116 GB, free: 33.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3101/0.3115, allocations: 159.9 MB / 1.068 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X): time 0.1918/0.5033, allocations: 178 MB / 1.242 GB, free: 8.113 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.006179/0.5095, allocations: 3.713 MB / 1.245 GB, free: 4.391 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006963/0.5102, allocations: 31.81 kB / 1.245 GB, free: 4.359 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001145/0.5114, allocations: 390.2 kB / 1.246 GB, free: 3.977 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003017/0.5145, allocations: 1.179 MB / 1.247 GB, free: 2.793 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001925/0.5164, allocations: 0.6691 MB / 1.247 GB, free: 2.129 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002329/0.5187, allocations: 1.352 MB / 1.249 GB, free: 0.7734 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008932/0.5197, allocations: 473.2 kB / 1.249 GB, free: 312 kB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.6778/1.197, allocations: 0.9667 MB / 1.25 GB, free: 7.031 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001111/1.199, allocations: 483.1 kB / 1.251 GB, free: 7.031 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001533/1.199, allocations: 43.12 kB / 1.251 GB, free: 7.031 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003265/1.202, allocations: 1.226 MB / 1.252 GB, free: 7.031 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003835/1.202, allocations: 197.9 kB / 1.252 GB, free: 7.031 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006242/1.203, allocations: 326.8 kB / 1.252 GB, free: 7.031 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002633/1.206, allocations: 1.24 MB / 1.253 GB, free: 7.004 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/1.206, allocations: 0 / 1.253 GB, free: 7.004 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.312e-06/1.206, allocations: 0.5 kB / 1.253 GB, free: 7.004 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.244e-05/1.206, allocations: 1 kB / 1.253 GB, free: 7.004 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.002839/1.209, allocations: 1.048 MB / 1.255 GB, free: 22.36 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/1.209, allocations: 8.719 kB / 1.255 GB, free: 22.36 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001476/1.21, allocations: 222.2 kB / 1.255 GB, free: 22.32 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008826/1.211, allocations: 0.5337 MB / 1.255 GB, free: 22.04 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.277e-05/1.211, allocations: 35.2 kB / 1.255 GB, free: 22.04 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.803e-05/1.211, allocations: 39.33 kB / 1.255 GB, free: 22.04 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001121/1.212, allocations: 0.5392 MB / 1.256 GB, free: 21.98 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.521e-05/1.212, allocations: 0.6875 kB / 1.256 GB, free: 21.98 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.003e-05/1.212, allocations: 15.53 kB / 1.256 GB, free: 21.98 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.476e-05/1.212, allocations: 16.38 kB / 1.256 GB, free: 21.98 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001179/1.214, allocations: 0.5049 MB / 1.256 GB, free: 21.98 MB / 1.014 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.003257/1.217, allocations: 2.217 MB / 1.259 GB, free: 20.76 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000714/1.218, allocations: 348.6 kB / 1.259 GB, free: 20.64 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002226/1.218, allocations: 147.8 kB / 1.259 GB, free: 20.63 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001416/1.219, allocations: 0.8404 MB / 1.26 GB, free: 19.79 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003285/1.22, allocations: 193 kB / 1.26 GB, free: 19.73 MB / 1.014 GB Notification: Performance of pre-optimization done (n=26): time 2.184e-06/1.22, allocations: 0 / 1.26 GB, free: 19.73 MB / 1.014 GB Notification: Performance of matching and sorting (n=26): time 0.001031/1.221, allocations: 433.1 kB / 1.26 GB, free: 19.66 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.148e-05/1.221, allocations: 81.94 kB / 1.26 GB, free: 19.57 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008567/1.222, allocations: 0.6568 MB / 1.261 GB, free: 19.43 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.79e-05/1.222, allocations: 31.14 kB / 1.261 GB, free: 19.4 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.000212/1.222, allocations: 319.9 kB / 1.261 GB, free: 19.26 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 6.425e-05/1.222, allocations: 91.7 kB / 1.262 GB, free: 19.21 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000134/1.222, allocations: 80.22 kB / 1.262 GB, free: 19.19 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001542/1.222, allocations: 370.2 kB / 1.262 GB, free: 18.88 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003426/1.223, allocations: 146.4 kB / 1.262 GB, free: 18.86 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004153/1.223, allocations: 275.3 kB / 1.262 GB, free: 18.7 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005662/1.224, allocations: 386.5 kB / 1.263 GB, free: 18.56 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/1.224, allocations: 0.6562 kB / 1.263 GB, free: 18.56 MB / 1.014 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009416/1.225, allocations: 477.3 kB / 1.263 GB, free: 18.5 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/1.225, allocations: 8.438 kB / 1.263 GB, free: 18.5 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.806e-06/1.225, allocations: 9.625 kB / 1.263 GB, free: 18.5 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.966e-05/1.225, allocations: 9.188 kB / 1.263 GB, free: 18.49 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004025/1.225, allocations: 90.58 kB / 1.263 GB, free: 18.49 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.058e-05/1.225, allocations: 7.641 kB / 1.263 GB, free: 18.49 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006687/1.226, allocations: 82.97 kB / 1.263 GB, free: 18.47 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.186e-05/1.226, allocations: 20.77 kB / 1.263 GB, free: 18.47 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005064/1.226, allocations: 296.8 kB / 1.264 GB, free: 18.39 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000393/1.227, allocations: 276 kB / 1.264 GB, free: 18.23 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005489/1.227, allocations: 387.7 kB / 1.264 GB, free: 18.09 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.074e-06/1.227, allocations: 0 / 1.264 GB, free: 18.09 MB / 1.014 GB Notification: Performance of matching and sorting (n=43) (initialization_lambda0): time 0.0008931/1.228, allocations: 474.3 kB / 1.265 GB, free: 18.02 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/1.228, allocations: 13.19 kB / 1.265 GB, free: 18.02 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/1.228, allocations: 4.641 kB / 1.265 GB, free: 18.02 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.071e-06/1.228, allocations: 8 kB / 1.265 GB, free: 18.02 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003744/1.229, allocations: 91.45 kB / 1.265 GB, free: 18.02 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/1.229, allocations: 6.078 kB / 1.265 GB, free: 18.02 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006301/1.229, allocations: 69.8 kB / 1.265 GB, free: 18.01 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.864e-05/1.229, allocations: 15.7 kB / 1.265 GB, free: 18.01 MB / 1.014 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.0001989/1.229, allocations: 209.6 kB / 1.265 GB, free: 17.82 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.285e-05/1.23, allocations: 65.59 kB / 1.265 GB, free: 17.79 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006355/1.23, allocations: 322.3 kB / 1.266 GB, free: 17.73 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.002e-06/1.23, allocations: 2.75 kB / 1.266 GB, free: 17.73 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/1.23, allocations: 3.109 kB / 1.266 GB, free: 17.73 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/1.23, allocations: 3.422 kB / 1.266 GB, free: 17.73 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001579/1.232, allocations: 1.087 MB / 1.267 GB, free: 17.27 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/1.232, allocations: 4 kB / 1.267 GB, free: 17.27 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001794/1.232, allocations: 38.12 kB / 1.267 GB, free: 17.27 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-06/1.232, allocations: 3.906 kB / 1.267 GB, free: 17.27 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.531e-05/1.232, allocations: 10.2 kB / 1.267 GB, free: 17.27 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.863e-06/1.232, allocations: 6.75 kB / 1.267 GB, free: 17.27 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.13e-06/1.232, allocations: 10.06 kB / 1.267 GB, free: 17.26 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005805/1.233, allocations: 470.1 kB / 1.267 GB, free: 17.02 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002128/1.233, allocations: 162.3 kB / 1.267 GB, free: 16.89 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.871e-05/1.233, allocations: 8 kB / 1.267 GB, free: 16.89 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003823/1.233, allocations: 32.12 kB / 1.267 GB, free: 16.89 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.476e-05/1.233, allocations: 22.8 kB / 1.267 GB, free: 16.89 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.535e-05/1.234, allocations: 13.36 kB / 1.267 GB, free: 16.89 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0007021/1.234, allocations: 477 kB / 1.268 GB, free: 16.8 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.2e-07/1.234, allocations: 1.031 kB / 1.268 GB, free: 16.8 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001065/1.235, allocations: 274 kB / 1.268 GB, free: 16.77 MB / 1.014 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.001309/1.237, allocations: 0.5137 MB / 1.269 GB, free: 16.61 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001317/1.238, allocations: 0.517 MB / 1.269 GB, free: 16.61 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.92e-06/1.238, allocations: 2.219 kB / 1.269 GB, free: 16.61 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002632/1.238, allocations: 124.3 kB / 1.269 GB, free: 16.61 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001481/1.24, allocations: 281.7 kB / 1.27 GB, free: 16.57 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002245/1.242, allocations: 1.209 MB / 1.271 GB, free: 15.92 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007146/1.243, allocations: 0.8931 MB / 1.272 GB, free: 15.22 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0008939/1.244, allocations: 176.4 kB / 1.272 GB, free: 15.2 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001555/1.244, allocations: 47.98 kB / 1.272 GB, free: 15.2 MB / 1.014 GB Notification: Performance of SimCode: time 6.41e-07/1.244, allocations: 0 / 1.272 GB, free: 15.2 MB / 1.014 GB Notification: Performance of Templates: time 0.02357/1.267, allocations: 10.33 MB / 1.282 GB, free: 14.7 MB / 1.014 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