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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001296/0.001296, allocations: 108 kB / 16.41 MB, free: 6.027 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.0013/0.0013, allocations: 186.2 kB / 17.34 MB, free: 5.633 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.386/1.386, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.676/2.676, allocations: 461.9 MB / 0.7354 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001453/0.001453, allocations: 64.05 kB / 1.055 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7537/0.7552, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 0.2983/1.054, allocations: 274.6 MB / 1.477 GB, free: 10.01 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.02506/1.079, allocations: 17.37 MB / 1.494 GB, free: 8.594 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002515/1.081, allocations: 67.62 kB / 1.494 GB, free: 8.527 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.003511/1.085, allocations: 1.165 MB / 1.495 GB, free: 7.355 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.008948/1.094, allocations: 3.103 MB / 1.498 GB, free: 4.242 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.006102/1.1, allocations: 2.203 MB / 1.5 GB, free: 2.043 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.007343/1.107, allocations: 4.85 MB / 1.505 GB, free: 13.18 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003165/1.11, allocations: 1.752 MB / 1.506 GB, free: 11.4 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006519/1.117, allocations: 2.459 MB / 1.509 GB, free: 8.941 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003077/1.12, allocations: 1.546 MB / 1.51 GB, free: 7.406 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0006311/1.121, allocations: 192 kB / 1.511 GB, free: 7.219 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006118/1.127, allocations: 3.016 MB / 1.513 GB, free: 4.195 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.001104/1.128, allocations: 0.7246 MB / 1.514 GB, free: 3.469 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.002161/1.13, allocations: 1.116 MB / 1.515 GB, free: 2.348 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.006798/1.137, allocations: 3.833 MB / 1.519 GB, free: 14.5 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/1.137, allocations: 0 / 1.519 GB, free: 14.5 MB / 1.248 GB Notification: Performance of FrontEnd: time 2.094e-06/1.137, allocations: 0 / 1.519 GB, free: 14.5 MB / 1.248 GB Notification: Performance of Transformations before backend: time 0.0001223/1.137, allocations: 7.938 kB / 1.519 GB, free: 14.5 MB / 1.248 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.004992/1.142, allocations: 2.425 MB / 1.521 GB, free: 12 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/1.142, allocations: 8.031 kB / 1.521 GB, free: 12 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004693/1.147, allocations: 0.6455 MB / 1.522 GB, free: 11.35 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00266/1.15, allocations: 1.4 MB / 1.523 GB, free: 9.891 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.386e-05/1.15, allocations: 106.5 kB / 1.523 GB, free: 9.785 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003142/1.15, allocations: 136 kB / 1.524 GB, free: 9.652 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002863/1.153, allocations: 1.569 MB / 1.525 GB, free: 8.016 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.097e-05/1.153, allocations: 0 / 1.525 GB, free: 8.016 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001588/1.153, allocations: 59.94 kB / 1.525 GB, free: 7.957 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.529e-05/1.153, allocations: 46.44 kB / 1.525 GB, free: 7.91 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002181/1.155, allocations: 1.27 MB / 1.526 GB, free: 6.633 MB / 1.248 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.009326/1.165, allocations: 7.214 MB / 1.534 GB, free: 14.84 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001101/1.166, allocations: 0.6455 MB / 1.534 GB, free: 14.19 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005204/1.166, allocations: 370.1 kB / 1.535 GB, free: 13.83 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002029/1.167, allocations: 105.7 kB / 1.535 GB, free: 13.71 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.653e-05/1.167, allocations: 43.12 kB / 1.535 GB, free: 13.66 MB / 1.264 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006518/1.167, allocations: 107 kB / 1.535 GB, free: 13.55 MB / 1.264 GB Notification: Performance of pre-optimization done (n=67): time 3.656e-06/1.167, allocations: 0 / 1.535 GB, free: 13.55 MB / 1.264 GB Notification: Performance of matching and sorting (n=67): time 0.002018/1.169, allocations: 1.017 MB / 1.536 GB, free: 12.53 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.252e-05/1.169, allocations: 59.97 kB / 1.536 GB, free: 12.46 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001873/1.171, allocations: 1.343 MB / 1.537 GB, free: 11.11 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 0.000112/1.171, allocations: 45.7 kB / 1.537 GB, free: 11.05 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005905/1.172, allocations: 0.7698 MB / 1.538 GB, free: 10.28 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002616/1.172, allocations: 248.5 kB / 1.538 GB, free: 10.03 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003619/1.173, allocations: 202.4 kB / 1.538 GB, free: 9.828 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0001257/1.173, allocations: 345.9 kB / 1.539 GB, free: 9.484 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005617/1.173, allocations: 352.7 kB / 1.539 GB, free: 9.137 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007941/1.174, allocations: 0.6907 MB / 1.54 GB, free: 8.305 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001249/1.175, allocations: 0.9449 MB / 1.541 GB, free: 7.273 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.963e-06/1.175, allocations: 0 / 1.541 GB, free: 7.273 MB / 1.264 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001913/1.177, allocations: 1.16 MB / 1.542 GB, free: 6.102 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 2.036e-05/1.177, allocations: 8 kB / 1.542 GB, free: 6.094 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.505e-05/1.177, allocations: 8 kB / 1.542 GB, free: 6.086 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.307e-05/1.177, allocations: 12 kB / 1.542 GB, free: 6.074 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009017/1.178, allocations: 211.7 kB / 1.542 GB, free: 5.867 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.56e-05/1.178, allocations: 15.98 kB / 1.542 GB, free: 5.852 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001371/1.18, allocations: 44.27 kB / 1.542 GB, free: 5.809 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.012e-05/1.18, allocations: 47.92 kB / 1.542 GB, free: 5.762 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001125/1.181, allocations: 0.6815 MB / 1.543 GB, free: 5.078 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000776/1.182, allocations: 0.6751 MB / 1.543 GB, free: 4.266 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001252/1.183, allocations: 0.9566 MB / 1.544 GB, free: 3.219 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.729e-06/1.183, allocations: 3.938 kB / 1.544 GB, free: 3.215 MB / 1.264 GB Notification: Performance of matching and sorting (n=123) (initialization_lambda0): time 0.001903/1.185, allocations: 1.148 MB / 1.545 GB, free: 2.062 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/1.185, allocations: 8 kB / 1.545 GB, free: 2.055 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/1.185, allocations: 8 kB / 1.545 GB, free: 2.047 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/1.185, allocations: 12.78 kB / 1.545 GB, free: 2.035 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008899/1.186, allocations: 211.7 kB / 1.546 GB, free: 1.828 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.184e-05/1.186, allocations: 15.94 kB / 1.546 GB, free: 1.812 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001442/1.187, allocations: 64.2 kB / 1.546 GB, free: 1.754 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.674e-05/1.187, allocations: 36 kB / 1.546 GB, free: 1.719 MB / 1.264 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.0003161/1.188, allocations: 245.5 kB / 1.546 GB, free: 1.473 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003713/1.188, allocations: 150.1 kB / 1.546 GB, free: 1.324 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001589/1.19, allocations: 0.828 MB / 1.547 GB, free: 484 kB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.764e-06/1.19, allocations: 4 kB / 1.547 GB, free: 480 kB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/1.19, allocations: 0 / 1.547 GB, free: 480 kB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001004/1.191, allocations: 0.7902 MB / 1.548 GB, free: 15.63 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00377/1.195, allocations: 2.306 MB / 1.55 GB, free: 13.24 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/1.195, allocations: 0 / 1.55 GB, free: 13.24 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008814/1.195, allocations: 163.8 kB / 1.55 GB, free: 13.08 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.251e-05/1.196, allocations: 4 kB / 1.55 GB, free: 13.08 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.594e-05/1.196, allocations: 28.11 kB / 1.55 GB, free: 13.05 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.786e-06/1.196, allocations: 8 kB / 1.55 GB, free: 13.04 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.039e-06/1.196, allocations: 7.922 kB / 1.55 GB, free: 13.04 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001958/1.198, allocations: 1.249 MB / 1.551 GB, free: 11.75 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007192/1.198, allocations: 323.1 kB / 1.552 GB, free: 11.41 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000309/1.199, allocations: 23.94 kB / 1.552 GB, free: 11.39 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001093/1.2, allocations: 38.53 kB / 1.552 GB, free: 11.36 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.968e-05/1.2, allocations: 44.45 kB / 1.552 GB, free: 11.31 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.083e-05/1.2, allocations: 39.97 kB / 1.552 GB, free: 11.27 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.001556/1.201, allocations: 0.9044 MB / 1.553 GB, free: 10.37 MB / 1.279 GB Notification: Performance of sort global known variables: time 2.3e-07/1.201, allocations: 0 / 1.553 GB, free: 10.37 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.00235/1.204, allocations: 0.8379 MB / 1.554 GB, free: 9.531 MB / 1.279 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.00068/1.205, allocations: 256 kB / 1.554 GB, free: 9.277 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.00228/1.207, allocations: 1.334 MB / 1.555 GB, free: 7.953 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 7.404e-06/1.207, allocations: 1 kB / 1.555 GB, free: 7.953 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.0005129/1.207, allocations: 355 kB / 1.555 GB, free: 7.602 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004388/1.212, allocations: 0.8388 MB / 1.556 GB, free: 6.781 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005577/1.217, allocations: 2.96 MB / 1.559 GB, free: 3.762 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001214/1.219, allocations: 1.348 MB / 1.56 GB, free: 2.383 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005676/1.219, allocations: 119.4 kB / 1.561 GB, free: 2.27 MB / 1.279 GB Notification: Performance of SimCode: time 1.212e-06/1.219, allocations: 3.938 kB / 1.561 GB, free: 2.266 MB / 1.279 GB Notification: Performance of Templates: time 0.6418/1.861, allocations: 25.25 MB / 1.585 GB, free: 342.3 MB / 1.279 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