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.000904/0.0009042, allocations: 92.16 kB / 16.02 MB, free: 80 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.0009895/0.0009896, allocations: 172.2 kB / 16.92 MB, free: 6.652 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.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.611/2.611, allocations: 443.2 MB / 0.7181 GB, free: 1.516 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00036/0.0003601, allocations: 12.5 kB / 0.8801 GB, free: 42.23 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3025/0.3028, allocations: 155.1 MB / 1.032 GB, free: 4.762 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 0.8872/1.19, allocations: 268.8 MB / 1.294 GB, free: 17.03 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01965/1.21, allocations: 17.27 MB / 1.311 GB, free: 16.74 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002469/1.212, allocations: 57.97 kB / 1.311 GB, free: 16.74 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002843/1.215, allocations: 0.9939 MB / 1.312 GB, free: 16.72 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.007675/1.223, allocations: 2.931 MB / 1.315 GB, free: 16.56 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005185/1.228, allocations: 2.019 MB / 1.317 GB, free: 16.48 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.007272/1.235, allocations: 6.75 MB / 1.323 GB, free: 16.47 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002488/1.238, allocations: 1.445 MB / 1.325 GB, free: 16.24 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006108/1.244, allocations: 2.055 MB / 1.327 GB, free: 16.21 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003501/1.248, allocations: 1.525 MB / 1.328 GB, free: 16.2 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.000386/1.248, allocations: 75.62 kB / 1.328 GB, free: 16.2 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006317/1.254, allocations: 3.398 MB / 1.332 GB, free: 16.17 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0008487/1.255, allocations: 0.6059 MB / 1.332 GB, free: 16.16 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001834/1.257, allocations: 0.9937 MB / 1.333 GB, free: 16.13 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004666/1.262, allocations: 2.813 MB / 1.336 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/1.262, allocations: 4 kB / 1.336 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of FrontEnd: time 4.439e-06/1.262, allocations: 2.938 kB / 1.336 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.218e-05/1.262, allocations: 0 / 1.336 GB, free: 15.93 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.004133/1.266, allocations: 2.032 MB / 1.338 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.721e-05/1.266, allocations: 15.17 kB / 1.338 GB, free: 14.78 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004428/1.27, allocations: 0.6476 MB / 1.339 GB, free: 14.66 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002485/1.273, allocations: 1.335 MB / 1.34 GB, free: 14.24 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.191e-05/1.273, allocations: 113.6 kB / 1.34 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002114/1.273, allocations: 133.3 kB / 1.34 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002473/1.276, allocations: 1.573 MB / 1.342 GB, free: 14.03 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.472e-05/1.276, allocations: 6.844 kB / 1.342 GB, free: 14.03 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001518/1.276, allocations: 59.09 kB / 1.342 GB, free: 14.03 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.924e-05/1.276, allocations: 53.84 kB / 1.342 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00192/1.278, allocations: 1.266 MB / 1.343 GB, free: 14 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.007939/1.286, allocations: 7.219 MB / 1.35 GB, free: 10.1 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009679/1.287, allocations: 0.6424 MB / 1.351 GB, free: 10.07 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004397/1.287, allocations: 375 kB / 1.351 GB, free: 10.06 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001742/1.287, allocations: 106.8 kB / 1.351 GB, free: 9.965 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.975e-05/1.288, allocations: 42.88 kB / 1.351 GB, free: 9.926 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008973/1.288, allocations: 144.8 kB / 1.351 GB, free: 9.875 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=67): time 3.467e-06/1.288, allocations: 0 / 1.351 GB, free: 9.875 MB / 0.9981 GB Notification: Performance of matching and sorting (n=67): time 0.001702/1.29, allocations: 1.027 MB / 1.352 GB, free: 9.738 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.3e-05/1.29, allocations: 63.47 kB / 1.353 GB, free: 9.676 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001598/1.292, allocations: 1.344 MB / 1.354 GB, free: 9.504 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 9.822e-05/1.292, allocations: 42.33 kB / 1.354 GB, free: 9.473 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004619/1.292, allocations: 0.7645 MB / 1.355 GB, free: 9.18 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000183/1.293, allocations: 251 kB / 1.355 GB, free: 9.023 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001052/1.293, allocations: 85.75 kB / 1.355 GB, free: 9.008 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.562e-05/1.293, allocations: 346.5 kB / 1.355 GB, free: 8.699 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004858/1.293, allocations: 352.4 kB / 1.356 GB, free: 8.695 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006168/1.294, allocations: 0.6776 MB / 1.356 GB, free: 8.32 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001045/1.295, allocations: 0.9555 MB / 1.357 GB, free: 8.047 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.751e-06/1.295, allocations: 2.906 kB / 1.357 GB, free: 8.047 MB / 0.9981 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001604/1.297, allocations: 1.149 MB / 1.358 GB, free: 7.91 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001162/1.297, allocations: 295.7 kB / 1.359 GB, free: 7.578 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.284e-05/1.297, allocations: 10.06 kB / 1.359 GB, free: 7.574 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.649e-05/1.297, allocations: 11.34 kB / 1.359 GB, free: 7.574 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008202/1.298, allocations: 214.3 kB / 1.359 GB, free: 7.562 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.66e-05/1.298, allocations: 15.94 kB / 1.359 GB, free: 7.559 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001594/1.299, allocations: 141.3 kB / 1.359 GB, free: 7.508 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-05/1.299, allocations: 40.61 kB / 1.359 GB, free: 7.504 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 8.797e-06/1.299, allocations: 6.062 kB / 1.359 GB, free: 7.504 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001273/1.301, allocations: 0.982 MB / 1.36 GB, free: 7.387 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/1.301, allocations: 9 kB / 1.36 GB, free: 7.387 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.037e-05/1.301, allocations: 15.27 kB / 1.36 GB, free: 7.383 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007428/1.301, allocations: 204.8 kB / 1.36 GB, free: 7.359 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.194e-05/1.301, allocations: 15.5 kB / 1.36 GB, free: 7.359 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001453/1.303, allocations: 140.6 kB / 1.36 GB, free: 7.309 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.504e-05/1.303, allocations: 40.05 kB / 1.36 GB, free: 7.305 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.0008081/1.304, allocations: 0.4927 MB / 1.361 GB, free: 7.082 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002066/1.304, allocations: 149.9 kB / 1.361 GB, free: 7.008 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001291/1.305, allocations: 0.8338 MB / 1.362 GB, free: 6.816 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/1.305, allocations: 5.125 kB / 1.362 GB, free: 6.816 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.134e-06/1.305, allocations: 7.875 kB / 1.362 GB, free: 6.809 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008291/1.306, allocations: 0.7902 MB / 1.363 GB, free: 6.484 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002912/1.309, allocations: 2.295 MB / 1.365 GB, free: 5.473 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/1.309, allocations: 6.922 kB / 1.365 GB, free: 5.469 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007552/1.31, allocations: 162.1 kB / 1.365 GB, free: 5.445 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.048e-05/1.31, allocations: 11.33 kB / 1.365 GB, free: 5.438 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.779e-05/1.31, allocations: 20.41 kB / 1.365 GB, free: 5.426 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.971e-06/1.31, allocations: 6.891 kB / 1.365 GB, free: 5.422 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/1.31, allocations: 6.062 kB / 1.365 GB, free: 5.422 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001398/1.311, allocations: 1.255 MB / 1.366 GB, free: 4.672 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005358/1.312, allocations: 316.1 kB / 1.367 GB, free: 4.41 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001679/1.312, allocations: 24.17 kB / 1.367 GB, free: 4.395 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001024/1.313, allocations: 95.34 kB / 1.367 GB, free: 4.348 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.408e-05/1.313, allocations: 42.22 kB / 1.367 GB, free: 4.328 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.702e-05/1.313, allocations: 35.67 kB / 1.367 GB, free: 4.316 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001148/1.314, allocations: 0.9076 MB / 1.368 GB, free: 3.82 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.91e-07/1.314, allocations: 0 / 1.368 GB, free: 3.82 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001863/1.316, allocations: 0.8538 MB / 1.368 GB, free: 3.66 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.0005262/1.317, allocations: 265.7 kB / 1.369 GB, free: 3.504 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001742/1.318, allocations: 1.322 MB / 1.37 GB, free: 2.949 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/1.319, allocations: 2.625 kB / 1.37 GB, free: 2.949 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003846/1.319, allocations: 351.3 kB / 1.37 GB, free: 2.809 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003968/1.323, allocations: 0.8392 MB / 1.371 GB, free: 2.395 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00434/1.327, allocations: 3.722 MB / 1.375 GB, free: 15.8 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009049/1.328, allocations: 1.346 MB / 1.376 GB, free: 14.79 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000427/1.329, allocations: 118.6 kB / 1.376 GB, free: 14.78 MB / 1.014 GB Notification: Performance of SimCode: time 9.01e-07/1.329, allocations: 0 / 1.376 GB, free: 14.78 MB / 1.014 GB Notification: Performance of Templates: time 0.03896/1.368, allocations: 24.98 MB / 1.401 GB, free: 11.34 MB / 1.029 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