Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001711/0.001711, allocations: 110.2 kB / 19.69 MB, free: 2.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002051/0.002051, allocations: 216.1 kB / 23.01 MB, free: 4.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.424/1.424, allocations: 230.6 MB / 256.8 MB, free: 8.035 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.73/2.73, allocations: 476.7 MB / 0.7714 GB, free: 4.27 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|eigPor.Q1_flow|eigPor.Q2_flow|eigPor.Q3_flow|eigPor.Q4_flow|eigPor.vol1.T|eigPor.vol2.T|eigPor.vol3.T|eigPor.vol4.T|sou1.T|sou2.T_in|sou3.T|sou4.T_in|sin.T",fileNamePrefix="Buildings_11_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") translateModel(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|eigPor.Q1_flow|eigPor.Q2_flow|eigPor.Q3_flow|eigPor.Q4_flow|eigPor.vol1.T|eigPor.vol2.T|eigPor.vol3.T|eigPor.vol4.T|sou1.T|sou2.T_in|sou3.T|sou4.T_in|sin.T",fileNamePrefix="Buildings_11_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002016/0.002016, allocations: 67.45 kB / 1.119 GB, free: 40.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3035/0.3055, allocations: 170 MB / 1.285 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.08459/0.3901, allocations: 78.79 MB / 1.362 GB, free: 12.09 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.02847/0.4186, allocations: 18.97 MB / 1.38 GB, free: 9.074 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003442/0.422, allocations: 150.7 kB / 1.38 GB, free: 8.926 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.003485/0.4255, allocations: 1.304 MB / 1.382 GB, free: 7.613 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0101/0.4356, allocations: 3.899 MB / 1.385 GB, free: 3.699 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.005805/0.4414, allocations: 2.188 MB / 1.387 GB, free: 1.527 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.01086/0.4523, allocations: 6.847 MB / 1.394 GB, free: 10.66 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003212/0.4555, allocations: 1.591 MB / 1.396 GB, free: 9.023 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005805/0.4613, allocations: 2.418 MB / 1.398 GB, free: 6.609 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003595/0.4649, allocations: 1.859 MB / 1.4 GB, free: 4.742 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0005256/0.4654, allocations: 196 kB / 1.4 GB, free: 4.551 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004616/0.47, allocations: 1.774 MB / 1.402 GB, free: 2.773 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0006982/0.4707, allocations: 0.5602 MB / 1.402 GB, free: 2.211 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.002/0.4727, allocations: 1.26 MB / 1.404 GB, free: 0.9453 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.006897/0.4796, allocations: 3.838 MB / 1.407 GB, free: 13.09 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.4796, allocations: 3.984 kB / 1.407 GB, free: 13.09 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.442e-06/0.4796, allocations: 0 / 1.407 GB, free: 13.09 MB / 1.107 GB Notification: Performance of Transformations before backend: time 4.661e-05/0.4797, allocations: 0 / 1.407 GB, free: 13.09 MB / 1.107 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.004715/0.4844, allocations: 2.711 MB / 1.41 GB, free: 10.33 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.4844, allocations: 12.03 kB / 1.41 GB, free: 10.32 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007226/0.4852, allocations: 287.3 kB / 1.41 GB, free: 10.04 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003464/0.4886, allocations: 1.953 MB / 1.412 GB, free: 8.039 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.714e-05/0.4887, allocations: 110.6 kB / 1.412 GB, free: 7.93 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002001/0.4889, allocations: 148 kB / 1.412 GB, free: 7.785 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002617/0.4915, allocations: 1.52 MB / 1.414 GB, free: 6.188 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.954e-05/0.4916, allocations: 7.922 kB / 1.414 GB, free: 6.18 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001223/0.4917, allocations: 60 kB / 1.414 GB, free: 6.121 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.473e-05/0.4917, allocations: 36 kB / 1.414 GB, free: 6.086 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002187/0.4939, allocations: 1.126 MB / 1.415 GB, free: 4.953 MB / 1.107 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.008882/0.5028, allocations: 7.514 MB / 1.422 GB, free: 12.87 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009675/0.5038, allocations: 452.3 kB / 1.423 GB, free: 12.41 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006115/0.5044, allocations: 310.2 kB / 1.423 GB, free: 12.11 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003774/0.5048, allocations: 104.4 kB / 1.423 GB, free: 12.01 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.266e-05/0.5048, allocations: 39.06 kB / 1.423 GB, free: 11.96 MB / 1.123 GB Notification: Performance of pre-optimization done (n=59): time 2.475e-06/0.5048, allocations: 0 / 1.423 GB, free: 11.96 MB / 1.123 GB Notification: Performance of matching and sorting (n=59): time 0.002276/0.5071, allocations: 0.9761 MB / 1.424 GB, free: 10.98 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.423e-05/0.5071, allocations: 55.91 kB / 1.424 GB, free: 10.91 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002385/0.5095, allocations: 1.795 MB / 1.426 GB, free: 9.078 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 8.955e-05/0.5096, allocations: 41.7 kB / 1.426 GB, free: 9.031 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008579/0.5105, allocations: 0.9529 MB / 1.427 GB, free: 8.07 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002436/0.5107, allocations: 226.1 kB / 1.427 GB, free: 7.848 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002934/0.511, allocations: 230.8 kB / 1.427 GB, free: 7.617 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001791/0.5112, allocations: 349.9 kB / 1.428 GB, free: 7.27 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006716/0.5118, allocations: 330.4 kB / 1.428 GB, free: 6.945 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009946/0.5128, allocations: 0.6899 MB / 1.429 GB, free: 6.105 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001668/0.5145, allocations: 1.017 MB / 1.43 GB, free: 4.953 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.096e-06/0.5145, allocations: 8 kB / 1.43 GB, free: 4.945 MB / 1.123 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002447/0.517, allocations: 1.222 MB / 1.431 GB, free: 3.715 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.419e-05/0.517, allocations: 8 kB / 1.431 GB, free: 3.707 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.831e-05/0.517, allocations: 12 kB / 1.431 GB, free: 3.695 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.953e-05/0.517, allocations: 16 kB / 1.431 GB, free: 3.68 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009937/0.518, allocations: 300.2 kB / 1.431 GB, free: 3.387 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.827e-05/0.5181, allocations: 19.94 kB / 1.431 GB, free: 3.367 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00121/0.5193, allocations: 162.9 kB / 1.431 GB, free: 3.207 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.146e-05/0.5193, allocations: 51.98 kB / 1.432 GB, free: 3.156 MB / 1.123 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (135): * Single equations (assignments): 135 * 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 prepare postOptimizeDAE: time 0.0007629/0.5201, allocations: 445.3 kB / 1.432 GB, free: 2.711 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003147/0.5204, allocations: 198.7 kB / 1.432 GB, free: 2.516 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00175/0.5222, allocations: 0.8767 MB / 1.433 GB, free: 1.633 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-05/0.5222, allocations: 8 kB / 1.433 GB, free: 1.625 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.5222, allocations: 0 / 1.433 GB, free: 1.625 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001356/0.5235, allocations: 0.8057 MB / 1.434 GB, free: 0.7695 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004169/0.5277, allocations: 2.429 MB / 1.436 GB, free: 14.25 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.388e-06/0.5277, allocations: 8.188 kB / 1.436 GB, free: 14.25 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007613/0.5285, allocations: 187.7 kB / 1.436 GB, free: 14.06 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.608e-06/0.5285, allocations: 4 kB / 1.436 GB, free: 14.06 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.045e-05/0.5285, allocations: 16 kB / 1.436 GB, free: 14.04 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.097e-06/0.5285, allocations: 7.984 kB / 1.436 GB, free: 14.04 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.5285, allocations: 3.938 kB / 1.436 GB, free: 14.03 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002441/0.531, allocations: 1.359 MB / 1.438 GB, free: 12.63 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007625/0.5318, allocations: 302.4 kB / 1.438 GB, free: 12.34 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002103/0.532, allocations: 19.98 kB / 1.438 GB, free: 12.32 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008863/0.5328, allocations: 63.91 kB / 1.438 GB, free: 12.25 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001238/0.533, allocations: 56.34 kB / 1.438 GB, free: 12.2 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.797e-05/0.533, allocations: 36.06 kB / 1.438 GB, free: 12.16 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.001753/0.5348, allocations: 1.243 MB / 1.439 GB, free: 10.9 MB / 1.139 GB Notification: Performance of sort global known variables: time 9e-08/0.5348, allocations: 0 / 1.439 GB, free: 10.9 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.001715/0.5365, allocations: 0.6703 MB / 1.44 GB, free: 10.23 MB / 1.139 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (eigPor.vol1.dynBal.U,eigPor.vol2.dynBal.U,eigPor.vol3.dynBal.U,eigPor.vol4.dynBal.U) * 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 (64): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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.001001/0.5375, allocations: 0.577 MB / 1.441 GB, free: 9.648 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.00171/0.5392, allocations: 0.7884 MB / 1.441 GB, free: 8.863 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 6.072e-06/0.5392, allocations: 4 kB / 1.441 GB, free: 8.859 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0007083/0.5399, allocations: 336 kB / 1.442 GB, free: 8.531 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005181/0.5451, allocations: 1.202 MB / 1.443 GB, free: 7.355 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005236/0.5503, allocations: 3.149 MB / 1.446 GB, free: 4.133 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001111/0.5515, allocations: 1.396 MB / 1.447 GB, free: 2.707 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005243/0.552, allocations: 155.3 kB / 1.447 GB, free: 2.555 MB / 1.139 GB Notification: Performance of SimCode: time 1.273e-06/0.552, allocations: 0 / 1.447 GB, free: 2.555 MB / 1.139 GB Notification: Performance of Templates: time 0.05159/0.6036, allocations: 35.19 MB / 1.482 GB, free: 15.66 MB / 1.186 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo Buildings_11_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/Buildings_11_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & ./Buildings_11_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.180952077003894]