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.001367/0.001367, allocations: 105.8 kB / 16.41 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.001311/0.001312, allocations: 191.8 kB / 17.34 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.482/1.482, allocations: 222.9 MB / 241 MB, free: 15.17 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.707/2.707, allocations: 437 MB / 0.7112 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00193/0.00193, allocations: 67.89 kB / 1.019 GB, free: 9.418 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.038/1.04, allocations: 151.6 MB / 1.167 GB, free: 3.855 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 0.3326/1.372, allocations: 274.6 MB / 1.436 GB, free: 208 kB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.02758/1.4, allocations: 17.36 MB / 1.452 GB, free: 14.79 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003179/1.403, allocations: 67.62 kB / 1.453 GB, free: 14.72 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.003643/1.407, allocations: 1.216 MB / 1.454 GB, free: 13.5 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.01157/1.418, allocations: 3.23 MB / 1.457 GB, free: 10.25 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.006547/1.425, allocations: 2.231 MB / 1.459 GB, free: 8.027 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.008249/1.433, allocations: 4.854 MB / 1.464 GB, free: 3.16 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003507/1.437, allocations: 1.759 MB / 1.466 GB, free: 1.367 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007203/1.444, allocations: 2.513 MB / 1.468 GB, free: 14.86 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003712/1.448, allocations: 1.53 MB / 1.469 GB, free: 13.33 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0007915/1.448, allocations: 192 kB / 1.47 GB, free: 13.14 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007292/1.456, allocations: 3.032 MB / 1.473 GB, free: 10.11 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.001429/1.457, allocations: 0.7207 MB / 1.473 GB, free: 9.383 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.003113/1.46, allocations: 1.124 MB / 1.474 GB, free: 8.254 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.00945/1.47, allocations: 3.839 MB / 1.478 GB, free: 4.402 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/1.47, allocations: 0 / 1.478 GB, free: 4.402 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.243e-06/1.47, allocations: 0 / 1.478 GB, free: 4.402 MB / 1.201 GB Notification: Performance of Transformations before backend: time 0.0001349/1.47, allocations: 0 / 1.478 GB, free: 4.402 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.007602/1.478, allocations: 2.497 MB / 1.481 GB, free: 1.836 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.994e-05/1.478, allocations: 16.88 kB / 1.481 GB, free: 1.82 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005024/1.483, allocations: 0.6583 MB / 1.481 GB, free: 1.16 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004156/1.487, allocations: 1.41 MB / 1.483 GB, free: 15.7 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001609/1.487, allocations: 110.5 kB / 1.483 GB, free: 15.59 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006104/1.488, allocations: 136 kB / 1.483 GB, free: 15.45 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004594/1.492, allocations: 1.569 MB / 1.484 GB, free: 13.82 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.527e-05/1.492, allocations: 0 / 1.484 GB, free: 13.82 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002692/1.493, allocations: 59.94 kB / 1.484 GB, free: 13.76 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.51e-05/1.493, allocations: 46.45 kB / 1.485 GB, free: 13.71 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003075/1.496, allocations: 1.27 MB / 1.486 GB, free: 12.43 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.0133/1.509, allocations: 7.22 MB / 1.493 GB, free: 4.652 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001329/1.51, allocations: 0.6495 MB / 1.493 GB, free: 3.996 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006837/1.511, allocations: 370.4 kB / 1.494 GB, free: 3.633 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000222/1.511, allocations: 105.6 kB / 1.494 GB, free: 3.512 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.457e-05/1.511, allocations: 47.12 kB / 1.494 GB, free: 3.453 MB / 1.217 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000793/1.512, allocations: 103.4 kB / 1.494 GB, free: 3.352 MB / 1.217 GB Notification: Performance of pre-optimization done (n=67): time 2.935e-06/1.512, allocations: 0 / 1.494 GB, free: 3.352 MB / 1.217 GB Notification: Performance of matching and sorting (n=67): time 0.002175/1.514, allocations: 1.013 MB / 1.495 GB, free: 2.336 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.705e-05/1.515, allocations: 63.95 kB / 1.495 GB, free: 2.262 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002011/1.517, allocations: 1.339 MB / 1.496 GB, free: 0.9141 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0001093/1.517, allocations: 49.69 kB / 1.496 GB, free: 0.8594 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007515/1.517, allocations: 0.7947 MB / 1.497 GB, free: 60 kB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003009/1.518, allocations: 249.9 kB / 1.497 GB, free: 15.81 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003476/1.518, allocations: 206.4 kB / 1.498 GB, free: 15.61 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0003967/1.519, allocations: 345.9 kB / 1.498 GB, free: 15.26 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006789/1.519, allocations: 360.6 kB / 1.498 GB, free: 14.91 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000983/1.52, allocations: 0.683 MB / 1.499 GB, free: 14.09 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001573/1.522, allocations: 0.9528 MB / 1.5 GB, free: 13.04 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.182e-06/1.522, allocations: 0 / 1.5 GB, free: 13.04 MB / 1.232 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002256/1.524, allocations: 1.153 MB / 1.501 GB, free: 11.88 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 3.306e-05/1.524, allocations: 16.12 kB / 1.501 GB, free: 11.86 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.524e-05/1.524, allocations: 7.938 kB / 1.501 GB, free: 11.86 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.685e-05/1.524, allocations: 12 kB / 1.501 GB, free: 11.84 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009543/1.525, allocations: 211.7 kB / 1.501 GB, free: 11.64 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.346e-05/1.525, allocations: 15.94 kB / 1.501 GB, free: 11.62 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001431/1.527, allocations: 49.8 kB / 1.501 GB, free: 11.57 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.563e-05/1.527, allocations: 43.98 kB / 1.501 GB, free: 11.53 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001341/1.528, allocations: 0.6893 MB / 1.502 GB, free: 10.84 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009365/1.529, allocations: 0.679 MB / 1.503 GB, free: 10.02 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001409/1.53, allocations: 0.9527 MB / 1.504 GB, free: 8.977 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.66e-06/1.53, allocations: 4 kB / 1.504 GB, free: 8.973 MB / 1.232 GB Notification: Performance of matching and sorting (n=123) (initialization_lambda0): time 0.002073/1.533, allocations: 1.153 MB / 1.505 GB, free: 7.816 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 6.076e-05/1.533, allocations: 8 kB / 1.505 GB, free: 7.809 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.361e-05/1.533, allocations: 7.984 kB / 1.505 GB, free: 7.801 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/1.533, allocations: 12 kB / 1.505 GB, free: 7.789 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008515/1.533, allocations: 211.7 kB / 1.505 GB, free: 7.582 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.876e-05/1.534, allocations: 15.94 kB / 1.505 GB, free: 7.566 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001317/1.535, allocations: 52.44 kB / 1.505 GB, free: 7.516 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.155e-05/1.535, allocations: 43.98 kB / 1.505 GB, free: 7.473 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.0003504/1.535, allocations: 240 kB / 1.505 GB, free: 7.23 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002976/1.536, allocations: 159 kB / 1.506 GB, free: 7.074 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00178/1.537, allocations: 0.828 MB / 1.506 GB, free: 6.23 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.195e-05/1.537, allocations: 8 kB / 1.506 GB, free: 6.223 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/1.537, allocations: 0 / 1.506 GB, free: 6.223 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001243/1.539, allocations: 0.7901 MB / 1.507 GB, free: 5.387 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004619/1.543, allocations: 2.298 MB / 1.509 GB, free: 3.008 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001183/1.543, allocations: 4 kB / 1.509 GB, free: 3.004 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008666/1.544, allocations: 167.7 kB / 1.51 GB, free: 2.84 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.335e-05/1.544, allocations: 4 kB / 1.51 GB, free: 2.836 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.732e-05/1.544, allocations: 19.94 kB / 1.51 GB, free: 2.816 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.657e-05/1.544, allocations: 15.91 kB / 1.51 GB, free: 2.801 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/1.544, allocations: 4.188 kB / 1.51 GB, free: 2.797 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002202/1.547, allocations: 1.27 MB / 1.511 GB, free: 1.492 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007845/1.547, allocations: 324.1 kB / 1.511 GB, free: 1.156 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001834/1.548, allocations: 27.92 kB / 1.511 GB, free: 1.129 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008424/1.548, allocations: 29.23 kB / 1.511 GB, free: 1.102 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.945e-05/1.549, allocations: 44.5 kB / 1.511 GB, free: 1.059 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.823e-05/1.549, allocations: 31.98 kB / 1.511 GB, free: 1.027 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.001505/1.55, allocations: 0.9083 MB / 1.512 GB, free: 124 kB / 1.232 GB Notification: Performance of sort global known variables: time 3.81e-07/1.55, allocations: 4 kB / 1.512 GB, free: 120 kB / 1.232 GB Notification: Performance of remove unused functions: time 0.002623/1.553, allocations: 0.8462 MB / 1.513 GB, free: 15.27 MB / 1.248 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.000754/1.554, allocations: 270.6 kB / 1.513 GB, free: 15.01 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.002668/1.556, allocations: 1.331 MB / 1.514 GB, free: 13.68 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/1.556, allocations: 4 kB / 1.514 GB, free: 13.67 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.0005851/1.557, allocations: 351 kB / 1.515 GB, free: 13.32 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003749/1.561, allocations: 0.8373 MB / 1.516 GB, free: 12.5 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005419/1.566, allocations: 2.939 MB / 1.519 GB, free: 9.504 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00124/1.567, allocations: 1.348 MB / 1.52 GB, free: 8.125 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.001603/1.569, allocations: 416.3 kB / 1.52 GB, free: 7.715 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003135/1.569, allocations: 115.4 kB / 1.52 GB, free: 7.602 MB / 1.248 GB Notification: Performance of SimCode: time 7.82e-07/1.569, allocations: 0 / 1.52 GB, free: 7.602 MB / 1.248 GB Notification: Performance of Templates: time 0.05733/1.627, allocations: 29.43 MB / 1.549 GB, free: 10.54 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 -s cvode -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