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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.006451/0.006452, allocations: 97.38 kB / 15.73 MB, free: 6.066 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.001536/0.001536, allocations: 195.5 kB / 16.68 MB, free: 5.973 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.362/1.362, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.807/2.807, allocations: 472.6 MB / 0.7452 GB, free: 0.5273 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001421/0.00142, allocations: 67.84 kB / 1.069 GB, free: 9.57 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8456/0.8471, allocations: 159.9 MB / 1.226 GB, free: 13.51 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 0.2806/1.128, allocations: 274.6 MB / 1.494 GB, free: 9.871 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.02379/1.152, allocations: 17.37 MB / 1.511 GB, free: 8.453 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00303/1.155, allocations: 71.62 kB / 1.511 GB, free: 8.383 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.003473/1.158, allocations: 1.161 MB / 1.512 GB, free: 7.215 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.009533/1.168, allocations: 3.106 MB / 1.515 GB, free: 4.098 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.006077/1.174, allocations: 2.206 MB / 1.517 GB, free: 1.898 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.007053/1.181, allocations: 4.846 MB / 1.522 GB, free: 13.04 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002642/1.184, allocations: 1.767 MB / 1.524 GB, free: 11.23 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006458/1.19, allocations: 2.408 MB / 1.526 GB, free: 8.828 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003641/1.194, allocations: 1.528 MB / 1.527 GB, free: 7.305 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.0007701/1.195, allocations: 192 kB / 1.528 GB, free: 7.117 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007058/1.202, allocations: 3.02 MB / 1.531 GB, free: 4.09 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.001374/1.203, allocations: 0.7246 MB / 1.531 GB, free: 3.363 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.001927/1.205, allocations: 1.12 MB / 1.532 GB, free: 2.238 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.00686/1.212, allocations: 3.843 MB / 1.536 GB, free: 14.38 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/1.212, allocations: 0 / 1.536 GB, free: 14.38 MB / 1.264 GB Notification: Performance of FrontEnd: time 1.863e-06/1.212, allocations: 0 / 1.536 GB, free: 14.38 MB / 1.264 GB Notification: Performance of Transformations before backend: time 3.511e-05/1.212, allocations: 0 / 1.536 GB, free: 14.38 MB / 1.264 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.004062/1.216, allocations: 2.487 MB / 1.539 GB, free: 11.82 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/1.216, allocations: 12.03 kB / 1.539 GB, free: 11.81 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00439/1.22, allocations: 0.6544 MB / 1.539 GB, free: 11.16 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002511/1.223, allocations: 1.413 MB / 1.541 GB, free: 9.688 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.649e-05/1.223, allocations: 106.5 kB / 1.541 GB, free: 9.582 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002423/1.223, allocations: 144 kB / 1.541 GB, free: 9.441 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002498/1.226, allocations: 1.569 MB / 1.542 GB, free: 7.805 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.57e-05/1.226, allocations: 3.938 kB / 1.542 GB, free: 7.801 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001278/1.226, allocations: 59.92 kB / 1.542 GB, free: 7.742 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.146e-05/1.226, allocations: 50.44 kB / 1.542 GB, free: 7.691 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002112/1.228, allocations: 1.263 MB / 1.544 GB, free: 6.422 MB / 1.264 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.009029/1.237, allocations: 7.228 MB / 1.551 GB, free: 14.63 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001164/1.238, allocations: 0.6536 MB / 1.551 GB, free: 13.97 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005497/1.239, allocations: 367.6 kB / 1.552 GB, free: 13.61 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002075/1.239, allocations: 109.6 kB / 1.552 GB, free: 13.48 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.731e-05/1.239, allocations: 43.12 kB / 1.552 GB, free: 13.43 MB / 1.279 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005765/1.24, allocations: 99.39 kB / 1.552 GB, free: 13.33 MB / 1.279 GB Notification: Performance of pre-optimization done (n=67): time 3.707e-06/1.24, allocations: 0 / 1.552 GB, free: 13.33 MB / 1.279 GB Notification: Performance of matching and sorting (n=67): time 0.001821/1.242, allocations: 1.021 MB / 1.553 GB, free: 12.31 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.759e-05/1.242, allocations: 59.97 kB / 1.553 GB, free: 12.24 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001629/1.243, allocations: 1.347 MB / 1.554 GB, free: 10.88 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 6.816e-05/1.243, allocations: 45.7 kB / 1.554 GB, free: 10.83 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005829/1.244, allocations: 0.783 MB / 1.555 GB, free: 10.04 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002193/1.244, allocations: 265.9 kB / 1.555 GB, free: 9.781 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003162/1.245, allocations: 206.4 kB / 1.556 GB, free: 9.574 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0001432/1.245, allocations: 345.9 kB / 1.556 GB, free: 9.23 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005774/1.245, allocations: 352.7 kB / 1.556 GB, free: 8.883 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008252/1.246, allocations: 0.683 MB / 1.557 GB, free: 8.062 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001286/1.247, allocations: 0.9489 MB / 1.558 GB, free: 7.023 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/1.247, allocations: 0 / 1.558 GB, free: 7.023 MB / 1.279 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001759/1.249, allocations: 1.161 MB / 1.559 GB, free: 5.855 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 2.176e-05/1.249, allocations: 10 kB / 1.559 GB, free: 5.848 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.309e-05/1.249, allocations: 8 kB / 1.559 GB, free: 5.84 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.239e-05/1.249, allocations: 15.94 kB / 1.559 GB, free: 5.824 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008671/1.25, allocations: 207.7 kB / 1.559 GB, free: 5.621 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.921e-05/1.25, allocations: 23.86 kB / 1.559 GB, free: 5.598 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001193/1.251, allocations: 41.48 kB / 1.559 GB, free: 5.559 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.232e-05/1.251, allocations: 43.98 kB / 1.559 GB, free: 5.516 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00106/1.252, allocations: 0.6815 MB / 1.56 GB, free: 4.828 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007995/1.253, allocations: 0.679 MB / 1.561 GB, free: 4.012 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001259/1.255, allocations: 0.9526 MB / 1.562 GB, free: 2.965 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.326e-06/1.255, allocations: 8 kB / 1.562 GB, free: 2.957 MB / 1.279 GB Notification: Performance of matching and sorting (n=123) (initialization_lambda0): time 0.001776/1.256, allocations: 1.16 MB / 1.563 GB, free: 1.793 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/1.256, allocations: 8 kB / 1.563 GB, free: 1.785 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/1.256, allocations: 4 kB / 1.563 GB, free: 1.781 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/1.256, allocations: 12 kB / 1.563 GB, free: 1.77 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008264/1.257, allocations: 207.7 kB / 1.563 GB, free: 1.566 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.542e-05/1.257, allocations: 15.94 kB / 1.563 GB, free: 1.551 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001236/1.259, allocations: 62.5 kB / 1.563 GB, free: 1.492 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.312e-05/1.259, allocations: 40 kB / 1.563 GB, free: 1.453 MB / 1.279 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.0003527/1.259, allocations: 243.9 kB / 1.563 GB, free: 1.207 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002708/1.259, allocations: 163 kB / 1.563 GB, free: 1.047 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001576/1.261, allocations: 0.8241 MB / 1.564 GB, free: 208 kB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.658e-06/1.261, allocations: 8 kB / 1.564 GB, free: 200 kB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/1.261, allocations: 0 / 1.564 GB, free: 200 kB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.7025/1.963, allocations: 0.7919 MB / 1.565 GB, free: 337.1 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004821/1.968, allocations: 2.302 MB / 1.567 GB, free: 336.1 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.538e-06/1.968, allocations: 1.656 kB / 1.567 GB, free: 336.1 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001032/1.969, allocations: 162.6 kB / 1.567 GB, free: 336.1 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.838e-05/1.969, allocations: 7.984 kB / 1.567 GB, free: 336.1 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.695e-05/1.969, allocations: 22.92 kB / 1.567 GB, free: 336.1 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.85e-05/1.969, allocations: 5.031 kB / 1.567 GB, free: 336.1 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.524e-06/1.969, allocations: 2.281 kB / 1.567 GB, free: 336.1 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002564/1.972, allocations: 1.261 MB / 1.569 GB, free: 335.5 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005349/1.973, allocations: 334.9 kB / 1.569 GB, free: 335.3 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000171/1.973, allocations: 15.67 kB / 1.569 GB, free: 335.3 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008419/1.974, allocations: 35.39 kB / 1.569 GB, free: 335.3 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001043/1.974, allocations: 48.33 kB / 1.569 GB, free: 335.3 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.29e-05/1.974, allocations: 34.38 kB / 1.569 GB, free: 335.3 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.001365/1.975, allocations: 0.906 MB / 1.57 GB, free: 335 MB / 1.279 GB Notification: Performance of sort global known variables: time 1.2e-07/1.975, allocations: 0 / 1.57 GB, free: 335 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.001956/1.977, allocations: 0.851 MB / 1.571 GB, free: 334.9 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.0005275/1.978, allocations: 256 kB / 1.571 GB, free: 334.8 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.002034/1.98, allocations: 1.335 MB / 1.572 GB, free: 334.3 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 5.521e-06/1.98, allocations: 2.344 kB / 1.572 GB, free: 334.3 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.000489/1.98, allocations: 349.9 kB / 1.573 GB, free: 334.2 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003352/1.984, allocations: 0.8393 MB / 1.574 GB, free: 334 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003988/1.988, allocations: 2.939 MB / 1.576 GB, free: 332.6 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008725/1.988, allocations: 1.347 MB / 1.578 GB, free: 331.8 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.001457/1.99, allocations: 416.8 kB / 1.578 GB, free: 331.8 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002956/1.99, allocations: 115.6 kB / 1.578 GB, free: 331.8 MB / 1.279 GB Notification: Performance of SimCode: time 7.22e-07/1.99, allocations: 0 / 1.578 GB, free: 331.8 MB / 1.279 GB Notification: Performance of Templates: time 0.03718/2.027, allocations: 29.28 MB / 1.607 GB, free: 311.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches