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.007583/0.007583, allocations: 102 kB / 15.73 MB, free: 6.012 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.001625/0.001625, allocations: 194.4 kB / 16.67 MB, free: 5.926 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.419/1.419, allocations: 222.9 MB / 240.4 MB, free: 15.07 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.591/2.591, allocations: 469.8 MB / 0.7425 GB, free: 3.34 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 72.12 kB / 1.065 GB, free: 13.56 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8625/0.8637, allocations: 159.1 MB / 1.221 GB, free: 2.113 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 0.3017/1.165, allocations: 275.3 MB / 1.489 GB, free: 13.83 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.02477/1.19, allocations: 17.41 MB / 1.506 GB, free: 12.38 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002375/1.193, allocations: 67.62 kB / 1.506 GB, free: 12.31 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.003478/1.196, allocations: 1.22 MB / 1.508 GB, free: 11.08 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.008127/1.204, allocations: 3.224 MB / 1.511 GB, free: 7.844 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.005679/1.21, allocations: 2.227 MB / 1.513 GB, free: 5.621 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.007232/1.217, allocations: 4.846 MB / 1.518 GB, free: 0.7617 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003011/1.22, allocations: 1.471 MB / 1.519 GB, free: 15.26 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007416/1.228, allocations: 2.511 MB / 1.522 GB, free: 12.75 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003997/1.232, allocations: 1.532 MB / 1.523 GB, free: 11.22 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.001071/1.233, allocations: 192 kB / 1.523 GB, free: 11.04 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007197/1.24, allocations: 3.028 MB / 1.526 GB, free: 8 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.001287/1.241, allocations: 0.74 MB / 1.527 GB, free: 7.258 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.002407/1.243, allocations: 1.12 MB / 1.528 GB, free: 6.133 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.007408/1.251, allocations: 3.839 MB / 1.532 GB, free: 2.281 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 7.504e-06/1.251, allocations: 4 kB / 1.532 GB, free: 2.277 MB / 1.248 GB Notification: Performance of FrontEnd: time 1.863e-06/1.251, allocations: 3.938 kB / 1.532 GB, free: 2.273 MB / 1.248 GB Notification: Performance of Transformations before backend: time 0.0001015/1.251, allocations: 0 / 1.532 GB, free: 2.273 MB / 1.248 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.004773/1.256, allocations: 2.494 MB / 1.534 GB, free: 15.71 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/1.256, allocations: 8.031 kB / 1.534 GB, free: 15.7 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004425/1.26, allocations: 0.6622 MB / 1.535 GB, free: 15.04 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002331/1.263, allocations: 1.41 MB / 1.536 GB, free: 13.57 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.499e-05/1.263, allocations: 106.5 kB / 1.536 GB, free: 13.46 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002075/1.263, allocations: 143.9 kB / 1.537 GB, free: 13.32 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002504/1.265, allocations: 1.557 MB / 1.538 GB, free: 11.7 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.518e-05/1.265, allocations: 7.922 kB / 1.538 GB, free: 11.69 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001343/1.266, allocations: 63.94 kB / 1.538 GB, free: 11.63 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.811e-05/1.266, allocations: 42.45 kB / 1.538 GB, free: 11.59 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002076/1.268, allocations: 1.274 MB / 1.539 GB, free: 10.3 MB / 1.264 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.008638/1.276, allocations: 7.22 MB / 1.546 GB, free: 2.523 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001071/1.277, allocations: 0.6326 MB / 1.547 GB, free: 1.887 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005065/1.278, allocations: 352.5 kB / 1.547 GB, free: 1.543 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001949/1.278, allocations: 101.6 kB / 1.548 GB, free: 1.422 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.944e-05/1.278, allocations: 51.12 kB / 1.548 GB, free: 1.363 MB / 1.264 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005239/1.279, allocations: 99.38 kB / 1.548 GB, free: 1.266 MB / 1.264 GB Notification: Performance of pre-optimization done (n=67): time 2.655e-06/1.279, allocations: 0 / 1.548 GB, free: 1.266 MB / 1.264 GB Notification: Performance of matching and sorting (n=67): time 0.001842/1.28, allocations: 1.021 MB / 1.549 GB, free: 248 kB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.086e-05/1.281, allocations: 67.91 kB / 1.549 GB, free: 168 kB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001581/1.282, allocations: 1.343 MB / 1.55 GB, free: 14.81 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 7.348e-05/1.282, allocations: 45.7 kB / 1.55 GB, free: 14.76 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005718/1.283, allocations: 0.7908 MB / 1.551 GB, free: 13.96 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.000227/1.283, allocations: 249.9 kB / 1.551 GB, free: 13.72 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003015/1.283, allocations: 202.5 kB / 1.551 GB, free: 13.52 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0001583/1.283, allocations: 345.9 kB / 1.552 GB, free: 13.17 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005424/1.284, allocations: 360.6 kB / 1.552 GB, free: 12.82 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000795/1.285, allocations: 0.6854 MB / 1.553 GB, free: 12 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0013/1.286, allocations: 0.9528 MB / 1.554 GB, free: 10.96 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/1.286, allocations: 0 / 1.554 GB, free: 10.96 MB / 1.279 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001728/1.288, allocations: 1.16 MB / 1.555 GB, free: 9.785 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/1.288, allocations: 8 kB / 1.555 GB, free: 9.777 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/1.288, allocations: 7.938 kB / 1.555 GB, free: 9.77 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.465e-05/1.288, allocations: 12 kB / 1.555 GB, free: 9.758 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008781/1.289, allocations: 203.7 kB / 1.555 GB, free: 9.559 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.906e-05/1.289, allocations: 24.44 kB / 1.555 GB, free: 9.535 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001148/1.29, allocations: 51.95 kB / 1.555 GB, free: 9.484 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.761e-05/1.29, allocations: 40 kB / 1.555 GB, free: 9.445 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001034/1.291, allocations: 0.6893 MB / 1.556 GB, free: 8.754 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007961/1.292, allocations: 0.6751 MB / 1.556 GB, free: 7.941 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001222/1.293, allocations: 0.9526 MB / 1.557 GB, free: 6.895 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.596e-06/1.293, allocations: 4 kB / 1.557 GB, free: 6.891 MB / 1.279 GB Notification: Performance of matching and sorting (n=123) (initialization_lambda0): time 0.001718/1.295, allocations: 1.16 MB / 1.558 GB, free: 5.723 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/1.295, allocations: 8.906 kB / 1.558 GB, free: 5.715 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/1.295, allocations: 8 kB / 1.558 GB, free: 5.707 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/1.295, allocations: 16 kB / 1.558 GB, free: 5.691 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008655/1.296, allocations: 207.7 kB / 1.559 GB, free: 5.488 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.782e-05/1.296, allocations: 19.92 kB / 1.559 GB, free: 5.469 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001213/1.297, allocations: 47.97 kB / 1.559 GB, free: 5.422 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.008e-05/1.297, allocations: 43.98 kB / 1.559 GB, free: 5.379 MB / 1.279 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.0002495/1.297, allocations: 247.8 kB / 1.559 GB, free: 5.129 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002357/1.297, allocations: 163 kB / 1.559 GB, free: 4.969 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001466/1.299, allocations: 0.8163 MB / 1.56 GB, free: 4.129 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.015e-05/1.299, allocations: 8 kB / 1.56 GB, free: 4.121 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.627e-06/1.299, allocations: 0 / 1.56 GB, free: 4.121 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001072/1.3, allocations: 0.7901 MB / 1.561 GB, free: 3.281 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003626/1.304, allocations: 2.298 MB / 1.563 GB, free: 0.9062 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.513e-06/1.304, allocations: 4 kB / 1.563 GB, free: 0.9023 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000818/1.304, allocations: 168 kB / 1.563 GB, free: 0.7383 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.082e-05/1.304, allocations: 4 kB / 1.563 GB, free: 0.7344 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.062e-05/1.305, allocations: 23.94 kB / 1.563 GB, free: 0.7109 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.973e-06/1.305, allocations: 4 kB / 1.563 GB, free: 0.707 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/1.305, allocations: 4 kB / 1.563 GB, free: 0.7031 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.6596/1.964, allocations: 1.26 MB / 1.564 GB, free: 341.2 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009015/1.965, allocations: 326.1 kB / 1.565 GB, free: 341.1 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002272/1.965, allocations: 22.94 kB / 1.565 GB, free: 341.1 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001/1.966, allocations: 34.39 kB / 1.565 GB, free: 341.1 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001192/1.966, allocations: 41.2 kB / 1.565 GB, free: 341.1 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001131/1.967, allocations: 38.06 kB / 1.565 GB, free: 341.1 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.001828/1.968, allocations: 0.9063 MB / 1.566 GB, free: 340.7 MB / 1.279 GB Notification: Performance of sort global known variables: time 7e-08/1.968, allocations: 0 / 1.566 GB, free: 340.7 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.002838/1.971, allocations: 0.8428 MB / 1.567 GB, free: 340.7 MB / 1.279 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.0007074/1.972, allocations: 266.4 kB / 1.567 GB, free: 340.6 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.002237/1.974, allocations: 1.257 MB / 1.568 GB, free: 340.2 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 5.711e-06/1.974, allocations: 1.031 kB / 1.568 GB, free: 340.2 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.0004828/1.975, allocations: 333.6 kB / 1.568 GB, free: 340.1 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003673/1.978, allocations: 0.8403 MB / 1.569 GB, free: 339.9 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004722/1.983, allocations: 2.943 MB / 1.572 GB, free: 338.5 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001256/1.984, allocations: 1.346 MB / 1.573 GB, free: 337.7 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.001904/1.986, allocations: 407.5 kB / 1.574 GB, free: 337.6 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003409/1.987, allocations: 116.3 kB / 1.574 GB, free: 337.6 MB / 1.279 GB Notification: Performance of SimCode: time 1.302e-06/1.987, allocations: 0 / 1.574 GB, free: 337.6 MB / 1.279 GB Notification: Performance of Templates: time 0.04142/2.028, allocations: 29.45 MB / 1.603 GB, free: 319.3 MB / 1.279 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=480 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches