Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0019/0.0019, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.002453/0.002453, allocations: 215.5 kB / 22.99 MB, free: 4.984 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.465/1.465, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.231/3.231, allocations: 0.49 GB / 0.7959 GB, free: 35.47 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.002021/0.002021, allocations: 66.8 kB / 1.155 GB, free: 25.15 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3491/0.3511, allocations: 176.1 MB / 1.327 GB, free: 1.012 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.08306/0.4342, allocations: 71.13 MB / 1.397 GB, free: 9.633 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.03102/0.4652, allocations: 17.58 MB / 1.414 GB, free: 8.012 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004101/0.4693, allocations: 150.7 kB / 1.414 GB, free: 7.863 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.004202/0.4735, allocations: 1.246 MB / 1.415 GB, free: 6.609 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.01226/0.4858, allocations: 3.883 MB / 1.419 GB, free: 2.711 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.006375/0.4921, allocations: 2.177 MB / 1.421 GB, free: 0.5508 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.01116/0.5033, allocations: 6.857 MB / 1.428 GB, free: 9.68 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003423/0.5067, allocations: 1.599 MB / 1.429 GB, free: 8.031 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00829/0.515, allocations: 2.744 MB / 1.432 GB, free: 5.289 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004592/0.5196, allocations: 1.848 MB / 1.434 GB, free: 3.434 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0007764/0.5204, allocations: 200 kB / 1.434 GB, free: 3.238 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005314/0.5257, allocations: 1.345 MB / 1.435 GB, free: 1.891 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.001161/0.5268, allocations: 0.564 MB / 1.436 GB, free: 1.324 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.002433/0.5293, allocations: 1.011 MB / 1.437 GB, free: 316 kB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.008631/0.5379, allocations: 3.796 MB / 1.44 GB, free: 12.5 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.5379, allocations: 0 / 1.44 GB, free: 12.5 MB / 1.139 GB Notification: Performance of FrontEnd: time 2.224e-06/0.5379, allocations: 0 / 1.44 GB, free: 12.5 MB / 1.139 GB Notification: Performance of Transformations before backend: time 8.696e-05/0.538, allocations: 0 / 1.44 GB, free: 12.5 MB / 1.139 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.005779/0.5438, allocations: 2.723 MB / 1.443 GB, free: 9.727 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 5.906e-05/0.5438, allocations: 12.03 kB / 1.443 GB, free: 9.715 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008886/0.5447, allocations: 279.3 kB / 1.443 GB, free: 9.441 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004274/0.549, allocations: 1.976 MB / 1.445 GB, free: 7.422 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.876e-05/0.5491, allocations: 102.7 kB / 1.445 GB, free: 7.32 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002276/0.5493, allocations: 140 kB / 1.446 GB, free: 7.184 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003131/0.5525, allocations: 1.829 MB / 1.447 GB, free: 5.203 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.18e-05/0.5525, allocations: 11.88 kB / 1.447 GB, free: 5.191 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001382/0.5526, allocations: 56 kB / 1.447 GB, free: 5.137 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.254e-05/0.5527, allocations: 39.98 kB / 1.447 GB, free: 5.098 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002298/0.555, allocations: 1.122 MB / 1.449 GB, free: 3.969 MB / 1.139 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.008516/0.5635, allocations: 5.1 MB / 1.454 GB, free: 14.72 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001019/0.5645, allocations: 445 kB / 1.454 GB, free: 14.28 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006548/0.5652, allocations: 306.2 kB / 1.454 GB, free: 13.98 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004212/0.5656, allocations: 112.4 kB / 1.454 GB, free: 13.87 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.365e-05/0.5657, allocations: 43.05 kB / 1.454 GB, free: 13.82 MB / 1.154 GB Notification: Performance of pre-optimization done (n=59): time 2.725e-06/0.5657, allocations: 0 / 1.454 GB, free: 13.82 MB / 1.154 GB Notification: Performance of matching and sorting (n=59): time 0.002371/0.568, allocations: 0.9526 MB / 1.455 GB, free: 12.86 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.972e-05/0.5681, allocations: 55.91 kB / 1.455 GB, free: 12.79 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002187/0.5703, allocations: 1.551 MB / 1.457 GB, free: 11.24 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0001115/0.5704, allocations: 37.7 kB / 1.457 GB, free: 11.2 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008602/0.5712, allocations: 0.9708 MB / 1.458 GB, free: 10.22 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002631/0.5715, allocations: 226.1 kB / 1.458 GB, free: 9.996 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003419/0.5718, allocations: 226.8 kB / 1.458 GB, free: 9.77 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001798/0.572, allocations: 345.9 kB / 1.459 GB, free: 9.426 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007426/0.5728, allocations: 330.4 kB / 1.459 GB, free: 9.102 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001247/0.574, allocations: 0.9699 MB / 1.46 GB, free: 7.91 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001783/0.5758, allocations: 1.013 MB / 1.461 GB, free: 6.762 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.817e-06/0.5758, allocations: 4 kB / 1.461 GB, free: 6.758 MB / 1.154 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002691/0.5785, allocations: 1.204 MB / 1.462 GB, free: 5.543 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 3.179e-05/0.5785, allocations: 12 kB / 1.462 GB, free: 5.531 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.801e-05/0.5785, allocations: 8 kB / 1.462 GB, free: 5.523 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.204e-05/0.5786, allocations: 16 kB / 1.462 GB, free: 5.508 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001064/0.5796, allocations: 287.5 kB / 1.462 GB, free: 5.227 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.556e-05/0.5797, allocations: 19.94 kB / 1.462 GB, free: 5.207 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001311/0.581, allocations: 143.2 kB / 1.463 GB, free: 5.066 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.097e-05/0.5811, allocations: 51.98 kB / 1.463 GB, free: 5.016 MB / 1.154 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.001033/0.5821, allocations: 445.3 kB / 1.463 GB, free: 4.57 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004201/0.5825, allocations: 174.9 kB / 1.463 GB, free: 4.398 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001909/0.5844, allocations: 0.8571 MB / 1.464 GB, free: 3.535 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.99e-05/0.5844, allocations: 8 kB / 1.464 GB, free: 3.527 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.603e-06/0.5845, allocations: 0 / 1.464 GB, free: 3.527 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001443/0.5859, allocations: 0.8095 MB / 1.465 GB, free: 2.668 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004246/0.5901, allocations: 2.072 MB / 1.467 GB, free: 0.5352 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/0.5901, allocations: 0 / 1.467 GB, free: 0.5352 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008439/0.591, allocations: 188 kB / 1.467 GB, free: 360 kB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.091e-05/0.591, allocations: 7.938 kB / 1.467 GB, free: 352 kB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.991e-05/0.5911, allocations: 23.92 kB / 1.467 GB, free: 328 kB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.274e-06/0.5911, allocations: 4 kB / 1.467 GB, free: 324 kB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.412e-06/0.5911, allocations: 7.938 kB / 1.467 GB, free: 316 kB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002656/0.5937, allocations: 1.325 MB / 1.468 GB, free: 14.94 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007175/0.5944, allocations: 262.7 kB / 1.469 GB, free: 14.68 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001904/0.5946, allocations: 19.94 kB / 1.469 GB, free: 14.66 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008614/0.5955, allocations: 55.94 kB / 1.469 GB, free: 14.61 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001351/0.5956, allocations: 52.34 kB / 1.469 GB, free: 14.55 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.018e-05/0.5957, allocations: 39.97 kB / 1.469 GB, free: 14.52 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.001603/0.5973, allocations: 1.021 MB / 1.47 GB, free: 13.5 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5973, allocations: 0 / 1.47 GB, free: 13.5 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.002029/0.5993, allocations: 0.6935 MB / 1.47 GB, free: 12.81 MB / 1.17 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.00113/0.6005, allocations: 0.5901 MB / 1.471 GB, free: 12.21 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.001833/0.6023, allocations: 0.7814 MB / 1.472 GB, free: 11.45 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.6023, allocations: 192 / 1.472 GB, free: 11.45 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.000726/0.603, allocations: 342.6 kB / 1.472 GB, free: 11.11 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003956/0.607, allocations: 0.9146 MB / 1.473 GB, free: 10.21 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005389/0.6124, allocations: 3.082 MB / 1.476 GB, free: 7.07 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009503/0.6133, allocations: 0.8346 MB / 1.477 GB, free: 6.199 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.001365/0.6147, allocations: 333.6 kB / 1.477 GB, free: 5.875 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003357/0.615, allocations: 139.3 kB / 1.477 GB, free: 5.738 MB / 1.17 GB Notification: Performance of SimCode: time 9.71e-07/0.615, allocations: 4 kB / 1.477 GB, free: 5.734 MB / 1.17 GB Notification: Performance of Templates: time 0.07179/0.6868, allocations: 39.84 MB / 1.516 GB, free: 14.67 MB / 1.217 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo Buildings_12_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/Buildings_12_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & ./Buildings_12_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 10.442368968011579]