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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001058/0.001058, allocations: 91.06 kB / 15.36 MB, free: 0.7383 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.009382/0.009383, allocations: 171.8 kB / 16.26 MB, free: 6.613 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.436/1.436, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.364/2.364, allocations: 390.9 MB / 0.6663 GB, free: 2.359 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004116/0.0004116, allocations: 8 kB / 0.8159 GB, free: 13.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7833/0.7837, allocations: 142.4 MB / 0.955 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 0.3149/1.099, allocations: 268.8 MB / 1.218 GB, free: 1.578 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.02266/1.121, allocations: 17.28 MB / 1.234 GB, free: 264 kB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002234/1.124, allocations: 59.62 kB / 1.235 GB, free: 204 kB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.002768/1.126, allocations: 0.9873 MB / 1.235 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.00754/1.134, allocations: 2.93 MB / 1.238 GB, free: 12.26 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005151/1.139, allocations: 2.019 MB / 1.24 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.008274/1.147, allocations: 6.74 MB / 1.247 GB, free: 3.496 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002424/1.15, allocations: 1.445 MB / 1.248 GB, free: 2.016 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.6216/1.772, allocations: 2.056 MB / 1.25 GB, free: 37.16 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004235/1.776, allocations: 1.516 MB / 1.252 GB, free: 37.16 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005064/1.776, allocations: 73.91 kB / 1.252 GB, free: 37.16 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008345/1.785, allocations: 3.408 MB / 1.255 GB, free: 37.16 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001391/1.786, allocations: 0.5983 MB / 1.256 GB, free: 37.16 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002486/1.789, allocations: 0.9959 MB / 1.257 GB, free: 37.12 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.009836/1.798, allocations: 3.855 MB / 1.261 GB, free: 37.04 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/1.799, allocations: 0.6562 kB / 1.261 GB, free: 37.04 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.424e-06/1.799, allocations: 0 / 1.261 GB, free: 37.04 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.216e-05/1.799, allocations: 0.5 kB / 1.261 GB, free: 37.04 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.005712/1.804, allocations: 2.03 MB / 1.262 GB, free: 35.98 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.961e-05/1.804, allocations: 9.594 kB / 1.262 GB, free: 35.98 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005311/1.81, allocations: 0.6501 MB / 1.263 GB, free: 35.88 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003649/1.813, allocations: 1.337 MB / 1.264 GB, free: 35.45 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.88e-05/1.814, allocations: 103.4 kB / 1.265 GB, free: 35.45 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000262/1.814, allocations: 141 kB / 1.265 GB, free: 35.45 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00321/1.817, allocations: 1.569 MB / 1.266 GB, free: 35.25 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.007e-05/1.817, allocations: 5.547 kB / 1.266 GB, free: 35.25 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001414/1.817, allocations: 60.34 kB / 1.266 GB, free: 35.25 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.855e-05/1.817, allocations: 46.77 kB / 1.266 GB, free: 35.25 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002302/1.82, allocations: 1.274 MB / 1.268 GB, free: 35.23 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.009398/1.829, allocations: 7.228 MB / 1.275 GB, free: 31.36 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001113/1.83, allocations: 0.641 MB / 1.275 GB, free: 31.34 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005555/1.831, allocations: 366.2 kB / 1.276 GB, free: 31.33 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001992/1.831, allocations: 106.5 kB / 1.276 GB, free: 31.24 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.871e-05/1.831, allocations: 50.28 kB / 1.276 GB, free: 31.19 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001155/1.832, allocations: 150.5 kB / 1.276 GB, free: 31.14 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=67): time 3.667e-06/1.832, allocations: 0 / 1.276 GB, free: 31.14 MB / 0.9981 GB Notification: Performance of matching and sorting (n=67): time 0.001944/1.834, allocations: 1.009 MB / 1.277 GB, free: 31.02 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.869e-05/1.834, allocations: 59.19 kB / 1.277 GB, free: 30.96 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001765/1.836, allocations: 1.353 MB / 1.278 GB, free: 30.78 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.676e-05/1.836, allocations: 44.48 kB / 1.278 GB, free: 30.75 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005126/1.837, allocations: 0.7834 MB / 1.279 GB, free: 30.44 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001927/1.837, allocations: 241.9 kB / 1.279 GB, free: 30.29 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001061/1.837, allocations: 84.27 kB / 1.279 GB, free: 30.28 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.489e-05/1.837, allocations: 344.3 kB / 1.28 GB, free: 29.97 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004776/1.837, allocations: 348.5 kB / 1.28 GB, free: 29.97 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006531/1.838, allocations: 0.6795 MB / 1.281 GB, free: 29.6 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001071/1.839, allocations: 0.9518 MB / 1.282 GB, free: 29.34 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.272e-06/1.839, allocations: 2.938 kB / 1.282 GB, free: 29.34 MB / 0.9981 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001553/1.841, allocations: 1.15 MB / 1.283 GB, free: 29.23 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.000117/1.841, allocations: 295.4 kB / 1.283 GB, free: 28.89 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.34e-05/1.841, allocations: 10.03 kB / 1.283 GB, free: 28.89 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.26e-05/1.841, allocations: 11.91 kB / 1.283 GB, free: 28.89 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008285/1.842, allocations: 214 kB / 1.283 GB, free: 28.89 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.534e-05/1.842, allocations: 14.28 kB / 1.283 GB, free: 28.89 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001756/1.844, allocations: 143.2 kB / 1.283 GB, free: 28.87 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.476e-05/1.844, allocations: 42.75 kB / 1.283 GB, free: 28.87 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 6.612e-06/1.844, allocations: 4.562 kB / 1.283 GB, free: 28.87 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001306/1.845, allocations: 0.9835 MB / 1.284 GB, free: 28.86 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/1.845, allocations: 9.469 kB / 1.284 GB, free: 28.86 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.819e-06/1.845, allocations: 11.19 kB / 1.284 GB, free: 28.86 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007673/1.846, allocations: 210.8 kB / 1.285 GB, free: 28.86 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.267e-05/1.846, allocations: 17 kB / 1.285 GB, free: 28.86 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001386/1.847, allocations: 136.2 kB / 1.285 GB, free: 28.84 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.469e-05/1.847, allocations: 42.61 kB / 1.285 GB, free: 28.84 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.0006577/1.848, allocations: 0.4965 MB / 1.285 GB, free: 28.64 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001933/1.848, allocations: 154.4 kB / 1.285 GB, free: 28.56 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001348/1.849, allocations: 0.8207 MB / 1.286 GB, free: 28.5 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.754e-06/1.849, allocations: 6.188 kB / 1.286 GB, free: 28.5 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/1.849, allocations: 5.859 kB / 1.286 GB, free: 28.5 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000841/1.85, allocations: 0.7881 MB / 1.287 GB, free: 28.24 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003338/1.854, allocations: 2.297 MB / 1.289 GB, free: 27.87 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.898e-06/1.854, allocations: 192 / 1.289 GB, free: 27.87 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008003/1.854, allocations: 173 kB / 1.289 GB, free: 27.86 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.478e-06/1.855, allocations: 5.375 kB / 1.289 GB, free: 27.86 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.567e-05/1.855, allocations: 20.02 kB / 1.289 GB, free: 27.86 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.031e-06/1.855, allocations: 5.453 kB / 1.289 GB, free: 27.86 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/1.855, allocations: 5.125 kB / 1.289 GB, free: 27.86 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001588/1.856, allocations: 1.258 MB / 1.291 GB, free: 27.59 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005837/1.857, allocations: 325.4 kB / 1.291 GB, free: 27.41 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001809/1.857, allocations: 19.22 kB / 1.291 GB, free: 27.41 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00108/1.858, allocations: 96.94 kB / 1.291 GB, free: 27.39 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.459e-05/1.858, allocations: 42.31 kB / 1.291 GB, free: 27.39 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.708e-05/1.858, allocations: 37.61 kB / 1.291 GB, free: 27.39 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001116/1.859, allocations: 0.9099 MB / 1.292 GB, free: 27.28 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.91e-07/1.859, allocations: 0 / 1.292 GB, free: 27.28 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002143/1.862, allocations: 0.8407 MB / 1.293 GB, free: 27.18 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.000562/1.862, allocations: 255.2 kB / 1.293 GB, free: 27.08 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001899/1.864, allocations: 1.329 MB / 1.294 GB, free: 27.06 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/1.864, allocations: 2.844 kB / 1.294 GB, free: 27.06 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004339/1.864, allocations: 356.6 kB / 1.295 GB, free: 27.05 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00461/1.869, allocations: 0.8388 MB / 1.296 GB, free: 27 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004769/1.874, allocations: 3.646 MB / 1.299 GB, free: 25.06 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007573/1.875, allocations: 1.346 MB / 1.3 GB, free: 24.33 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.00189/1.877, allocations: 425.1 kB / 1.301 GB, free: 24.25 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003123/1.877, allocations: 114.8 kB / 1.301 GB, free: 24.24 MB / 0.9981 GB Notification: Performance of SimCode: time 7.21e-07/1.877, allocations: 0 / 1.301 GB, free: 24.24 MB / 0.9981 GB Notification: Performance of Templates: time 0.04426/1.921, allocations: 28.12 MB / 1.328 GB, free: 17.15 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches