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.005743/0.005743, allocations: 101.5 kB / 15.73 MB, free: 6.031 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.001236/0.001236, allocations: 188.6 kB / 16.67 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.428/1.428, 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.459/2.459, allocations: 390.2 MB / 0.6648 GB, free: 212 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001373, allocations: 59.34 kB / 0.9509 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3188/0.3202, 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 0.991/1.311, allocations: 274.6 MB / 1.356 GB, free: 2.098 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.02539/1.337, allocations: 17.38 MB / 1.373 GB, free: 14.78 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004464/1.341, allocations: 64.91 kB / 1.373 GB, free: 14.78 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.004059/1.345, allocations: 1.165 MB / 1.374 GB, free: 14.53 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.009468/1.355, allocations: 3.099 MB / 1.377 GB, free: 13.85 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.006363/1.361, allocations: 2.214 MB / 1.379 GB, free: 13.11 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.007552/1.369, allocations: 4.843 MB / 1.384 GB, free: 11.74 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002831/1.372, allocations: 1.76 MB / 1.386 GB, free: 10.99 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00684/1.378, allocations: 2.447 MB / 1.388 GB, free: 10.3 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003591/1.382, allocations: 1.546 MB / 1.39 GB, free: 9.824 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0005143/1.383, allocations: 191.6 kB / 1.39 GB, free: 9.824 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008213/1.391, allocations: 3.009 MB / 1.393 GB, free: 9.25 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.001257/1.392, allocations: 0.727 MB / 1.394 GB, free: 8.941 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.002345/1.395, allocations: 1.117 MB / 1.395 GB, free: 8.305 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.009602/1.404, allocations: 3.83 MB / 1.398 GB, free: 6.473 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.615e-06/1.404, allocations: 0 / 1.398 GB, free: 6.473 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.765e-06/1.404, allocations: 0 / 1.398 GB, free: 6.473 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.491e-05/1.404, allocations: 7.188 kB / 1.398 GB, free: 6.469 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.004807/1.409, allocations: 2.428 MB / 1.401 GB, free: 4.711 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/1.409, allocations: 12.47 kB / 1.401 GB, free: 4.707 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004301/1.413, allocations: 0.6389 MB / 1.402 GB, free: 4.453 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002558/1.416, allocations: 1.398 MB / 1.403 GB, free: 3.449 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.307e-05/1.416, allocations: 101.8 kB / 1.403 GB, free: 3.406 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002056/1.416, allocations: 141.9 kB / 1.403 GB, free: 3.355 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00254/1.419, allocations: 1.571 MB / 1.405 GB, free: 2.367 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.326e-05/1.419, allocations: 2.438 kB / 1.405 GB, free: 2.367 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001261/1.419, allocations: 64.83 kB / 1.405 GB, free: 2.32 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-05/1.419, allocations: 47.17 kB / 1.405 GB, free: 2.316 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001954/1.421, allocations: 1.27 MB / 1.406 GB, free: 1.676 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.00896/1.43, allocations: 7.204 MB / 1.413 GB, free: 11.45 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001191/1.431, allocations: 0.6434 MB / 1.414 GB, free: 11.11 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000558/1.432, allocations: 370 kB / 1.414 GB, free: 10.93 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002169/1.432, allocations: 106.1 kB / 1.414 GB, free: 10.83 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.84e-05/1.432, allocations: 44.44 kB / 1.414 GB, free: 10.78 MB / 1.045 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008061/1.433, allocations: 104.3 kB / 1.414 GB, free: 10.71 MB / 1.045 GB Notification: Performance of pre-optimization done (n=67): time 2.875e-06/1.433, allocations: 0 / 1.414 GB, free: 10.71 MB / 1.045 GB Notification: Performance of matching and sorting (n=67): time 0.001951/1.435, allocations: 1.013 MB / 1.415 GB, free: 10.2 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.672e-05/1.435, allocations: 58.25 kB / 1.415 GB, free: 10.14 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001618/1.437, allocations: 1.345 MB / 1.417 GB, free: 9.41 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 8.617e-05/1.437, allocations: 45.02 kB / 1.417 GB, free: 9.367 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005939/1.437, allocations: 0.7762 MB / 1.417 GB, free: 8.688 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.000211/1.437, allocations: 237.9 kB / 1.418 GB, free: 8.488 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002998/1.438, allocations: 198.8 kB / 1.418 GB, free: 8.371 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001232/1.438, allocations: 347.8 kB / 1.418 GB, free: 8.035 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005184/1.438, allocations: 360 kB / 1.418 GB, free: 7.852 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007868/1.439, allocations: 0.688 MB / 1.419 GB, free: 7.246 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001374/1.441, allocations: 0.9501 MB / 1.42 GB, free: 6.613 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.245e-06/1.441, allocations: 2.438 kB / 1.42 GB, free: 6.613 MB / 1.045 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001916/1.443, allocations: 1.157 MB / 1.421 GB, free: 6.027 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.485e-05/1.443, allocations: 13.16 kB / 1.421 GB, free: 6.023 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.404e-05/1.443, allocations: 5.5 kB / 1.421 GB, free: 6.023 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.276e-05/1.443, allocations: 15.27 kB / 1.421 GB, free: 6.02 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008721/1.444, allocations: 217.1 kB / 1.421 GB, free: 5.969 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.732e-05/1.444, allocations: 10.59 kB / 1.421 GB, free: 5.969 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001417/1.445, allocations: 45 kB / 1.422 GB, free: 5.945 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.663e-05/1.445, allocations: 41.98 kB / 1.422 GB, free: 5.938 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001149/1.446, allocations: 0.6873 MB / 1.422 GB, free: 5.523 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000784/1.447, allocations: 0.6816 MB / 1.423 GB, free: 4.922 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001244/1.448, allocations: 0.9454 MB / 1.424 GB, free: 4.262 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.136e-06/1.448, allocations: 2.812 kB / 1.424 GB, free: 4.262 MB / 1.045 GB Notification: Performance of matching and sorting (n=123) (initialization_lambda0): time 0.001971/1.45, allocations: 1.152 MB / 1.425 GB, free: 3.121 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/1.45, allocations: 8 kB / 1.425 GB, free: 3.113 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.492e-05/1.45, allocations: 15.94 kB / 1.425 GB, free: 3.098 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/1.45, allocations: 8.109 kB / 1.425 GB, free: 3.09 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008556/1.451, allocations: 219.6 kB / 1.425 GB, free: 2.875 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.209e-05/1.451, allocations: 12 kB / 1.425 GB, free: 2.863 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001456/1.453, allocations: 57.72 kB / 1.425 GB, free: 2.809 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.958e-05/1.453, allocations: 48.08 kB / 1.425 GB, free: 2.762 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.0003765/1.453, allocations: 244 kB / 1.426 GB, free: 2.516 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003912/1.454, allocations: 154.1 kB / 1.426 GB, free: 2.363 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001581/1.455, allocations: 0.8163 MB / 1.426 GB, free: 1.531 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.027e-06/1.455, allocations: 12 kB / 1.426 GB, free: 1.52 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/1.455, allocations: 0 / 1.426 GB, free: 1.52 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00107/1.456, allocations: 0.7863 MB / 1.427 GB, free: 0.6836 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004562/1.461, allocations: 2.3 MB / 1.43 GB, free: 14.32 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.181e-06/1.461, allocations: 8.031 kB / 1.43 GB, free: 14.31 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008268/1.462, allocations: 167.8 kB / 1.43 GB, free: 14.15 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.124e-05/1.462, allocations: 4 kB / 1.43 GB, free: 14.14 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.876e-05/1.462, allocations: 19.98 kB / 1.43 GB, free: 14.12 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.005e-05/1.462, allocations: 7.984 kB / 1.43 GB, free: 14.12 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/1.462, allocations: 4 kB / 1.43 GB, free: 14.11 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002111/1.464, allocations: 1.261 MB / 1.431 GB, free: 12.82 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001002/1.465, allocations: 315.2 kB / 1.431 GB, free: 12.49 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004212/1.465, allocations: 20 kB / 1.431 GB, free: 12.47 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001201/1.467, allocations: 40.52 kB / 1.431 GB, free: 12.43 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001086/1.467, allocations: 52.38 kB / 1.431 GB, free: 12.38 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001006/1.467, allocations: 31.98 kB / 1.431 GB, free: 12.35 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001635/1.469, allocations: 0.9083 MB / 1.432 GB, free: 11.45 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.9e-07/1.469, allocations: 0 / 1.432 GB, free: 11.45 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.002792/1.471, allocations: 0.8325 MB / 1.433 GB, free: 10.61 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.0007939/1.472, allocations: 263.9 kB / 1.433 GB, free: 10.36 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.002488/1.475, allocations: 1.332 MB / 1.435 GB, free: 9.039 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 7.474e-06/1.475, allocations: 0 / 1.435 GB, free: 9.039 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0005491/1.475, allocations: 354.9 kB / 1.435 GB, free: 8.688 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004506/1.48, allocations: 0.8389 MB / 1.436 GB, free: 7.863 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005605/1.485, allocations: 2.906 MB / 1.439 GB, free: 4.91 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001318/1.487, allocations: 1.344 MB / 1.44 GB, free: 3.539 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.001779/1.489, allocations: 408.3 kB / 1.44 GB, free: 3.137 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004458/1.489, allocations: 115.4 kB / 1.44 GB, free: 3.023 MB / 1.061 GB Notification: Performance of SimCode: time 9.71e-07/1.489, allocations: 0 / 1.44 GB, free: 3.023 MB / 1.061 GB Notification: Performance of Templates: time 0.05384/1.543, allocations: 29.72 MB / 1.469 GB, free: 5.699 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