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.001165/0.001165, allocations: 104.3 kB / 16.27 MB, free: 6.051 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.001048/0.001048, allocations: 183.9 kB / 17.19 MB, free: 5.688 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 / 240.9 MB, free: 15.21 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.463/2.463, allocations: 437 MB / 0.711 GB, free: 4.504 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 71.17 kB / 0.8699 GB, free: 2.188 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3066/0.308, allocations: 151.6 MB / 1.018 GB, free: 10.64 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 0.9202/1.228, allocations: 274.6 MB / 1.286 GB, free: 6.605 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.02613/1.254, allocations: 17.36 MB / 1.303 GB, free: 5.191 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003209/1.258, allocations: 67.62 kB / 1.303 GB, free: 5.125 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003731/1.261, allocations: 1.161 MB / 1.304 GB, free: 3.957 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.009257/1.271, allocations: 3.104 MB / 1.307 GB, free: 0.8438 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0063/1.277, allocations: 2.188 MB / 1.309 GB, free: 14.66 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.007349/1.284, allocations: 4.85 MB / 1.314 GB, free: 9.805 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003391/1.288, allocations: 1.768 MB / 1.316 GB, free: 8.008 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007493/1.295, allocations: 2.395 MB / 1.318 GB, free: 5.617 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003745/1.299, allocations: 1.538 MB / 1.32 GB, free: 4.086 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.001078/1.3, allocations: 192 kB / 1.32 GB, free: 3.898 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007204/1.307, allocations: 3.005 MB / 1.323 GB, free: 0.8867 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.001408/1.309, allocations: 0.7285 MB / 1.324 GB, free: 160 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.002699/1.312, allocations: 1.124 MB / 1.325 GB, free: 15.02 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.008007/1.32, allocations: 3.798 MB / 1.328 GB, free: 11.22 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/1.32, allocations: 4 kB / 1.328 GB, free: 11.21 MB / 1.029 GB Notification: Performance of FrontEnd: time 3.286e-06/1.32, allocations: 0 / 1.328 GB, free: 11.21 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0001125/1.32, allocations: 3.938 kB / 1.328 GB, free: 11.21 MB / 1.029 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.00652/1.326, allocations: 2.428 MB / 1.331 GB, free: 8.715 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/1.326, allocations: 16.88 kB / 1.331 GB, free: 8.699 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004957/1.331, allocations: 0.6377 MB / 1.331 GB, free: 8.059 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002961/1.334, allocations: 1.334 MB / 1.333 GB, free: 6.668 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001022/1.334, allocations: 110.5 kB / 1.333 GB, free: 6.559 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003762/1.335, allocations: 143.9 kB / 1.333 GB, free: 6.418 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003359/1.338, allocations: 1.572 MB / 1.334 GB, free: 4.781 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.683e-05/1.338, allocations: 11.92 kB / 1.335 GB, free: 4.77 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001909/1.338, allocations: 52 kB / 1.335 GB, free: 4.719 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.688e-05/1.339, allocations: 50.39 kB / 1.335 GB, free: 4.668 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002486/1.341, allocations: 1.266 MB / 1.336 GB, free: 3.395 MB / 1.029 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.01074/1.352, allocations: 7.265 MB / 1.343 GB, free: 11.56 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00114/1.353, allocations: 0.6491 MB / 1.344 GB, free: 10.91 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005488/1.354, allocations: 370.1 kB / 1.344 GB, free: 10.54 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002373/1.354, allocations: 109.6 kB / 1.344 GB, free: 10.42 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.322e-05/1.354, allocations: 47.12 kB / 1.344 GB, free: 10.36 MB / 1.045 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007424/1.355, allocations: 99.11 kB / 1.344 GB, free: 10.27 MB / 1.045 GB Notification: Performance of pre-optimization done (n=67): time 4.719e-06/1.355, allocations: 0 / 1.344 GB, free: 10.27 MB / 1.045 GB Notification: Performance of matching and sorting (n=67): time 0.002056/1.357, allocations: 1.016 MB / 1.345 GB, free: 9.242 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.634e-05/1.357, allocations: 63.97 kB / 1.345 GB, free: 9.168 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001866/1.359, allocations: 1.343 MB / 1.347 GB, free: 7.816 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0001002/1.359, allocations: 49.69 kB / 1.347 GB, free: 7.762 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005753/1.359, allocations: 0.7698 MB / 1.347 GB, free: 6.984 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.000233/1.36, allocations: 244.6 kB / 1.348 GB, free: 6.742 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000328/1.36, allocations: 202.4 kB / 1.348 GB, free: 6.535 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001243/1.36, allocations: 345.9 kB / 1.348 GB, free: 6.191 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005573/1.361, allocations: 356.7 kB / 1.348 GB, free: 5.84 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008045/1.361, allocations: 0.683 MB / 1.349 GB, free: 5.02 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001294/1.363, allocations: 0.9605 MB / 1.35 GB, free: 3.973 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.462e-06/1.363, allocations: 0 / 1.35 GB, free: 3.973 MB / 1.045 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001929/1.365, allocations: 1.152 MB / 1.351 GB, free: 2.809 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.206e-05/1.365, allocations: 8 kB / 1.351 GB, free: 2.801 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.786e-05/1.365, allocations: 8 kB / 1.351 GB, free: 2.793 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.509e-05/1.365, allocations: 8 kB / 1.351 GB, free: 2.785 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008889/1.366, allocations: 207.7 kB / 1.351 GB, free: 2.582 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.489e-05/1.366, allocations: 24.38 kB / 1.351 GB, free: 2.559 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001366/1.367, allocations: 51.97 kB / 1.351 GB, free: 2.508 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.806e-05/1.367, allocations: 36 kB / 1.351 GB, free: 2.473 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001102/1.368, allocations: 0.6932 MB / 1.352 GB, free: 1.777 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007798/1.369, allocations: 0.6751 MB / 1.353 GB, free: 0.9609 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00127/1.37, allocations: 0.9489 MB / 1.354 GB, free: 15.92 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.095e-06/1.37, allocations: 7.938 kB / 1.354 GB, free: 15.91 MB / 1.061 GB Notification: Performance of matching and sorting (n=123) (initialization_lambda0): time 0.001912/1.372, allocations: 1.147 MB / 1.355 GB, free: 14.75 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/1.372, allocations: 8.906 kB / 1.355 GB, free: 14.75 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.27e-05/1.372, allocations: 8 kB / 1.355 GB, free: 14.74 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/1.372, allocations: 16 kB / 1.355 GB, free: 14.72 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008468/1.373, allocations: 203.7 kB / 1.355 GB, free: 14.52 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.404e-05/1.373, allocations: 23.86 kB / 1.355 GB, free: 14.5 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001472/1.375, allocations: 60.16 kB / 1.355 GB, free: 14.45 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.806e-05/1.375, allocations: 43.98 kB / 1.355 GB, free: 14.4 MB / 1.061 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.0003184/1.375, allocations: 243.9 kB / 1.355 GB, free: 14.16 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003892/1.375, allocations: 154.2 kB / 1.356 GB, free: 14 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001518/1.377, allocations: 0.8164 MB / 1.356 GB, free: 13.18 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.097e-06/1.377, allocations: 8 kB / 1.356 GB, free: 13.17 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.597e-06/1.377, allocations: 0 / 1.356 GB, free: 13.17 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009698/1.378, allocations: 0.7901 MB / 1.357 GB, free: 12.33 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003777/1.382, allocations: 2.302 MB / 1.359 GB, free: 9.949 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.573e-06/1.382, allocations: 4 kB / 1.359 GB, free: 9.945 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008311/1.383, allocations: 172 kB / 1.36 GB, free: 9.777 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.303e-05/1.383, allocations: 4 kB / 1.36 GB, free: 9.773 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.461e-05/1.383, allocations: 19.94 kB / 1.36 GB, free: 9.754 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.183e-06/1.383, allocations: 4 kB / 1.36 GB, free: 9.75 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/1.383, allocations: 7.984 kB / 1.36 GB, free: 9.742 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001939/1.385, allocations: 1.253 MB / 1.361 GB, free: 8.453 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007904/1.386, allocations: 315.4 kB / 1.361 GB, free: 8.125 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003824/1.386, allocations: 23.94 kB / 1.361 GB, free: 8.102 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00114/1.387, allocations: 38.34 kB / 1.361 GB, free: 8.066 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.237e-05/1.387, allocations: 48.5 kB / 1.361 GB, free: 8.02 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.642e-05/1.387, allocations: 31.98 kB / 1.361 GB, free: 7.988 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001748/1.389, allocations: 0.9122 MB / 1.362 GB, free: 7.078 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.833e-06/1.389, allocations: 0 / 1.362 GB, free: 7.078 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.003043/1.392, allocations: 0.8378 MB / 1.363 GB, free: 6.238 MB / 1.061 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.0007666/1.393, allocations: 258 kB / 1.363 GB, free: 5.98 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.002992/1.396, allocations: 1.444 MB / 1.365 GB, free: 4.539 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 9.367e-06/1.396, allocations: 4 kB / 1.365 GB, free: 4.535 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0005007/1.396, allocations: 343 kB / 1.365 GB, free: 4.199 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004452/1.401, allocations: 0.8492 MB / 1.366 GB, free: 3.371 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005483/1.406, allocations: 3.015 MB / 1.369 GB, free: 304 kB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001114/1.408, allocations: 1.341 MB / 1.37 GB, free: 14.93 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004535/1.408, allocations: 123.4 kB / 1.37 GB, free: 14.81 MB / 1.076 GB Notification: Performance of SimCode: time 7.81e-07/1.408, allocations: 3.938 kB / 1.37 GB, free: 14.8 MB / 1.076 GB Notification: Performance of Templates: time 0.03988/1.448, allocations: 25.07 MB / 1.395 GB, free: 5.914 MB / 1.092 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