Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.0009495/0.0009496, allocations: 98.88 kB / 16.02 MB, free: 76 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.001324/0.001324, allocations: 183 kB / 16.92 MB, free: 6.684 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: 223.3 MB / 241 MB, free: 5.246 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.488/2.488, allocations: 390.9 MB / 0.667 GB, free: 2.375 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004037/0.0004037, allocations: 11.98 kB / 0.8166 GB, free: 13.26 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7234/0.7239, allocations: 142.4 MB / 0.9557 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 0.29/1.014, allocations: 268.8 MB / 1.218 GB, free: 1.617 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.02472/1.039, allocations: 17.27 MB / 1.235 GB, free: 308 kB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003231/1.042, allocations: 55.62 kB / 1.235 GB, free: 252 kB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.003526/1.046, allocations: 1.003 MB / 1.236 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.009025/1.055, allocations: 2.92 MB / 1.239 GB, free: 12.3 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00619/1.061, allocations: 2.03 MB / 1.241 GB, free: 10.28 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.009005/1.07, allocations: 6.743 MB / 1.248 GB, free: 3.523 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003076/1.073, allocations: 1.438 MB / 1.249 GB, free: 2.051 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006889/1.08, allocations: 2.052 MB / 1.251 GB, free: 0 / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004285/1.734, allocations: 1.522 MB / 1.252 GB, free: 37.2 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.000523/1.735, allocations: 73.69 kB / 1.253 GB, free: 37.2 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007954/1.743, allocations: 3.403 MB / 1.256 GB, free: 37.2 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001639/1.744, allocations: 0.602 MB / 1.256 GB, free: 37.2 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002787/1.747, allocations: 0.999 MB / 1.257 GB, free: 37.17 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00547/1.753, allocations: 2.811 MB / 1.26 GB, free: 37.08 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/1.753, allocations: 0 / 1.26 GB, free: 37.08 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.296e-06/1.753, allocations: 0 / 1.26 GB, free: 37.08 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001281/1.753, allocations: 1.906 kB / 1.26 GB, free: 37.08 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.005813/1.759, allocations: 2.025 MB / 1.262 GB, free: 36.04 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.534e-05/1.759, allocations: 12.03 kB / 1.262 GB, free: 36.04 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005638/1.764, allocations: 0.653 MB / 1.263 GB, free: 35.93 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003367/1.768, allocations: 1.338 MB / 1.264 GB, free: 35.5 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001128/1.768, allocations: 107.2 kB / 1.264 GB, free: 35.5 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003196/1.768, allocations: 133.2 kB / 1.264 GB, free: 35.5 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002899/1.771, allocations: 1.578 MB / 1.266 GB, free: 35.3 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.715e-05/1.771, allocations: 1.312 kB / 1.266 GB, free: 35.3 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001626/1.771, allocations: 59 kB / 1.266 GB, free: 35.3 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.927e-05/1.772, allocations: 49.23 kB / 1.266 GB, free: 35.3 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002267/1.774, allocations: 1.268 MB / 1.267 GB, free: 35.28 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.009509/1.783, allocations: 7.236 MB / 1.274 GB, free: 31.42 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001199/1.785, allocations: 0.6418 MB / 1.275 GB, free: 31.39 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005539/1.785, allocations: 370.2 kB / 1.275 GB, free: 31.38 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001994/1.785, allocations: 102.6 kB / 1.275 GB, free: 31.29 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.258e-05/1.785, allocations: 43.19 kB / 1.275 GB, free: 31.25 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001251/1.787, allocations: 152.8 kB / 1.276 GB, free: 31.19 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=67): time 3.727e-06/1.787, allocations: 0 / 1.276 GB, free: 31.19 MB / 0.9981 GB Notification: Performance of matching and sorting (n=67): time 0.002209/1.789, allocations: 1.012 MB / 1.277 GB, free: 31.07 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.869e-05/1.789, allocations: 60.19 kB / 1.277 GB, free: 31.01 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002395/1.791, allocations: 1.349 MB / 1.278 GB, free: 30.83 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001418/1.792, allocations: 45.08 kB / 1.278 GB, free: 30.8 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006685/1.792, allocations: 0.7778 MB / 1.279 GB, free: 30.5 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002951/1.792, allocations: 245 kB / 1.279 GB, free: 30.35 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001629/1.793, allocations: 87.69 kB / 1.279 GB, free: 30.33 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001104/1.793, allocations: 341.9 kB / 1.279 GB, free: 30.03 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006652/1.793, allocations: 350.1 kB / 1.28 GB, free: 30.03 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009624/1.794, allocations: 0.6847 MB / 1.28 GB, free: 29.65 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001222/1.796, allocations: 0.9538 MB / 1.281 GB, free: 29.39 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.451e-06/1.796, allocations: 0 / 1.281 GB, free: 29.39 MB / 0.9981 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001738/1.797, allocations: 1.148 MB / 1.282 GB, free: 29.28 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001793/1.798, allocations: 295.9 kB / 1.283 GB, free: 28.95 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.637e-05/1.798, allocations: 9.125 kB / 1.283 GB, free: 28.94 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.775e-05/1.798, allocations: 13.19 kB / 1.283 GB, free: 28.94 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008409/1.798, allocations: 209.5 kB / 1.283 GB, free: 28.94 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.992e-05/1.799, allocations: 17.61 kB / 1.283 GB, free: 28.94 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001986/1.801, allocations: 142.9 kB / 1.283 GB, free: 28.92 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.101e-05/1.801, allocations: 41.52 kB / 1.283 GB, free: 28.92 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 8.676e-06/1.801, allocations: 2.875 kB / 1.283 GB, free: 28.92 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001347/1.802, allocations: 0.9908 MB / 1.284 GB, free: 28.91 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.737e-06/1.802, allocations: 5.406 kB / 1.284 GB, free: 28.91 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/1.802, allocations: 12.25 kB / 1.284 GB, free: 28.91 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007559/1.803, allocations: 209.2 kB / 1.284 GB, free: 28.91 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.469e-05/1.803, allocations: 18.47 kB / 1.284 GB, free: 28.91 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001868/1.805, allocations: 134.3 kB / 1.284 GB, free: 28.89 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.158e-05/1.805, allocations: 39.59 kB / 1.284 GB, free: 28.89 MB / 0.9981 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.0009516/1.806, allocations: 0.4939 MB / 1.285 GB, free: 28.69 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003375/1.806, allocations: 158.5 kB / 1.285 GB, free: 28.61 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001336/1.807, allocations: 0.8188 MB / 1.286 GB, free: 28.55 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.727e-06/1.807, allocations: 8.172 kB / 1.286 GB, free: 28.55 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/1.807, allocations: 0 / 1.286 GB, free: 28.55 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007998/1.808, allocations: 0.7835 MB / 1.287 GB, free: 28.3 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003638/1.812, allocations: 2.308 MB / 1.289 GB, free: 27.92 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.62e-06/1.812, allocations: 0 / 1.289 GB, free: 27.92 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008156/1.813, allocations: 173 kB / 1.289 GB, free: 27.91 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.06e-05/1.813, allocations: 5.812 kB / 1.289 GB, free: 27.91 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.141e-05/1.813, allocations: 24.98 kB / 1.289 GB, free: 27.91 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.564e-06/1.813, allocations: 6.625 kB / 1.289 GB, free: 27.91 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/1.813, allocations: 0 / 1.289 GB, free: 27.91 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001685/1.815, allocations: 1.258 MB / 1.29 GB, free: 27.64 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008409/1.815, allocations: 330.3 kB / 1.291 GB, free: 27.46 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002176/1.816, allocations: 20.67 kB / 1.291 GB, free: 27.46 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001146/1.817, allocations: 93.44 kB / 1.291 GB, free: 27.45 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001016/1.817, allocations: 43.67 kB / 1.291 GB, free: 27.45 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.507e-05/1.817, allocations: 34.47 kB / 1.291 GB, free: 27.45 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001239/1.818, allocations: 0.9029 MB / 1.292 GB, free: 27.34 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.71e-07/1.818, allocations: 4 kB / 1.292 GB, free: 27.33 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002651/1.821, allocations: 0.8467 MB / 1.293 GB, free: 27.23 MB / 0.9981 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.0006394/1.822, allocations: 256.7 kB / 1.293 GB, free: 27.12 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002116/1.824, allocations: 1.332 MB / 1.294 GB, free: 27.11 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/1.824, allocations: 3 kB / 1.294 GB, free: 27.11 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000453/1.824, allocations: 348.2 kB / 1.294 GB, free: 27.11 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005128/1.829, allocations: 0.8524 MB / 1.295 GB, free: 27.04 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005376/1.835, allocations: 3.721 MB / 1.299 GB, free: 25.07 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008714/1.836, allocations: 1.347 MB / 1.3 GB, free: 24.34 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005312/1.836, allocations: 121.6 kB / 1.3 GB, free: 24.34 MB / 0.9981 GB Notification: Performance of SimCode: time 1.062e-06/1.836, allocations: 0 / 1.3 GB, free: 24.34 MB / 0.9981 GB Notification: Performance of Templates: time 0.04051/1.877, allocations: 24.96 MB / 1.325 GB, free: 18.71 MB / 0.9981 GB make -j1 -f Buildings_9_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.makefile (rm -f Buildings_9_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; mkfifo Buildings_9_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe >> ../files/Buildings_9_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.sim & ./Buildings_9_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Interfaces_Examples_ReverseFlowHumidifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches