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.007548/0.007548, allocations: 95.83 kB / 15.73 MB, free: 6.039 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.001673/0.001673, allocations: 195.9 kB / 16.68 MB, free: 5.969 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.435/1.435, allocations: 222.9 MB / 240.4 MB, free: 4.332 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.547/2.547, allocations: 390.2 MB / 0.6648 GB, free: 220 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 68 kB / 0.9509 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3129/0.3141, allocations: 140.4 MB / 1.088 GB, free: 1.488 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 1.043/1.357, allocations: 274.6 MB / 1.356 GB, free: 2.125 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.03546/1.393, allocations: 17.36 MB / 1.373 GB, free: 14.79 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004309/1.397, allocations: 71.5 kB / 1.373 GB, free: 14.79 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.004122/1.401, allocations: 1.207 MB / 1.374 GB, free: 14.53 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.01078/1.412, allocations: 3.224 MB / 1.377 GB, free: 13.79 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.006326/1.419, allocations: 2.236 MB / 1.38 GB, free: 13.03 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.007217/1.426, allocations: 4.849 MB / 1.384 GB, free: 11.67 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002525/1.428, allocations: 1.762 MB / 1.386 GB, free: 10.91 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006302/1.435, allocations: 2.494 MB / 1.389 GB, free: 10.19 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002843/1.438, allocations: 1.55 MB / 1.39 GB, free: 9.711 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0002964/1.438, allocations: 191.3 kB / 1.39 GB, free: 9.711 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006692/1.445, allocations: 3.031 MB / 1.393 GB, free: 9.121 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0008769/1.445, allocations: 0.7286 MB / 1.394 GB, free: 8.809 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.001698/1.447, allocations: 1.112 MB / 1.395 GB, free: 8.176 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.007058/1.454, allocations: 3.846 MB / 1.399 GB, free: 6.277 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/1.454, allocations: 0 / 1.399 GB, free: 6.277 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.713e-06/1.454, allocations: 0 / 1.399 GB, free: 6.277 MB / 1.029 GB Notification: Performance of Transformations before backend: time 3.686e-05/1.454, allocations: 0 / 1.399 GB, free: 6.277 MB / 1.029 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.004167/1.458, allocations: 2.497 MB / 1.401 GB, free: 4.453 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/1.458, allocations: 10.34 kB / 1.401 GB, free: 4.453 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004352/1.463, allocations: 0.6554 MB / 1.402 GB, free: 4.184 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002464/1.465, allocations: 1.411 MB / 1.403 GB, free: 3.168 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.977e-05/1.465, allocations: 98.64 kB / 1.403 GB, free: 3.125 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002067/1.466, allocations: 136.9 kB / 1.403 GB, free: 3.082 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002427/1.468, allocations: 1.567 MB / 1.405 GB, free: 2.098 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.113e-05/1.468, allocations: 0 / 1.405 GB, free: 2.098 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001285/1.468, allocations: 59.3 kB / 1.405 GB, free: 2.059 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.366e-05/1.468, allocations: 50.88 kB / 1.405 GB, free: 2.047 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002172/1.47, allocations: 1.267 MB / 1.406 GB, free: 1.41 MB / 1.029 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.009961/1.48, allocations: 7.224 MB / 1.413 GB, free: 11.17 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001181/1.482, allocations: 0.6471 MB / 1.414 GB, free: 10.83 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005936/1.482, allocations: 370 kB / 1.414 GB, free: 10.64 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002193/1.482, allocations: 102.3 kB / 1.414 GB, free: 10.55 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.844e-05/1.483, allocations: 44.41 kB / 1.415 GB, free: 10.5 MB / 1.045 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007165/1.483, allocations: 104.2 kB / 1.415 GB, free: 10.43 MB / 1.045 GB Notification: Performance of pre-optimization done (n=67): time 4.067e-06/1.483, allocations: 0 / 1.415 GB, free: 10.43 MB / 1.045 GB Notification: Performance of matching and sorting (n=67): time 0.002072/1.485, allocations: 1.029 MB / 1.416 GB, free: 9.906 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.681e-05/1.485, allocations: 59.88 kB / 1.416 GB, free: 9.844 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001646/1.487, allocations: 1.346 MB / 1.417 GB, free: 9.113 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 7.38e-05/1.487, allocations: 46.08 kB / 1.417 GB, free: 9.07 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005767/1.488, allocations: 0.7904 MB / 1.418 GB, free: 8.379 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002185/1.488, allocations: 251.6 kB / 1.418 GB, free: 8.164 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003272/1.488, allocations: 204 kB / 1.418 GB, free: 8.043 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001379/1.488, allocations: 346 kB / 1.419 GB, free: 7.711 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005311/1.489, allocations: 351.8 kB / 1.419 GB, free: 7.531 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008062/1.49, allocations: 0.6932 MB / 1.42 GB, free: 6.922 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001293/1.491, allocations: 0.9567 MB / 1.421 GB, free: 6.262 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/1.491, allocations: 10.41 kB / 1.421 GB, free: 6.254 MB / 1.045 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001783/1.493, allocations: 1.154 MB / 1.422 GB, free: 5.664 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.448e-05/1.493, allocations: 11.94 kB / 1.422 GB, free: 5.66 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.292e-05/1.493, allocations: 5.625 kB / 1.422 GB, free: 5.66 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.311e-05/1.493, allocations: 13.69 kB / 1.422 GB, free: 5.66 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000828/1.494, allocations: 202.3 kB / 1.422 GB, free: 5.621 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.023e-05/1.494, allocations: 18.7 kB / 1.422 GB, free: 5.613 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001343/1.495, allocations: 57 kB / 1.422 GB, free: 5.582 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.925e-05/1.495, allocations: 38.08 kB / 1.422 GB, free: 5.574 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001145/1.496, allocations: 0.6896 MB / 1.423 GB, free: 5.164 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008947/1.497, allocations: 0.6763 MB / 1.423 GB, free: 4.566 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001389/1.499, allocations: 0.9518 MB / 1.424 GB, free: 3.797 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.539e-06/1.499, allocations: 0 / 1.424 GB, free: 3.797 MB / 1.045 GB Notification: Performance of matching and sorting (n=123) (initialization_lambda0): time 0.001982/1.501, allocations: 1.156 MB / 1.425 GB, free: 2.629 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/1.501, allocations: 8.109 kB / 1.425 GB, free: 2.621 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/1.501, allocations: 12.81 kB / 1.425 GB, free: 2.609 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/1.501, allocations: 11.94 kB / 1.425 GB, free: 2.598 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008603/1.502, allocations: 215.7 kB / 1.426 GB, free: 2.387 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.359e-05/1.502, allocations: 12 kB / 1.426 GB, free: 2.375 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001448/1.503, allocations: 55.91 kB / 1.426 GB, free: 2.32 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.875e-05/1.503, allocations: 40 kB / 1.426 GB, free: 2.281 MB / 1.045 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.0003471/1.504, allocations: 245.3 kB / 1.426 GB, free: 2.035 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002543/1.504, allocations: 159 kB / 1.426 GB, free: 1.879 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001524/1.505, allocations: 0.8217 MB / 1.427 GB, free: 1.043 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.516e-06/1.505, allocations: 11.94 kB / 1.427 GB, free: 1.031 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/1.505, allocations: 0 / 1.427 GB, free: 1.031 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009686/1.506, allocations: 0.7902 MB / 1.428 GB, free: 196 kB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003778/1.51, allocations: 2.306 MB / 1.43 GB, free: 13.82 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.053e-06/1.51, allocations: 4 kB / 1.43 GB, free: 13.82 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008291/1.511, allocations: 163.8 kB / 1.43 GB, free: 13.66 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.039e-05/1.511, allocations: 8.188 kB / 1.43 GB, free: 13.65 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.42e-05/1.511, allocations: 19.98 kB / 1.43 GB, free: 13.63 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.676e-06/1.511, allocations: 4 kB / 1.43 GB, free: 13.63 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.099e-06/1.511, allocations: 4 kB / 1.43 GB, free: 13.62 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001809/1.513, allocations: 1.266 MB / 1.431 GB, free: 12.32 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006337/1.514, allocations: 324.2 kB / 1.432 GB, free: 11.99 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001857/1.514, allocations: 24 kB / 1.432 GB, free: 11.96 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009157/1.515, allocations: 35.16 kB / 1.432 GB, free: 11.93 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.608e-05/1.515, allocations: 44.45 kB / 1.432 GB, free: 11.89 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.708e-05/1.515, allocations: 39.97 kB / 1.432 GB, free: 11.85 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001284/1.516, allocations: 0.9082 MB / 1.433 GB, free: 10.95 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.5e-07/1.516, allocations: 3.938 kB / 1.433 GB, free: 10.94 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001993/1.518, allocations: 0.8528 MB / 1.434 GB, free: 10.09 MB / 1.061 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.000544/1.519, allocations: 259.6 kB / 1.434 GB, free: 9.848 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.002093/1.521, allocations: 1.339 MB / 1.435 GB, free: 8.516 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 5.661e-06/1.521, allocations: 4.219 kB / 1.435 GB, free: 8.512 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.000481/1.521, allocations: 351 kB / 1.435 GB, free: 8.164 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003549/1.525, allocations: 0.8386 MB / 1.436 GB, free: 7.34 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004275/1.529, allocations: 2.936 MB / 1.439 GB, free: 4.352 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009487/1.53, allocations: 1.348 MB / 1.44 GB, free: 2.977 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.001342/1.532, allocations: 416.3 kB / 1.441 GB, free: 2.566 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002906/1.532, allocations: 119.4 kB / 1.441 GB, free: 2.449 MB / 1.061 GB Notification: Performance of SimCode: time 1.202e-06/1.532, allocations: 0 / 1.441 GB, free: 2.449 MB / 1.061 GB Notification: Performance of Templates: time 0.04993/1.582, allocations: 29.26 MB / 1.47 GB, free: 5.582 MB / 1.092 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