Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.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_dynamic,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_dynamic") translateModel(Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic,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_dynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001012/0.001012, allocations: 91.53 kB / 15.06 MB, free: 1.098 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: 172.7 kB / 15.95 MB, free: 208 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.354/1.354, allocations: 223.3 MB / 240 MB, free: 5.281 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.712/2.712, allocations: 462.6 MB / 0.736 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004871/0.0004872, allocations: 11.78 kB / 0.9021 GB, free: 36.63 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2668/0.2673, allocations: 159.6 MB / 1.058 GB, free: 5.324 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic): time 0.1634/0.4307, allocations: 164 MB / 1.218 GB, free: 0.8633 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.005566/0.4363, allocations: 3.514 MB / 1.222 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004853/0.4368, allocations: 23.81 kB / 1.222 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0008739/0.4377, allocations: 318.3 kB / 1.222 GB, free: 13.01 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002136/0.4399, allocations: 0.9215 MB / 1.223 GB, free: 12.08 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001503/0.4414, allocations: 0.581 MB / 1.223 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001598/0.443, allocations: 1.57 MB / 1.225 GB, free: 9.934 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005676/0.4436, allocations: 380.4 kB / 1.225 GB, free: 9.562 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001502/0.4451, allocations: 0.7819 MB / 1.226 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005307/0.4456, allocations: 430.3 kB / 1.226 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.941e-05/0.4457, allocations: 24 kB / 1.226 GB, free: 8.332 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001445/0.4472, allocations: 0.803 MB / 1.227 GB, free: 7.527 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001782/0.4474, allocations: 183.3 kB / 1.227 GB, free: 7.348 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001327/0.4475, allocations: 149.4 kB / 1.228 GB, free: 7.195 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0008536/0.4484, allocations: 0.795 MB / 1.228 GB, free: 6.398 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.177e-06/0.4484, allocations: 0 / 1.228 GB, free: 6.398 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.233e-06/0.4484, allocations: 0 / 1.228 GB, free: 6.398 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.486e-06/0.4484, allocations: 0 / 1.228 GB, free: 6.398 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.001797/0.4502, allocations: 0.9429 MB / 1.229 GB, free: 5.406 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.146e-05/0.4502, allocations: 12.03 kB / 1.229 GB, free: 5.395 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001236/0.4515, allocations: 230.9 kB / 1.23 GB, free: 5.168 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000709/0.4522, allocations: 0.5191 MB / 1.23 GB, free: 4.609 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.661e-05/0.4523, allocations: 29 kB / 1.23 GB, free: 4.578 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.961e-05/0.4523, allocations: 43.94 kB / 1.23 GB, free: 4.535 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001019/0.4534, allocations: 0.5435 MB / 1.231 GB, free: 3.969 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.498e-05/0.4534, allocations: 7.891 kB / 1.231 GB, free: 3.961 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.565e-05/0.4534, allocations: 16 kB / 1.231 GB, free: 3.945 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.588e-05/0.4535, allocations: 17 kB / 1.231 GB, free: 3.93 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001147/0.4546, allocations: 0.5074 MB / 1.231 GB, free: 3.422 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.002876/0.4575, allocations: 2.222 MB / 1.233 GB, free: 1.023 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006228/0.4581, allocations: 361.7 kB / 1.234 GB, free: 0.6445 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002386/0.4584, allocations: 149.4 kB / 1.234 GB, free: 0.4961 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001292/0.4597, allocations: 0.8689 MB / 1.235 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003326/0.46, allocations: 205 kB / 1.235 GB, free: 15.24 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=28): time 1.573e-06/0.46, allocations: 0 / 1.235 GB, free: 15.24 MB / 0.9981 GB Notification: Performance of matching and sorting (n=28): time 0.0009863/0.461, allocations: 458.5 kB / 1.235 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.048e-05/0.4611, allocations: 81.11 kB / 1.235 GB, free: 14.69 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008113/0.4619, allocations: 0.6524 MB / 1.236 GB, free: 14.03 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.192e-05/0.462, allocations: 33.7 kB / 1.236 GB, free: 13.99 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002237/0.4622, allocations: 315.8 kB / 1.236 GB, free: 13.68 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.873e-05/0.4623, allocations: 98.58 kB / 1.236 GB, free: 13.58 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.372e-05/0.4623, allocations: 8 kB / 1.236 GB, free: 13.57 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001309/0.4624, allocations: 370.8 kB / 1.237 GB, free: 13.2 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000349/0.4628, allocations: 140.8 kB / 1.237 GB, free: 13.06 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004529/0.4633, allocations: 298.2 kB / 1.237 GB, free: 12.71 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003874/0.4637, allocations: 173.4 kB / 1.237 GB, free: 12.54 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.4637, allocations: 0 / 1.237 GB, free: 12.54 MB / 0.9981 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009722/0.4647, allocations: 0.4901 MB / 1.238 GB, free: 12.04 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.00011/0.4648, allocations: 211.7 kB / 1.238 GB, free: 11.78 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.4648, allocations: 7.938 kB / 1.238 GB, free: 11.77 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.4648, allocations: 8 kB / 1.238 GB, free: 11.76 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004252/0.4652, allocations: 83.89 kB / 1.238 GB, free: 11.68 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.328e-05/0.4653, allocations: 15.94 kB / 1.238 GB, free: 11.66 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005994/0.4659, allocations: 91.47 kB / 1.238 GB, free: 11.57 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.176e-05/0.4659, allocations: 20 kB / 1.238 GB, free: 11.55 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 6.031e-06/0.4659, allocations: 4 kB / 1.238 GB, free: 11.55 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008642/0.4668, allocations: 404.6 kB / 1.239 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.4668, allocations: 8.062 kB / 1.239 GB, free: 11.15 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.536e-06/0.4668, allocations: 7.953 kB / 1.239 GB, free: 11.14 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004124/0.4673, allocations: 99.81 kB / 1.239 GB, free: 11.04 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.4673, allocations: 4 kB / 1.239 GB, free: 11.04 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004655/0.4677, allocations: 71.56 kB / 1.239 GB, free: 10.97 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.698e-05/0.4678, allocations: 19.98 kB / 1.239 GB, free: 10.95 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 (47): * Single equations (assignments): 47 * 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.0002545/0.4681, allocations: 284.9 kB / 1.239 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.013e-05/0.4681, allocations: 67.25 kB / 1.239 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006108/0.4688, allocations: 341 kB / 1.24 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.4688, allocations: 0 / 1.24 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.802e-06/0.4688, allocations: 4 kB / 1.24 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.4688, allocations: 3.938 kB / 1.24 GB, free: 10.24 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001438/0.4702, allocations: 1.11 MB / 1.241 GB, free: 9.043 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.4703, allocations: 4 kB / 1.241 GB, free: 9.039 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002184/0.4705, allocations: 40.23 kB / 1.241 GB, free: 9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.072e-05/0.4705, allocations: 8 kB / 1.241 GB, free: 8.992 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.478e-05/0.4705, allocations: 11.94 kB / 1.241 GB, free: 8.98 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.4705, allocations: 4 kB / 1.241 GB, free: 8.977 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.4706, allocations: 4.188 kB / 1.241 GB, free: 8.973 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008024/0.4714, allocations: 0.618 MB / 1.241 GB, free: 8.309 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001795/0.4715, allocations: 172.3 kB / 1.241 GB, free: 8.121 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.086e-05/0.4716, allocations: 16.05 kB / 1.241 GB, free: 8.105 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003531/0.472, allocations: 27.98 kB / 1.242 GB, free: 8.078 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.467e-05/0.4721, allocations: 31.86 kB / 1.242 GB, free: 8.047 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.288e-05/0.4721, allocations: 12 kB / 1.242 GB, free: 8.035 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006066/0.4727, allocations: 475 kB / 1.242 GB, free: 7.574 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.71e-07/0.4727, allocations: 0 / 1.242 GB, free: 7.574 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000872/0.4736, allocations: 271.5 kB / 1.242 GB, free: 7.309 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 2 (hum.outCon.T,hum.outCon.Xi) * 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 (27): * Single equations (assignments): 25 * 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.001191/0.4748, allocations: 0.5128 MB / 1.243 GB, free: 6.949 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001138/0.4759, allocations: 0.5235 MB / 1.243 GB, free: 6.43 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.476, allocations: 0 / 1.243 GB, free: 6.43 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000227/0.4762, allocations: 141 kB / 1.243 GB, free: 6.293 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001294/0.4775, allocations: 257.9 kB / 1.244 GB, free: 6.043 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001981/0.4795, allocations: 1.362 MB / 1.245 GB, free: 4.621 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004459/0.4799, allocations: 0.8941 MB / 1.246 GB, free: 3.699 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0006911/0.4806, allocations: 172.9 kB / 1.246 GB, free: 3.531 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001239/0.4808, allocations: 51.44 kB / 1.246 GB, free: 3.48 MB / 0.9981 GB Notification: Performance of SimCode: time 7.41e-07/0.4808, allocations: 0 / 1.246 GB, free: 3.48 MB / 0.9981 GB Notification: Performance of Templates: time 0.4688/0.9495, allocations: 9.947 MB / 1.256 GB, free: 190.4 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.makefile (rm -f Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe >> ../files/Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.sim & ./Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Humidifiers_Validation_SprayAirWasher_X_dynamic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches