Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001543/0.001543, allocations: 106.6 kB / 15.99 MB, free: 6.355 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.001514/0.001514, allocations: 196.5 kB / 16.91 MB, free: 6.188 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.41/1.41, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.674/2.674, allocations: 469.8 MB / 0.7427 GB, free: 3.625 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001934/0.001934, allocations: 68.8 kB / 0.9087 GB, free: 14.27 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3509/0.3528, allocations: 159.2 MB / 1.064 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 0.8464/1.199, allocations: 271.4 MB / 1.329 GB, free: 9.418 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.02657/1.226, allocations: 17.26 MB / 1.346 GB, free: 8.113 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002963/1.229, allocations: 59.62 kB / 1.346 GB, free: 8.055 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.003593/1.233, allocations: 1.03 MB / 1.347 GB, free: 7.02 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.008757/1.241, allocations: 2.91 MB / 1.35 GB, free: 4.098 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.006435/1.248, allocations: 2.038 MB / 1.352 GB, free: 2.07 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.008412/1.256, allocations: 4.842 MB / 1.357 GB, free: 13.21 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003443/1.26, allocations: 1.732 MB / 1.358 GB, free: 11.46 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007721/1.267, allocations: 2.417 MB / 1.361 GB, free: 9.051 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004205/1.272, allocations: 1.63 MB / 1.362 GB, free: 7.426 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0006338/1.272, allocations: 192 kB / 1.362 GB, free: 7.238 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007753/1.28, allocations: 3.141 MB / 1.366 GB, free: 4.09 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.001572/1.282, allocations: 0.7285 MB / 1.366 GB, free: 3.359 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.002161/1.284, allocations: 1.128 MB / 1.367 GB, free: 2.227 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.005474/1.289, allocations: 2.892 MB / 1.37 GB, free: 15.33 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/1.289, allocations: 0 / 1.37 GB, free: 15.33 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.873e-06/1.289, allocations: 0 / 1.37 GB, free: 15.33 MB / 1.092 GB Notification: Performance of Transformations before backend: time 8.83e-05/1.29, allocations: 4 kB / 1.37 GB, free: 15.32 MB / 1.092 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.00529/1.295, allocations: 2.432 MB / 1.373 GB, free: 12.82 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.644e-05/1.295, allocations: 15.97 kB / 1.373 GB, free: 12.81 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004701/1.3, allocations: 0.6494 MB / 1.373 GB, free: 12.16 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002731/1.302, allocations: 1.326 MB / 1.374 GB, free: 10.77 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001022/1.303, allocations: 102.5 kB / 1.375 GB, free: 10.67 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002411/1.303, allocations: 136 kB / 1.375 GB, free: 10.54 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002879/1.306, allocations: 1.573 MB / 1.376 GB, free: 8.898 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.697e-05/1.306, allocations: 7.844 kB / 1.376 GB, free: 8.891 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001526/1.306, allocations: 60 kB / 1.376 GB, free: 8.832 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.876e-05/1.306, allocations: 50.39 kB / 1.376 GB, free: 8.781 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002205/1.308, allocations: 1.274 MB / 1.378 GB, free: 7.5 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.01034/1.319, allocations: 7.219 MB / 1.385 GB, free: 15.71 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001276/1.32, allocations: 0.6464 MB / 1.385 GB, free: 15.06 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005605/1.32, allocations: 373.9 kB / 1.386 GB, free: 14.69 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002416/1.321, allocations: 109.7 kB / 1.386 GB, free: 14.57 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.348e-05/1.321, allocations: 43.12 kB / 1.386 GB, free: 14.52 MB / 1.107 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009107/1.322, allocations: 127.2 kB / 1.386 GB, free: 14.39 MB / 1.107 GB Notification: Performance of pre-optimization done (n=67): time 3.056e-06/1.322, allocations: 3.938 kB / 1.386 GB, free: 14.39 MB / 1.107 GB Notification: Performance of matching and sorting (n=67): time 0.002064/1.324, allocations: 1.024 MB / 1.387 GB, free: 13.36 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.431e-05/1.324, allocations: 59.97 kB / 1.387 GB, free: 13.29 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00193/1.326, allocations: 1.339 MB / 1.388 GB, free: 11.94 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.000123/1.326, allocations: 45.7 kB / 1.388 GB, free: 11.89 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006814/1.327, allocations: 0.7737 MB / 1.389 GB, free: 11.11 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002687/1.327, allocations: 240.5 kB / 1.389 GB, free: 10.87 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003494/1.327, allocations: 206.4 kB / 1.39 GB, free: 10.66 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.000183/1.327, allocations: 345.9 kB / 1.39 GB, free: 10.31 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006008/1.328, allocations: 356.7 kB / 1.39 GB, free: 9.961 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009251/1.329, allocations: 0.6751 MB / 1.391 GB, free: 9.148 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001415/1.33, allocations: 0.9566 MB / 1.392 GB, free: 8.102 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.145e-06/1.33, allocations: 7.938 kB / 1.392 GB, free: 8.094 MB / 1.107 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002112/1.332, allocations: 1.148 MB / 1.393 GB, free: 6.934 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.599e-05/1.332, allocations: 9.719 kB / 1.393 GB, free: 6.926 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.588e-05/1.333, allocations: 8 kB / 1.393 GB, free: 6.918 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.163e-05/1.333, allocations: 12 kB / 1.393 GB, free: 6.906 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009153/1.333, allocations: 208.4 kB / 1.393 GB, free: 6.703 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.358e-05/1.334, allocations: 23.92 kB / 1.393 GB, free: 6.68 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001689/1.335, allocations: 131.6 kB / 1.393 GB, free: 6.551 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.13e-05/1.335, allocations: 43.98 kB / 1.393 GB, free: 6.508 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001204/1.337, allocations: 0.6815 MB / 1.394 GB, free: 5.824 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009118/1.337, allocations: 0.679 MB / 1.395 GB, free: 5.004 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001364/1.339, allocations: 0.9449 MB / 1.396 GB, free: 3.969 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.055e-06/1.339, allocations: 7.938 kB / 1.396 GB, free: 3.961 MB / 1.107 GB Notification: Performance of matching and sorting (n=123) (initialization_lambda0): time 0.002001/1.341, allocations: 1.148 MB / 1.397 GB, free: 2.805 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/1.341, allocations: 8 kB / 1.397 GB, free: 2.797 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/1.341, allocations: 7.984 kB / 1.397 GB, free: 2.789 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/1.341, allocations: 12 kB / 1.397 GB, free: 2.777 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009001/1.342, allocations: 207.7 kB / 1.397 GB, free: 2.574 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.848e-05/1.342, allocations: 19.92 kB / 1.397 GB, free: 2.555 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001628/1.343, allocations: 150 kB / 1.397 GB, free: 2.41 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.198e-05/1.344, allocations: 40 kB / 1.397 GB, free: 2.371 MB / 1.107 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.0003472/1.344, allocations: 251.8 kB / 1.397 GB, free: 2.117 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003235/1.344, allocations: 154.2 kB / 1.398 GB, free: 1.965 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001629/1.346, allocations: 0.8164 MB / 1.398 GB, free: 1.133 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.436e-06/1.346, allocations: 8 kB / 1.398 GB, free: 1.125 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/1.346, allocations: 0 / 1.398 GB, free: 1.125 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00109/1.347, allocations: 0.794 MB / 1.399 GB, free: 288 kB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003975/1.351, allocations: 2.302 MB / 1.401 GB, free: 13.91 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.797e-06/1.351, allocations: 8 kB / 1.401 GB, free: 13.9 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008479/1.352, allocations: 163.8 kB / 1.401 GB, free: 13.74 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.286e-06/1.352, allocations: 4 kB / 1.402 GB, free: 13.73 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.015e-05/1.352, allocations: 23.94 kB / 1.402 GB, free: 13.71 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.204e-06/1.352, allocations: 8.188 kB / 1.402 GB, free: 13.7 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/1.352, allocations: 4 kB / 1.402 GB, free: 13.7 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001965/1.354, allocations: 1.249 MB / 1.403 GB, free: 12.41 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007223/1.355, allocations: 331.1 kB / 1.403 GB, free: 12.07 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000207/1.355, allocations: 15.94 kB / 1.403 GB, free: 12.05 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001116/1.356, allocations: 95.17 kB / 1.403 GB, free: 11.96 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001124/1.356, allocations: 40.5 kB / 1.403 GB, free: 11.92 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.89e-05/1.356, allocations: 35.98 kB / 1.403 GB, free: 11.89 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001459/1.358, allocations: 0.9044 MB / 1.404 GB, free: 10.98 MB / 1.123 GB Notification: Performance of sort global known variables: time 2.01e-07/1.358, allocations: 4 kB / 1.404 GB, free: 10.98 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.002542/1.36, allocations: 0.8456 MB / 1.405 GB, free: 10.13 MB / 1.123 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.0006966/1.361, allocations: 255.8 kB / 1.405 GB, free: 9.883 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.002947/1.364, allocations: 1.444 MB / 1.407 GB, free: 8.441 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 7.314e-06/1.364, allocations: 3.938 kB / 1.407 GB, free: 8.438 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0005638/1.365, allocations: 351 kB / 1.407 GB, free: 8.098 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004298/1.369, allocations: 0.8476 MB / 1.408 GB, free: 7.273 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006016/1.375, allocations: 3.597 MB / 1.411 GB, free: 3.617 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001148/1.376, allocations: 1.344 MB / 1.413 GB, free: 2.246 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005345/1.377, allocations: 123.4 kB / 1.413 GB, free: 2.125 MB / 1.123 GB Notification: Performance of SimCode: time 8.12e-07/1.377, allocations: 0 / 1.413 GB, free: 2.125 MB / 1.123 GB Notification: Performance of Templates: time 0.04402/1.421, allocations: 25.11 MB / 1.437 GB, free: 9.18 MB / 1.154 GB make -j1 -f Buildings_11_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.makefile (rm -f Buildings_11_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; mkfifo Buildings_11_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe >> ../files/Buildings_11_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.sim & ./Buildings_11_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Interfaces_Examples_ReverseFlowHumidifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches