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.005466/0.005466, allocations: 99.34 kB / 15.73 MB, free: 6.059 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.001284/0.001284, allocations: 195 kB / 16.67 MB, free: 5.977 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.446/1.446, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.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.595/2.595, allocations: 437 MB / 0.7105 GB, free: 4.98 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00132/0.00132, allocations: 63.91 kB / 1.019 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3231/0.3245, allocations: 151.6 MB / 1.167 GB, free: 6.77 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 0.9761/1.301, allocations: 274.6 MB / 1.435 GB, free: 0.8867 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.02441/1.325, allocations: 17.35 MB / 1.452 GB, free: 308 kB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002764/1.328, allocations: 75.5 kB / 1.452 GB, free: 232 kB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.003718/1.332, allocations: 1.204 MB / 1.453 GB, free: 15.02 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.01026/1.342, allocations: 3.232 MB / 1.456 GB, free: 11.77 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.006612/1.349, allocations: 2.238 MB / 1.458 GB, free: 9.543 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.00774/1.356, allocations: 4.852 MB / 1.463 GB, free: 4.68 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003252/1.36, allocations: 1.766 MB / 1.465 GB, free: 2.883 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007784/1.367, allocations: 2.491 MB / 1.467 GB, free: 404 kB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003835/1.371, allocations: 1.543 MB / 1.469 GB, free: 14.86 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0008242/1.372, allocations: 196 kB / 1.469 GB, free: 14.67 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006707/1.379, allocations: 3.024 MB / 1.472 GB, free: 11.64 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.001246/1.38, allocations: 0.7207 MB / 1.473 GB, free: 10.92 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.002571/1.383, allocations: 1.12 MB / 1.474 GB, free: 9.793 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.007851/1.391, allocations: 3.847 MB / 1.477 GB, free: 5.934 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/1.391, allocations: 0 / 1.477 GB, free: 5.934 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.784e-06/1.391, allocations: 0 / 1.477 GB, free: 5.934 MB / 1.139 GB Notification: Performance of Transformations before backend: time 5.368e-05/1.391, allocations: 0 / 1.477 GB, free: 5.934 MB / 1.139 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.004358/1.395, allocations: 2.487 MB / 1.48 GB, free: 3.375 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/1.395, allocations: 11.98 kB / 1.48 GB, free: 3.363 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004696/1.4, allocations: 0.6583 MB / 1.481 GB, free: 2.703 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002658/1.403, allocations: 1.421 MB / 1.482 GB, free: 1.227 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.773e-05/1.403, allocations: 98.55 kB / 1.482 GB, free: 1.129 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002276/1.403, allocations: 136 kB / 1.482 GB, free: 0.9961 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002619/1.405, allocations: 1.569 MB / 1.484 GB, free: 15.36 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.351e-05/1.406, allocations: 3.938 kB / 1.484 GB, free: 15.36 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001412/1.406, allocations: 56 kB / 1.484 GB, free: 15.3 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-05/1.406, allocations: 58.38 kB / 1.484 GB, free: 15.24 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002123/1.408, allocations: 1.27 MB / 1.485 GB, free: 13.96 MB / 1.154 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.009433/1.417, allocations: 7.22 MB / 1.492 GB, free: 6.184 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001167/1.419, allocations: 0.6499 MB / 1.493 GB, free: 5.527 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005294/1.419, allocations: 364.6 kB / 1.493 GB, free: 5.172 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002174/1.419, allocations: 105.6 kB / 1.493 GB, free: 5.051 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.845e-05/1.419, allocations: 47.12 kB / 1.493 GB, free: 4.996 MB / 1.154 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007417/1.42, allocations: 95.39 kB / 1.493 GB, free: 4.902 MB / 1.154 GB Notification: Performance of pre-optimization done (n=67): time 3.908e-06/1.42, allocations: 0 / 1.493 GB, free: 4.902 MB / 1.154 GB Notification: Performance of matching and sorting (n=67): time 0.001969/1.422, allocations: 1.025 MB / 1.494 GB, free: 3.867 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.574e-05/1.422, allocations: 63.91 kB / 1.494 GB, free: 3.793 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001693/1.424, allocations: 1.343 MB / 1.496 GB, free: 2.441 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.00012/1.424, allocations: 45.7 kB / 1.496 GB, free: 2.391 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006806/1.425, allocations: 0.7908 MB / 1.496 GB, free: 1.594 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002525/1.425, allocations: 254 kB / 1.497 GB, free: 1.344 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000314/1.425, allocations: 206.4 kB / 1.497 GB, free: 1.137 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.000163/1.425, allocations: 349.9 kB / 1.497 GB, free: 0.7891 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005899/1.426, allocations: 356.7 kB / 1.498 GB, free: 448 kB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008266/1.427, allocations: 0.6869 MB / 1.498 GB, free: 15.61 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001368/1.428, allocations: 0.9489 MB / 1.499 GB, free: 14.57 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.705e-06/1.428, allocations: 7.938 kB / 1.499 GB, free: 14.57 MB / 1.17 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001919/1.43, allocations: 1.152 MB / 1.5 GB, free: 13.41 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.469e-05/1.43, allocations: 8 kB / 1.5 GB, free: 13.4 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.668e-05/1.43, allocations: 8 kB / 1.5 GB, free: 13.39 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.362e-05/1.43, allocations: 12 kB / 1.5 GB, free: 13.38 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009233/1.431, allocations: 200.3 kB / 1.501 GB, free: 13.18 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.892e-05/1.431, allocations: 19.92 kB / 1.501 GB, free: 13.16 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001477/1.433, allocations: 55.92 kB / 1.501 GB, free: 13.11 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.028e-05/1.433, allocations: 36 kB / 1.501 GB, free: 13.07 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001256/1.434, allocations: 0.6893 MB / 1.501 GB, free: 12.38 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008292/1.435, allocations: 0.6813 MB / 1.502 GB, free: 11.56 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001325/1.436, allocations: 0.9449 MB / 1.503 GB, free: 10.52 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.995e-06/1.436, allocations: 7.938 kB / 1.503 GB, free: 10.52 MB / 1.17 GB Notification: Performance of matching and sorting (n=123) (initialization_lambda0): time 0.001833/1.438, allocations: 1.158 MB / 1.504 GB, free: 9.355 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/1.438, allocations: 8 kB / 1.504 GB, free: 9.348 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.226e-05/1.438, allocations: 8 kB / 1.504 GB, free: 9.34 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/1.438, allocations: 16.03 kB / 1.504 GB, free: 9.324 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008917/1.439, allocations: 203.7 kB / 1.504 GB, free: 9.125 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.521e-05/1.439, allocations: 19.92 kB / 1.504 GB, free: 9.105 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001432/1.44, allocations: 58.2 kB / 1.504 GB, free: 9.051 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.008e-05/1.441, allocations: 40 kB / 1.504 GB, free: 9.012 MB / 1.17 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.0002973/1.441, allocations: 247.9 kB / 1.505 GB, free: 8.762 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002484/1.441, allocations: 163 kB / 1.505 GB, free: 8.602 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001458/1.443, allocations: 0.8202 MB / 1.506 GB, free: 7.766 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.009e-05/1.443, allocations: 8 kB / 1.506 GB, free: 7.758 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/1.443, allocations: 0 / 1.506 GB, free: 7.758 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001006/1.444, allocations: 0.7901 MB / 1.506 GB, free: 6.922 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003738/1.447, allocations: 2.302 MB / 1.509 GB, free: 4.539 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/1.447, allocations: 0 / 1.509 GB, free: 4.539 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009095/1.448, allocations: 172 kB / 1.509 GB, free: 4.371 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.028e-05/1.448, allocations: 4 kB / 1.509 GB, free: 4.367 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.861e-05/1.448, allocations: 23.94 kB / 1.509 GB, free: 4.344 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.406e-06/1.448, allocations: 7.984 kB / 1.509 GB, free: 4.336 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/1.448, allocations: 0 / 1.509 GB, free: 4.336 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001905/1.45, allocations: 1.27 MB / 1.51 GB, free: 3.031 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006078/1.451, allocations: 332 kB / 1.51 GB, free: 2.688 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001834/1.451, allocations: 15.94 kB / 1.51 GB, free: 2.672 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009338/1.452, allocations: 35.97 kB / 1.51 GB, free: 2.637 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.575e-05/1.452, allocations: 44.5 kB / 1.51 GB, free: 2.594 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.319e-05/1.452, allocations: 31.98 kB / 1.51 GB, free: 2.562 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.001274/1.454, allocations: 0.9044 MB / 1.511 GB, free: 1.66 MB / 1.17 GB Notification: Performance of sort global known variables: time 2.5e-07/1.454, allocations: 0 / 1.511 GB, free: 1.66 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.002015/1.456, allocations: 0.8539 MB / 1.512 GB, free: 0.8047 MB / 1.17 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 6 (humBac.vol.dynBal.medium.Xi[1],humBac.vol.dynBal.U,humBac.vol.dynBal.m,humFor.vol.dynBal.medium.Xi[1],humFor.vol.dynBal.U,humFor.vol.dynBal.m) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (71): * Single equations (assignments): 71 * 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 Backend phase and start with SimCode phase: time 0.0006242/1.456, allocations: 251.1 kB / 1.512 GB, free: 0.5586 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0022/1.458, allocations: 1.339 MB / 1.514 GB, free: 15.22 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/1.458, allocations: 4.062 kB / 1.514 GB, free: 15.21 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0004861/1.459, allocations: 351 kB / 1.514 GB, free: 14.87 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00384/1.463, allocations: 0.8371 MB / 1.515 GB, free: 14.05 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004611/1.467, allocations: 2.935 MB / 1.518 GB, free: 11.05 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009667/1.468, allocations: 1.348 MB / 1.519 GB, free: 9.676 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.001616/1.47, allocations: 424.3 kB / 1.519 GB, free: 9.258 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003063/1.47, allocations: 111.4 kB / 1.52 GB, free: 9.148 MB / 1.186 GB Notification: Performance of SimCode: time 5.11e-07/1.47, allocations: 3.938 kB / 1.52 GB, free: 9.145 MB / 1.186 GB Notification: Performance of Templates: time 0.05486/1.525, allocations: 29.28 MB / 1.548 GB, free: 12.27 MB / 1.217 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches