Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.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.Interfaces.Examples.ReverseFlowHumidifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senEnt1.h_out|senEnt2.h_out|senTem1.T|senTem2.T|senMas1.X|senMas2.X|cheTem.y|cheEnt.y|cheMas.y",fileNamePrefix="Buildings_10_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier") translateModel(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senEnt1.h_out|senEnt2.h_out|senTem1.T|senTem2.T|senMas1.X|senMas2.X|cheTem.y|cheEnt.y|cheMas.y",fileNamePrefix="Buildings_10_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001515/0.001515, allocations: 110.2 kB / 16.42 MB, free: 6.488 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.001818/0.001818, allocations: 185.7 kB / 17.35 MB, free: 5.762 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.323/1.323, allocations: 222.9 MB / 241 MB, free: 15.15 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.447/2.447, allocations: 437 MB / 0.7112 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001322/0.001322, allocations: 63.91 kB / 1.019 GB, free: 9.422 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6588/0.6602, allocations: 151.6 MB / 1.167 GB, free: 3.828 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 0.2661/0.9263, allocations: 274.6 MB / 1.436 GB, free: 208 kB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.0214/0.9477, allocations: 17.36 MB / 1.452 GB, free: 14.79 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002292/0.9501, allocations: 71.56 kB / 1.453 GB, free: 14.71 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.002887/0.953, allocations: 1.204 MB / 1.454 GB, free: 13.5 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.007517/0.9605, allocations: 3.227 MB / 1.457 GB, free: 10.26 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.005179/0.9657, allocations: 2.235 MB / 1.459 GB, free: 8.031 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.006327/0.9721, allocations: 4.85 MB / 1.464 GB, free: 3.168 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002843/0.9749, allocations: 1.767 MB / 1.466 GB, free: 1.367 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005496/0.9804, allocations: 2.497 MB / 1.468 GB, free: 14.87 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002761/0.9832, allocations: 1.543 MB / 1.469 GB, free: 13.34 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0004824/0.9837, allocations: 196 kB / 1.47 GB, free: 13.14 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005669/0.9894, allocations: 3.024 MB / 1.473 GB, free: 10.11 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0008742/0.9903, allocations: 0.7207 MB / 1.473 GB, free: 9.391 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.001676/0.992, allocations: 1.12 MB / 1.474 GB, free: 8.266 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.005638/0.9976, allocations: 3.829 MB / 1.478 GB, free: 4.426 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.9976, allocations: 0 / 1.478 GB, free: 4.426 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.303e-06/0.9976, allocations: 0 / 1.478 GB, free: 4.426 MB / 1.201 GB Notification: Performance of Transformations before backend: time 7.531e-05/0.9977, allocations: 0 / 1.478 GB, free: 4.426 MB / 1.201 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 324 * Number of variables: 324 Notification: Performance of Generate backend data structure: time 0.004538/1.002, allocations: 2.435 MB / 1.481 GB, free: 1.922 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/1.002, allocations: 12.88 kB / 1.481 GB, free: 1.91 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004634/1.007, allocations: 0.6378 MB / 1.481 GB, free: 1.27 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002532/1.009, allocations: 1.404 MB / 1.483 GB, free: 15.8 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.713e-05/1.01, allocations: 110.5 kB / 1.483 GB, free: 15.7 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002208/1.01, allocations: 136 kB / 1.483 GB, free: 15.56 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002585/1.012, allocations: 1.569 MB / 1.484 GB, free: 13.93 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.344e-05/1.012, allocations: 3.938 kB / 1.484 GB, free: 13.93 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001406/1.013, allocations: 55.94 kB / 1.484 GB, free: 13.87 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.642e-05/1.013, allocations: 46.45 kB / 1.484 GB, free: 13.82 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002176/1.015, allocations: 1.278 MB / 1.486 GB, free: 12.54 MB / 1.217 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.008862/1.024, allocations: 7.206 MB / 1.493 GB, free: 4.77 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001096/1.025, allocations: 0.6433 MB / 1.493 GB, free: 4.121 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005394/1.025, allocations: 370.3 kB / 1.494 GB, free: 3.758 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001955/1.026, allocations: 113.6 kB / 1.494 GB, free: 3.629 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.24e-05/1.026, allocations: 47.12 kB / 1.494 GB, free: 3.57 MB / 1.217 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005294/1.026, allocations: 95.11 kB / 1.494 GB, free: 3.477 MB / 1.217 GB Notification: Performance of pre-optimization done (n=67): time 3.747e-06/1.026, allocations: 0 / 1.494 GB, free: 3.477 MB / 1.217 GB Notification: Performance of matching and sorting (n=67): time 0.001965/1.028, allocations: 1.016 MB / 1.495 GB, free: 2.457 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.975e-05/1.028, allocations: 63.97 kB / 1.495 GB, free: 2.383 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001739/1.03, allocations: 1.335 MB / 1.496 GB, free: 1.039 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 8.173e-05/1.03, allocations: 45.7 kB / 1.496 GB, free: 0.9883 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005895/1.031, allocations: 0.7814 MB / 1.497 GB, free: 204 kB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.000241/1.031, allocations: 240.6 kB / 1.497 GB, free: 15.96 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003131/1.031, allocations: 202.4 kB / 1.497 GB, free: 15.76 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001341/1.031, allocations: 345.9 kB / 1.498 GB, free: 15.41 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005821/1.032, allocations: 364.6 kB / 1.498 GB, free: 15.05 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000815/1.033, allocations: 0.681 MB / 1.499 GB, free: 14.24 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001314/1.034, allocations: 0.9527 MB / 1.5 GB, free: 13.19 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.472e-06/1.034, allocations: 112 / 1.5 GB, free: 13.19 MB / 1.232 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001842/1.036, allocations: 1.155 MB / 1.501 GB, free: 12.03 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/1.036, allocations: 8 kB / 1.501 GB, free: 12.02 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/1.036, allocations: 4 kB / 1.501 GB, free: 12.02 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.378e-05/1.036, allocations: 12 kB / 1.501 GB, free: 12 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009009/1.037, allocations: 212.3 kB / 1.501 GB, free: 11.8 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.262e-05/1.037, allocations: 15.94 kB / 1.501 GB, free: 11.78 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001254/1.038, allocations: 49.09 kB / 1.501 GB, free: 11.73 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.831e-05/1.038, allocations: 40 kB / 1.501 GB, free: 11.7 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001028/1.039, allocations: 0.6854 MB / 1.502 GB, free: 11 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008046/1.04, allocations: 0.6751 MB / 1.503 GB, free: 10.19 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001279/1.041, allocations: 0.9527 MB / 1.503 GB, free: 9.148 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.21e-06/1.041, allocations: 7.938 kB / 1.503 GB, free: 9.141 MB / 1.232 GB Notification: Performance of matching and sorting (n=123) (initialization_lambda0): time 0.001782/1.043, allocations: 1.152 MB / 1.505 GB, free: 7.984 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/1.043, allocations: 8 kB / 1.505 GB, free: 7.977 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/1.043, allocations: 8.062 kB / 1.505 GB, free: 7.969 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/1.043, allocations: 12 kB / 1.505 GB, free: 7.957 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008665/1.044, allocations: 207.7 kB / 1.505 GB, free: 7.754 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.952e-05/1.044, allocations: 19.92 kB / 1.505 GB, free: 7.734 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001269/1.045, allocations: 57.78 kB / 1.505 GB, free: 7.68 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.178e-05/1.046, allocations: 39.98 kB / 1.505 GB, free: 7.641 MB / 1.232 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (121): * Single equations (assignments): 119 * Array equations: 2 * 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.0002308/1.046, allocations: 247.9 kB / 1.505 GB, free: 7.391 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002367/1.046, allocations: 154.1 kB / 1.505 GB, free: 7.238 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001421/1.047, allocations: 0.8164 MB / 1.506 GB, free: 6.406 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001001/1.048, allocations: 0.7901 MB / 1.507 GB, free: 5.57 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/1.048, allocations: 0 / 1.507 GB, free: 5.57 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005647/1.049, allocations: 319.1 kB / 1.507 GB, free: 5.238 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001991/1.049, allocations: 16 kB / 1.507 GB, free: 5.223 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009033/1.05, allocations: 41.59 kB / 1.507 GB, free: 5.184 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.941e-05/1.05, allocations: 36.61 kB / 1.507 GB, free: 5.148 MB / 1.232 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001781/1.052, allocations: 0.872 MB / 1.508 GB, free: 4.27 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001759/1.054, allocations: 1.342 MB / 1.509 GB, free: 2.898 MB / 1.232 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004526/1.054, allocations: 345.1 kB / 1.51 GB, free: 2.566 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.001174/1.055, allocations: 0.9044 MB / 1.511 GB, free: 1.664 MB / 1.232 GB Notification: Performance of Backend: time 3.4e-07/1.055, allocations: 0 / 1.511 GB, free: 1.664 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.003609/1.059, allocations: 1.752 MB / 1.512 GB, free: 15.92 MB / 1.248 GB Notification: Performance of SimCode: time 0.00651/1.066, allocations: 3.816 MB / 1.516 GB, free: 12.06 MB / 1.248 GB Notification: Performance of Templates: time 0.05856/1.124, allocations: 38.88 MB / 1.554 GB, free: 5.496 MB / 1.279 GB make -j1 -f Buildings_10_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.makefile (rm -f Buildings_10_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; mkfifo Buildings_10_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe >> ../files/Buildings_10_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.sim & ./Buildings_10_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Interfaces_Examples_ReverseFlowHumidifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches