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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001444/0.001444, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001786/0.001787, allocations: 196 kB / 16.79 MB, free: 6.809 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.394/1.394, allocations: 222.9 MB / 240.5 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.693/2.693, allocations: 461.9 MB / 0.7348 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001708/0.001708, allocations: 66.08 kB / 0.899 GB, free: 37.11 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3378/0.3395, allocations: 157.4 MB / 1.053 GB, free: 8.332 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 0.9567/1.296, allocations: 272.5 MB / 1.319 GB, free: 16.54 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02056/1.317, allocations: 17.47 MB / 1.336 GB, free: 15.99 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003228/1.32, allocations: 63.5 kB / 1.336 GB, free: 15.99 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003019/1.323, allocations: 0.9928 MB / 1.337 GB, free: 15.97 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.007364/1.331, allocations: 2.923 MB / 1.34 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005352/1.336, allocations: 2.011 MB / 1.342 GB, free: 15.74 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.007389/1.343, allocations: 6.742 MB / 1.348 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002426/1.346, allocations: 1.488 MB / 1.35 GB, free: 15.4 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006308/1.352, allocations: 2.119 MB / 1.352 GB, free: 15.19 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00383/1.356, allocations: 1.588 MB / 1.353 GB, free: 14.96 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004448/1.356, allocations: 96.19 kB / 1.354 GB, free: 14.96 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007029/1.364, allocations: 3.427 MB / 1.357 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001278/1.365, allocations: 0.6343 MB / 1.358 GB, free: 14.85 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001955/1.367, allocations: 1.018 MB / 1.359 GB, free: 14.56 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00372/1.371, allocations: 2.86 MB / 1.361 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/1.371, allocations: 0 / 1.361 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.022e-06/1.371, allocations: 2.438 kB / 1.361 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.83e-05/1.371, allocations: 0 / 1.361 GB, free: 14.36 MB / 0.9981 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.003973/1.375, allocations: 2.432 MB / 1.364 GB, free: 13.16 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/1.375, allocations: 6.875 kB / 1.364 GB, free: 13.16 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004535/1.379, allocations: 0.6495 MB / 1.364 GB, free: 13.04 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002154/1.381, allocations: 1.329 MB / 1.366 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.603e-05/1.381, allocations: 107.2 kB / 1.366 GB, free: 12.45 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001917/1.382, allocations: 137.3 kB / 1.366 GB, free: 12.45 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002339/1.384, allocations: 1.574 MB / 1.367 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.136e-05/1.384, allocations: 0 / 1.367 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000126/1.384, allocations: 53.47 kB / 1.367 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-05/1.384, allocations: 53.08 kB / 1.367 GB, free: 11.7 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001787/1.386, allocations: 1.276 MB / 1.369 GB, free: 11.05 MB / 0.9981 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.007501/1.393, allocations: 7.221 MB / 1.376 GB, free: 4.82 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009963/1.395, allocations: 0.6467 MB / 1.376 GB, free: 4.477 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004496/1.395, allocations: 381.9 kB / 1.377 GB, free: 4.281 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001737/1.395, allocations: 107.6 kB / 1.377 GB, free: 4.18 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.592e-05/1.395, allocations: 39.88 kB / 1.377 GB, free: 4.133 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008405/1.396, allocations: 147.9 kB / 1.377 GB, free: 4.047 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=67): time 3.156e-06/1.396, allocations: 4 kB / 1.377 GB, free: 4.043 MB / 0.9981 GB Notification: Performance of matching and sorting (n=67): time 0.001712/1.398, allocations: 1.021 MB / 1.378 GB, free: 3.531 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.007e-05/1.398, allocations: 57.34 kB / 1.378 GB, free: 3.469 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00159/1.399, allocations: 1.342 MB / 1.379 GB, free: 2.742 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.974e-05/1.4, allocations: 44.11 kB / 1.379 GB, free: 2.699 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000471/1.4, allocations: 0.7692 MB / 1.38 GB, free: 2.027 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002244/1.4, allocations: 245.8 kB / 1.38 GB, free: 1.82 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003226/1.401, allocations: 202.5 kB / 1.381 GB, free: 1.699 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.547e-05/1.401, allocations: 344.4 kB / 1.381 GB, free: 1.367 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004919/1.401, allocations: 359.1 kB / 1.381 GB, free: 1.184 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000719/1.402, allocations: 0.6778 MB / 1.382 GB, free: 0.5938 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00109/1.403, allocations: 0.96 MB / 1.383 GB, free: 15.95 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.592e-06/1.403, allocations: 2.344 kB / 1.383 GB, free: 15.95 MB / 1.014 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001753/1.405, allocations: 1.151 MB / 1.384 GB, free: 15.4 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.128e-05/1.405, allocations: 8.375 kB / 1.384 GB, free: 15.4 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.372e-05/1.405, allocations: 13.7 kB / 1.384 GB, free: 15.39 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.619e-05/1.405, allocations: 13.88 kB / 1.384 GB, free: 15.39 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008511/1.406, allocations: 207.1 kB / 1.384 GB, free: 15.36 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.603e-05/1.406, allocations: 18.73 kB / 1.384 GB, free: 15.36 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00162/1.407, allocations: 134.8 kB / 1.384 GB, free: 15.29 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.762e-05/1.407, allocations: 46.61 kB / 1.384 GB, free: 15.28 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001227/1.409, allocations: 0.6842 MB / 1.385 GB, free: 14.87 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008203/1.409, allocations: 0.6788 MB / 1.386 GB, free: 14.28 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001202/1.411, allocations: 0.9516 MB / 1.387 GB, free: 13.64 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.188e-06/1.411, allocations: 0 / 1.387 GB, free: 13.64 MB / 1.014 GB Notification: Performance of matching and sorting (n=123) (initialization_lambda0): time 0.001789/1.412, allocations: 1.148 MB / 1.388 GB, free: 13.09 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/1.413, allocations: 7.812 kB / 1.388 GB, free: 13.09 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/1.413, allocations: 8.344 kB / 1.388 GB, free: 13.09 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/1.413, allocations: 14.52 kB / 1.388 GB, free: 13.09 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007997/1.413, allocations: 211.2 kB / 1.388 GB, free: 13.05 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.535e-05/1.413, allocations: 24.91 kB / 1.388 GB, free: 13.05 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001615/1.415, allocations: 135.7 kB / 1.388 GB, free: 12.98 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.284e-05/1.415, allocations: 40.31 kB / 1.388 GB, free: 12.98 MB / 1.014 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.415, allocations: 251.7 kB / 1.389 GB, free: 12.75 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002605/1.416, allocations: 158.1 kB / 1.389 GB, free: 12.67 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00153/1.417, allocations: 0.8147 MB / 1.389 GB, free: 12.2 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.476e-06/1.417, allocations: 6.75 kB / 1.389 GB, free: 12.2 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.696e-06/1.417, allocations: 6.422 kB / 1.389 GB, free: 12.2 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009341/1.418, allocations: 0.7846 MB / 1.39 GB, free: 11.66 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003924/1.422, allocations: 2.301 MB / 1.392 GB, free: 10.09 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/1.422, allocations: 2.969 kB / 1.392 GB, free: 10.09 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008452/1.423, allocations: 170.3 kB / 1.393 GB, free: 10.05 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.63e-05/1.423, allocations: 12.88 kB / 1.393 GB, free: 10.05 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.263e-05/1.423, allocations: 20.41 kB / 1.393 GB, free: 10.04 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.155e-06/1.423, allocations: 6.469 kB / 1.393 GB, free: 10.03 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/1.423, allocations: 2.469 kB / 1.393 GB, free: 10.03 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001791/1.425, allocations: 1.251 MB / 1.394 GB, free: 9.289 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006837/1.426, allocations: 322.3 kB / 1.394 GB, free: 9.023 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002704/1.426, allocations: 17.81 kB / 1.394 GB, free: 9.012 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001202/1.427, allocations: 104.8 kB / 1.394 GB, free: 8.961 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.314e-05/1.427, allocations: 42.78 kB / 1.394 GB, free: 8.941 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.245e-05/1.427, allocations: 32.86 kB / 1.394 GB, free: 8.93 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001419/1.429, allocations: 0.9101 MB / 1.395 GB, free: 8.434 MB / 1.014 GB Notification: Performance of sort global known variables: time 5.21e-07/1.429, allocations: 4 kB / 1.395 GB, free: 8.43 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.00248/1.431, allocations: 0.8428 MB / 1.396 GB, free: 7.734 MB / 1.014 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.0006066/1.432, allocations: 263.5 kB / 1.396 GB, free: 7.496 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002334/1.434, allocations: 1.329 MB / 1.398 GB, free: 6.227 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 6.733e-06/1.434, allocations: 4 kB / 1.398 GB, free: 6.223 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0005127/1.435, allocations: 349.2 kB / 1.398 GB, free: 5.895 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004283/1.439, allocations: 0.8445 MB / 1.399 GB, free: 5.055 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005772/1.445, allocations: 3.589 MB / 1.402 GB, free: 1.414 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001119/1.446, allocations: 1.351 MB / 1.404 GB, free: 40 kB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004995/1.446, allocations: 123.4 kB / 1.404 GB, free: 15.92 MB / 1.029 GB Notification: Performance of SimCode: time 7.72e-07/1.446, allocations: 0 / 1.404 GB, free: 15.92 MB / 1.029 GB Notification: Performance of Templates: time 0.04056/1.487, allocations: 25.21 MB / 1.428 GB, free: 6.902 MB / 1.045 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches