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.001104/0.001104, allocations: 108.7 kB / 16.41 MB, free: 6.465 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.001106/0.001106, allocations: 188.3 kB / 17.35 MB, free: 5.715 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.332/1.332, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.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.503/2.503, allocations: 437 MB / 0.7112 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001329/0.001329, allocations: 63.91 kB / 1.019 GB, free: 9.43 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7549/0.7562, allocations: 151.6 MB / 1.167 GB, free: 3.855 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X): time 0.1976/0.9538, allocations: 180.4 MB / 1.343 GB, free: 14.82 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.006887/0.9607, allocations: 3.732 MB / 1.347 GB, free: 11.07 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000993/0.9618, allocations: 27.81 kB / 1.347 GB, free: 11.05 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001357/0.9631, allocations: 445.5 kB / 1.347 GB, free: 10.61 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.003385/0.9666, allocations: 1.304 MB / 1.349 GB, free: 9.301 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002083/0.9687, allocations: 0.7432 MB / 1.349 GB, free: 8.562 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001912/0.9706, allocations: 1.356 MB / 1.351 GB, free: 7.199 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008309/0.9715, allocations: 481.4 kB / 1.351 GB, free: 6.723 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002582/0.9741, allocations: 1.024 MB / 1.352 GB, free: 5.703 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008243/0.9749, allocations: 454.2 kB / 1.353 GB, free: 5.258 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001218/0.975, allocations: 44 kB / 1.353 GB, free: 5.215 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002196/0.9772, allocations: 1.197 MB / 1.354 GB, free: 4.016 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0003203/0.9776, allocations: 191.4 kB / 1.354 GB, free: 3.828 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0004737/0.978, allocations: 322.3 kB / 1.354 GB, free: 3.512 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.002059/0.9801, allocations: 1.204 MB / 1.356 GB, free: 2.305 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.9801, allocations: 8 kB / 1.356 GB, free: 2.297 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.152e-06/0.9801, allocations: 0 / 1.356 GB, free: 2.297 MB / 1.076 GB Notification: Performance of Transformations before backend: time 2.756e-05/0.9802, allocations: 0 / 1.356 GB, free: 2.297 MB / 1.076 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.002371/0.9826, allocations: 1.074 MB / 1.357 GB, free: 1.168 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.9826, allocations: 8.031 kB / 1.357 GB, free: 1.16 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001346/0.9839, allocations: 219.3 kB / 1.357 GB, free: 0.9453 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009575/0.9849, allocations: 0.5776 MB / 1.357 GB, free: 336 kB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.495e-05/0.985, allocations: 29 kB / 1.357 GB, free: 308 kB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.197e-05/0.985, allocations: 36 kB / 1.357 GB, free: 272 kB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001086/0.9861, allocations: 0.535 MB / 1.358 GB, free: 15.71 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.834e-05/0.9862, allocations: 3.938 kB / 1.358 GB, free: 15.71 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.819e-05/0.9862, allocations: 16 kB / 1.358 GB, free: 15.69 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.839e-05/0.9863, allocations: 13 kB / 1.358 GB, free: 15.68 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001214/0.9875, allocations: 0.5036 MB / 1.359 GB, free: 15.18 MB / 1.092 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.003431/0.9909, allocations: 2.213 MB / 1.361 GB, free: 12.78 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007455/0.9917, allocations: 355.7 kB / 1.361 GB, free: 12.4 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002365/0.9919, allocations: 140.7 kB / 1.361 GB, free: 12.26 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001351/0.9933, allocations: 0.8415 MB / 1.362 GB, free: 11.25 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003299/0.9936, allocations: 199.1 kB / 1.362 GB, free: 11.04 MB / 1.092 GB Notification: Performance of pre-optimization done (n=26): time 1.984e-06/0.9936, allocations: 0 / 1.362 GB, free: 11.04 MB / 1.092 GB Notification: Performance of matching and sorting (n=26): time 0.0009953/0.9946, allocations: 434.3 kB / 1.363 GB, free: 10.61 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.329e-05/0.9947, allocations: 89.05 kB / 1.363 GB, free: 10.51 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008989/0.9956, allocations: 0.6564 MB / 1.363 GB, free: 9.844 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 4.26e-05/0.9957, allocations: 33.7 kB / 1.363 GB, free: 9.805 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002421/0.9959, allocations: 320.2 kB / 1.364 GB, free: 9.488 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 7.452e-05/0.996, allocations: 91.22 kB / 1.364 GB, free: 9.398 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001579/0.9961, allocations: 81.64 kB / 1.364 GB, free: 9.312 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001638/0.9963, allocations: 370.7 kB / 1.364 GB, free: 8.941 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003757/0.9967, allocations: 144.7 kB / 1.364 GB, free: 8.797 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004649/0.9972, allocations: 281 kB / 1.365 GB, free: 8.461 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006502/0.9978, allocations: 393.2 kB / 1.365 GB, free: 8.023 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/0.9979, allocations: 0 / 1.365 GB, free: 8.023 MB / 1.092 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001043/0.9989, allocations: 477.9 kB / 1.365 GB, free: 7.551 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.9989, allocations: 8 kB / 1.365 GB, free: 7.543 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.9989, allocations: 4 kB / 1.365 GB, free: 7.539 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/0.999, allocations: 8 kB / 1.365 GB, free: 7.531 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004127/0.9994, allocations: 83.88 kB / 1.366 GB, free: 7.449 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.588e-05/0.9994, allocations: 12.09 kB / 1.366 GB, free: 7.438 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000578/1, allocations: 75.69 kB / 1.366 GB, free: 7.363 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.458e-05/1, allocations: 23.94 kB / 1.366 GB, free: 7.34 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000533/1.001, allocations: 292 kB / 1.366 GB, free: 7.051 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004383/1.001, allocations: 277.7 kB / 1.366 GB, free: 6.719 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006211/1.002, allocations: 389.1 kB / 1.367 GB, free: 6.285 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.647e-06/1.002, allocations: 4 kB / 1.367 GB, free: 6.281 MB / 1.092 GB Notification: Performance of matching and sorting (n=43) (initialization_lambda0): time 0.0009997/1.003, allocations: 479.2 kB / 1.367 GB, free: 5.809 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/1.003, allocations: 11.98 kB / 1.367 GB, free: 5.797 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/1.003, allocations: 4 kB / 1.367 GB, free: 5.793 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.281e-06/1.003, allocations: 4 kB / 1.367 GB, free: 5.789 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003924/1.003, allocations: 91.83 kB / 1.367 GB, free: 5.699 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/1.003, allocations: 4 kB / 1.367 GB, free: 5.695 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005639/1.004, allocations: 67.88 kB / 1.367 GB, free: 5.629 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.774e-05/1.004, allocations: 23.94 kB / 1.367 GB, free: 5.605 MB / 1.092 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.0001376/1.004, allocations: 204.1 kB / 1.367 GB, free: 5.398 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.608e-05/1.004, allocations: 71.56 kB / 1.367 GB, free: 5.328 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006078/1.005, allocations: 315.7 kB / 1.368 GB, free: 5.008 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/1.005, allocations: 3.984 kB / 1.368 GB, free: 5.004 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/1.005, allocations: 4 kB / 1.368 GB, free: 5 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001681/1.005, allocations: 156.6 kB / 1.368 GB, free: 4.828 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.743e-05/1.005, allocations: 4 kB / 1.368 GB, free: 4.824 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002756/1.005, allocations: 23.98 kB / 1.368 GB, free: 4.801 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.243e-05/1.005, allocations: 7.984 kB / 1.368 GB, free: 4.793 MB / 1.092 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005787/1.006, allocations: 434.2 kB / 1.368 GB, free: 4.363 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005652/1.006, allocations: 0.5521 MB / 1.369 GB, free: 3.793 MB / 1.092 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001824/1.007, allocations: 115.9 kB / 1.369 GB, free: 3.68 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0006415/1.007, allocations: 475 kB / 1.369 GB, free: 3.223 MB / 1.092 GB Notification: Performance of Backend: time 3.5e-07/1.007, allocations: 0 / 1.369 GB, free: 3.223 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.003013/1.01, allocations: 1.058 MB / 1.37 GB, free: 2.332 MB / 1.092 GB Notification: Performance of SimCode: time 0.002287/1.013, allocations: 1.532 MB / 1.372 GB, free: 0.75 MB / 1.092 GB Notification: Performance of Templates: time 0.02417/1.037, allocations: 14.16 MB / 1.386 GB, free: 2.711 MB / 1.107 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/jenkins1/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