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.007478/0.007478, allocations: 101.1 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.001611/0.001611, allocations: 190.4 kB / 16.67 MB, free: 5.977 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.433/1.433, allocations: 222.9 MB / 240.4 MB, free: 4.176 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.453/2.453, allocations: 390.2 MB / 0.6648 GB, free: 188 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 63.34 kB / 0.9508 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3069/0.3081, allocations: 140.4 MB / 1.088 GB, free: 1.477 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 1.005/1.313, allocations: 274.6 MB / 1.356 GB, free: 2.602 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01985/1.333, allocations: 17.36 MB / 1.373 GB, free: 14.98 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003351/1.337, allocations: 67.88 kB / 1.373 GB, free: 14.98 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.003197/1.34, allocations: 1.164 MB / 1.374 GB, free: 14.74 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.008587/1.348, allocations: 3.096 MB / 1.377 GB, free: 14.05 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.00588/1.354, allocations: 2.221 MB / 1.379 GB, free: 13.31 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.006874/1.361, allocations: 4.839 MB / 1.384 GB, free: 11.95 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002665/1.364, allocations: 1.763 MB / 1.386 GB, free: 11.19 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007044/1.371, allocations: 2.412 MB / 1.388 GB, free: 10.51 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003242/1.374, allocations: 1.55 MB / 1.39 GB, free: 10.03 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0004359/1.375, allocations: 191.6 kB / 1.39 GB, free: 10.03 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009952/1.385, allocations: 3.009 MB / 1.393 GB, free: 9.461 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.001125/1.386, allocations: 0.7262 MB / 1.394 GB, free: 9.152 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.00203/1.388, allocations: 1.123 MB / 1.395 GB, free: 8.512 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.007735/1.396, allocations: 3.835 MB / 1.398 GB, free: 6.613 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/1.396, allocations: 0 / 1.398 GB, free: 6.613 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.673e-06/1.396, allocations: 0 / 1.398 GB, free: 6.613 MB / 1.029 GB Notification: Performance of Transformations before backend: time 2.897e-05/1.396, allocations: 0 / 1.398 GB, free: 6.613 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.003836/1.4, allocations: 2.433 MB / 1.401 GB, free: 4.852 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/1.4, allocations: 8.469 kB / 1.401 GB, free: 4.852 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00415/1.404, allocations: 0.6304 MB / 1.401 GB, free: 4.605 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002185/1.406, allocations: 1.405 MB / 1.403 GB, free: 3.594 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.258e-05/1.406, allocations: 108.3 kB / 1.403 GB, free: 3.547 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002073/1.406, allocations: 140 kB / 1.403 GB, free: 3.5 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0023/1.409, allocations: 1.571 MB / 1.405 GB, free: 2.512 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.092e-05/1.409, allocations: 0 / 1.405 GB, free: 2.512 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001293/1.409, allocations: 52.88 kB / 1.405 GB, free: 2.473 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.084e-05/1.409, allocations: 47.7 kB / 1.405 GB, free: 2.469 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001962/1.411, allocations: 1.272 MB / 1.406 GB, free: 1.828 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.008398/1.419, allocations: 7.21 MB / 1.413 GB, free: 11.6 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001164/1.42, allocations: 0.6442 MB / 1.414 GB, free: 11.26 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005617/1.421, allocations: 369.6 kB / 1.414 GB, free: 11.08 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002236/1.421, allocations: 107.5 kB / 1.414 GB, free: 10.98 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.904e-05/1.421, allocations: 44.44 kB / 1.414 GB, free: 10.93 MB / 1.045 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000658/1.422, allocations: 102.3 kB / 1.414 GB, free: 10.86 MB / 1.045 GB Notification: Performance of pre-optimization done (n=67): time 2.725e-06/1.422, allocations: 1.281 kB / 1.414 GB, free: 10.86 MB / 1.045 GB Notification: Performance of matching and sorting (n=67): time 0.00196/1.424, allocations: 1.011 MB / 1.415 GB, free: 10.35 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.678e-05/1.424, allocations: 59.38 kB / 1.415 GB, free: 10.29 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001531/1.425, allocations: 1.341 MB / 1.417 GB, free: 9.562 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 8.105e-05/1.425, allocations: 46.42 kB / 1.417 GB, free: 9.52 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.000536/1.426, allocations: 0.7779 MB / 1.417 GB, free: 8.836 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001948/1.426, allocations: 241.9 kB / 1.418 GB, free: 8.633 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002968/1.427, allocations: 201.7 kB / 1.418 GB, free: 8.516 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001253/1.427, allocations: 342 kB / 1.418 GB, free: 8.184 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005411/1.427, allocations: 362 kB / 1.418 GB, free: 7.996 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007716/1.428, allocations: 0.6852 MB / 1.419 GB, free: 7.395 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001255/1.429, allocations: 0.9551 MB / 1.42 GB, free: 6.738 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.571e-06/1.429, allocations: 2.562 kB / 1.42 GB, free: 6.738 MB / 1.045 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001693/1.431, allocations: 1.151 MB / 1.421 GB, free: 6.152 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.486e-05/1.431, allocations: 16.31 kB / 1.421 GB, free: 6.145 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.392e-05/1.431, allocations: 7.844 kB / 1.421 GB, free: 6.145 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.669e-05/1.431, allocations: 11.34 kB / 1.421 GB, free: 6.145 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008906/1.432, allocations: 215 kB / 1.421 GB, free: 6.094 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.914e-05/1.432, allocations: 10.56 kB / 1.421 GB, free: 6.094 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001351/1.433, allocations: 45.09 kB / 1.421 GB, free: 6.07 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.789e-05/1.433, allocations: 38.38 kB / 1.422 GB, free: 6.062 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001108/1.435, allocations: 0.6912 MB / 1.422 GB, free: 5.648 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008088/1.435, allocations: 0.6819 MB / 1.423 GB, free: 5.043 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001237/1.437, allocations: 0.9402 MB / 1.424 GB, free: 4.391 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.577e-06/1.437, allocations: 4 kB / 1.424 GB, free: 4.387 MB / 1.045 GB Notification: Performance of matching and sorting (n=123) (initialization_lambda0): time 0.001757/1.438, allocations: 1.154 MB / 1.425 GB, free: 3.309 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/1.438, allocations: 8 kB / 1.425 GB, free: 3.301 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.354e-05/1.438, allocations: 11.94 kB / 1.425 GB, free: 3.289 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/1.438, allocations: 12.11 kB / 1.425 GB, free: 3.277 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008189/1.439, allocations: 211.6 kB / 1.425 GB, free: 3.07 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.773e-05/1.439, allocations: 19.92 kB / 1.425 GB, free: 3.051 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001303/1.441, allocations: 57.5 kB / 1.425 GB, free: 2.996 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.339e-05/1.441, allocations: 43.98 kB / 1.425 GB, free: 2.953 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.0003669/1.441, allocations: 240 kB / 1.425 GB, free: 2.711 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002635/1.441, allocations: 158.1 kB / 1.426 GB, free: 2.555 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001496/1.443, allocations: 0.8241 MB / 1.426 GB, free: 1.715 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.104e-05/1.443, allocations: 8 kB / 1.426 GB, free: 1.707 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/1.443, allocations: 0 / 1.426 GB, free: 1.707 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001006/1.444, allocations: 0.7863 MB / 1.427 GB, free: 0.8711 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003385/1.447, allocations: 2.307 MB / 1.429 GB, free: 14.5 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/1.447, allocations: 0 / 1.429 GB, free: 14.5 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007782/1.448, allocations: 167.8 kB / 1.43 GB, free: 14.34 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.053e-06/1.448, allocations: 4 kB / 1.43 GB, free: 14.33 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.997e-05/1.448, allocations: 20 kB / 1.43 GB, free: 14.31 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.43e-06/1.448, allocations: 4 kB / 1.43 GB, free: 14.31 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.66e-06/1.448, allocations: 8.125 kB / 1.43 GB, free: 14.3 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00164/1.45, allocations: 1.253 MB / 1.431 GB, free: 13.01 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000534/1.45, allocations: 327.2 kB / 1.431 GB, free: 12.67 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001564/1.451, allocations: 12 kB / 1.431 GB, free: 12.66 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008488/1.451, allocations: 39.42 kB / 1.431 GB, free: 12.62 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.384e-05/1.451, allocations: 48.38 kB / 1.431 GB, free: 12.58 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.247e-05/1.452, allocations: 39.92 kB / 1.431 GB, free: 12.54 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001145/1.453, allocations: 0.9044 MB / 1.432 GB, free: 11.64 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.41e-07/1.453, allocations: 0 / 1.432 GB, free: 11.64 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001995/1.455, allocations: 0.8418 MB / 1.433 GB, free: 10.79 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.0006053/1.455, allocations: 262.6 kB / 1.433 GB, free: 10.55 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.002013/1.457, allocations: 1.331 MB / 1.435 GB, free: 9.223 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/1.457, allocations: 4 kB / 1.435 GB, free: 9.219 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0004423/1.458, allocations: 346.9 kB / 1.435 GB, free: 8.875 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003383/1.461, allocations: 0.8396 MB / 1.436 GB, free: 8.047 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004221/1.465, allocations: 2.899 MB / 1.439 GB, free: 5.102 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008681/1.466, allocations: 1.344 MB / 1.44 GB, free: 3.73 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.001462/1.468, allocations: 412.3 kB / 1.44 GB, free: 3.324 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002909/1.468, allocations: 119.4 kB / 1.44 GB, free: 3.207 MB / 1.061 GB Notification: Performance of SimCode: time 4.31e-07/1.468, allocations: 0 / 1.44 GB, free: 3.207 MB / 1.061 GB Notification: Performance of Templates: time 0.04705/1.515, allocations: 29.27 MB / 1.469 GB, free: 6.344 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