Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.005937/0.005937, allocations: 102.3 kB / 15.73 MB, free: 6.055 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.001152/0.001152, allocations: 198.3 kB / 16.68 MB, free: 5.965 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.343/1.343, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.532/2.532, allocations: 461.9 MB / 0.7348 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 59.91 kB / 1.054 GB, free: 7.602 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9968/0.998, allocations: 157.4 MB / 1.208 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 0.2995/1.298, allocations: 274.6 MB / 1.476 GB, free: 9.914 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.02613/1.324, allocations: 17.36 MB / 1.493 GB, free: 8.508 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004608/1.328, allocations: 75.56 kB / 1.493 GB, free: 8.434 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.003906/1.332, allocations: 1.161 MB / 1.494 GB, free: 7.266 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.009275/1.342, allocations: 3.11 MB / 1.497 GB, free: 4.145 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.00676/1.349, allocations: 2.207 MB / 1.499 GB, free: 1.941 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.008298/1.357, allocations: 4.842 MB / 1.504 GB, free: 13.09 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003105/1.36, allocations: 1.756 MB / 1.506 GB, free: 11.3 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007247/1.367, allocations: 2.456 MB / 1.508 GB, free: 8.848 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003616/1.371, allocations: 1.55 MB / 1.51 GB, free: 7.309 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0004491/1.371, allocations: 192 kB / 1.51 GB, free: 7.121 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007391/1.379, allocations: 3.013 MB / 1.513 GB, free: 4.102 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.001065/1.38, allocations: 0.7246 MB / 1.513 GB, free: 3.375 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.001862/1.382, allocations: 1.12 MB / 1.515 GB, free: 2.25 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.007147/1.389, allocations: 3.829 MB / 1.518 GB, free: 14.41 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/1.389, allocations: 0 / 1.518 GB, free: 14.41 MB / 1.248 GB Notification: Performance of FrontEnd: time 2.174e-06/1.389, allocations: 0 / 1.518 GB, free: 14.41 MB / 1.248 GB Notification: Performance of Transformations before backend: time 3.345e-05/1.389, allocations: 0 / 1.518 GB, free: 14.41 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.00465/1.394, allocations: 2.423 MB / 1.521 GB, free: 11.92 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 5.431e-05/1.394, allocations: 12.03 kB / 1.521 GB, free: 11.91 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004565/1.398, allocations: 0.6416 MB / 1.521 GB, free: 11.26 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002909/1.401, allocations: 1.404 MB / 1.523 GB, free: 9.801 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.545e-05/1.401, allocations: 106.5 kB / 1.523 GB, free: 9.695 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000219/1.402, allocations: 144 kB / 1.523 GB, free: 9.555 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002899/1.404, allocations: 1.557 MB / 1.524 GB, free: 7.93 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.814e-05/1.404, allocations: 7.938 kB / 1.524 GB, free: 7.922 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001749/1.405, allocations: 59.94 kB / 1.524 GB, free: 7.863 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-05/1.405, allocations: 50.44 kB / 1.525 GB, free: 7.812 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002204/1.407, allocations: 1.266 MB / 1.526 GB, free: 6.539 MB / 1.248 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.009765/1.417, allocations: 7.206 MB / 1.533 GB, free: 14.76 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001119/1.418, allocations: 0.6572 MB / 1.533 GB, free: 14.09 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005078/1.418, allocations: 370.1 kB / 1.534 GB, free: 13.73 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002258/1.419, allocations: 105.6 kB / 1.534 GB, free: 13.61 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.114e-05/1.419, allocations: 43.12 kB / 1.534 GB, free: 13.56 MB / 1.264 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006443/1.419, allocations: 103.1 kB / 1.534 GB, free: 13.46 MB / 1.264 GB Notification: Performance of pre-optimization done (n=67): time 3.106e-06/1.419, allocations: 0 / 1.534 GB, free: 13.46 MB / 1.264 GB Notification: Performance of matching and sorting (n=67): time 0.001912/1.421, allocations: 1.017 MB / 1.535 GB, free: 12.44 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.185e-05/1.421, allocations: 63.91 kB / 1.535 GB, free: 12.36 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001691/1.423, allocations: 1.335 MB / 1.536 GB, free: 11.02 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 8.062e-05/1.423, allocations: 45.7 kB / 1.536 GB, free: 10.96 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006059/1.424, allocations: 0.7775 MB / 1.537 GB, free: 10.18 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002332/1.424, allocations: 240.6 kB / 1.537 GB, free: 9.941 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003151/1.424, allocations: 206.4 kB / 1.538 GB, free: 9.734 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0001669/1.424, allocations: 345.9 kB / 1.538 GB, free: 9.391 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005647/1.425, allocations: 356.7 kB / 1.538 GB, free: 9.039 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000805/1.426, allocations: 0.679 MB / 1.539 GB, free: 8.219 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001294/1.427, allocations: 0.9489 MB / 1.54 GB, free: 7.184 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.013e-06/1.427, allocations: 4 kB / 1.54 GB, free: 7.18 MB / 1.264 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001826/1.429, allocations: 1.16 MB / 1.541 GB, free: 6.008 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 2.09e-05/1.429, allocations: 7.938 kB / 1.541 GB, free: 6 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.234e-05/1.429, allocations: 8 kB / 1.541 GB, free: 5.992 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.998e-05/1.429, allocations: 12 kB / 1.541 GB, free: 5.98 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008859/1.43, allocations: 211.7 kB / 1.541 GB, free: 5.773 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.266e-05/1.43, allocations: 19.92 kB / 1.541 GB, free: 5.754 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001272/1.431, allocations: 39.98 kB / 1.541 GB, free: 5.715 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.352e-05/1.431, allocations: 43.98 kB / 1.541 GB, free: 5.672 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001176/1.433, allocations: 0.6894 MB / 1.542 GB, free: 4.98 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008669/1.433, allocations: 0.6712 MB / 1.543 GB, free: 4.172 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001231/1.435, allocations: 0.9565 MB / 1.544 GB, free: 3.125 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.531e-06/1.435, allocations: 4 kB / 1.544 GB, free: 3.121 MB / 1.264 GB Notification: Performance of matching and sorting (n=123) (initialization_lambda0): time 0.001821/1.437, allocations: 1.148 MB / 1.545 GB, free: 1.969 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/1.437, allocations: 8 kB / 1.545 GB, free: 1.961 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.786e-06/1.437, allocations: 4 kB / 1.545 GB, free: 1.957 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/1.437, allocations: 12 kB / 1.545 GB, free: 1.945 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008827/1.437, allocations: 207.7 kB / 1.545 GB, free: 1.742 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.857e-05/1.437, allocations: 24.44 kB / 1.545 GB, free: 1.719 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001346/1.439, allocations: 59.84 kB / 1.545 GB, free: 1.66 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.215e-05/1.439, allocations: 40 kB / 1.545 GB, free: 1.621 MB / 1.264 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.0003341/1.439, allocations: 243.9 kB / 1.545 GB, free: 1.375 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002296/1.439, allocations: 158.1 kB / 1.545 GB, free: 1.219 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001498/1.441, allocations: 0.8164 MB / 1.546 GB, free: 388 kB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.458e-06/1.441, allocations: 8 kB / 1.546 GB, free: 380 kB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/1.441, allocations: 3.984 kB / 1.546 GB, free: 376 kB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009811/1.442, allocations: 0.7863 MB / 1.547 GB, free: 15.53 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003396/1.445, allocations: 2.302 MB / 1.549 GB, free: 13.15 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.63e-06/1.445, allocations: 7.938 kB / 1.549 GB, free: 13.14 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008192/1.446, allocations: 163.8 kB / 1.549 GB, free: 12.98 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.034e-05/1.446, allocations: 4 kB / 1.549 GB, free: 12.98 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.234e-05/1.446, allocations: 23.92 kB / 1.549 GB, free: 12.95 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.585e-06/1.446, allocations: 4.188 kB / 1.549 GB, free: 12.95 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/1.446, allocations: 8 kB / 1.55 GB, free: 12.94 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001667/1.448, allocations: 1.257 MB / 1.551 GB, free: 11.65 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005181/1.449, allocations: 323.1 kB / 1.551 GB, free: 11.31 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001828/1.449, allocations: 23.94 kB / 1.551 GB, free: 11.29 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008822/1.45, allocations: 34.91 kB / 1.551 GB, free: 11.26 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.467e-05/1.45, allocations: 40.52 kB / 1.551 GB, free: 11.22 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.392e-05/1.45, allocations: 35.97 kB / 1.551 GB, free: 11.18 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.001191/1.451, allocations: 0.9083 MB / 1.552 GB, free: 10.28 MB / 1.279 GB Notification: Performance of sort global known variables: time 2.8e-07/1.451, allocations: 4 kB / 1.552 GB, free: 10.27 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.001913/1.453, allocations: 0.834 MB / 1.553 GB, free: 9.438 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.0005701/1.454, allocations: 261.7 kB / 1.553 GB, free: 9.184 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.00208/1.456, allocations: 1.331 MB / 1.554 GB, free: 7.863 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 5.209e-06/1.456, allocations: 4 kB / 1.554 GB, free: 7.859 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.0004773/1.456, allocations: 343.5 kB / 1.555 GB, free: 7.52 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003509/1.46, allocations: 0.8473 MB / 1.556 GB, free: 6.691 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004281/1.464, allocations: 2.884 MB / 1.558 GB, free: 3.754 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009323/1.465, allocations: 1.352 MB / 1.56 GB, free: 2.371 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.001448/1.466, allocations: 420.3 kB / 1.56 GB, free: 1.957 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002983/1.467, allocations: 111.4 kB / 1.56 GB, free: 1.852 MB / 1.279 GB Notification: Performance of SimCode: time 8.12e-07/1.467, allocations: 0 / 1.56 GB, free: 1.852 MB / 1.279 GB Notification: Performance of Templates: time 0.7197/2.186, allocations: 29.27 MB / 1.589 GB, free: 339.4 MB / 1.279 GB make -j1 -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.makefile (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.sim & ./Buildings_latest_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Interfaces_Examples_ReverseFlowHumidifier.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches