Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001691/0.001691, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002103/0.002103, allocations: 213 kB / 22.24 MB, free: 4.855 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.515/1.515, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.444/3.444, allocations: 0.5107 GB / 0.8158 GB, free: 17.82 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002197/0.002197, allocations: 73.75 kB / 1.186 GB, free: 13.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3895/0.3917, allocations: 181.9 MB / 1.364 GB, free: 13.55 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.08141/0.4731, allocations: 71.14 MB / 1.433 GB, free: 6.16 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.02873/0.5018, allocations: 17.58 MB / 1.45 GB, free: 4.543 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006014/0.5078, allocations: 162.6 kB / 1.451 GB, free: 4.383 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.005634/0.5135, allocations: 1.242 MB / 1.452 GB, free: 3.133 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.01397/0.5274, allocations: 3.883 MB / 1.456 GB, free: 15.23 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.006192/0.5336, allocations: 2.134 MB / 1.458 GB, free: 13.12 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.011/0.5446, allocations: 6.799 MB / 1.464 GB, free: 6.301 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003372/0.548, allocations: 1.568 MB / 1.466 GB, free: 4.688 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007133/0.5551, allocations: 2.75 MB / 1.469 GB, free: 1.938 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003643/0.5588, allocations: 1.758 MB / 1.47 GB, free: 176 kB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0007624/0.5595, allocations: 200 kB / 1.47 GB, free: 15.97 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004594/0.5641, allocations: 1.329 MB / 1.472 GB, free: 14.64 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.001066/0.5652, allocations: 0.5602 MB / 1.472 GB, free: 14.08 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.002599/0.5678, allocations: 1.019 MB / 1.473 GB, free: 13.06 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.009097/0.5769, allocations: 3.799 MB / 1.477 GB, free: 9.246 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.5769, allocations: 0 / 1.477 GB, free: 9.246 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.134e-06/0.5769, allocations: 0 / 1.477 GB, free: 9.246 MB / 1.17 GB Notification: Performance of Transformations before backend: time 0.0001262/0.577, allocations: 0 / 1.477 GB, free: 9.246 MB / 1.17 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.008044/0.5851, allocations: 2.723 MB / 1.48 GB, free: 6.473 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 5.139e-05/0.5851, allocations: 8.031 kB / 1.48 GB, free: 6.465 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001235/0.5863, allocations: 283.3 kB / 1.48 GB, free: 6.188 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004818/0.5912, allocations: 1.969 MB / 1.482 GB, free: 4.176 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001152/0.5913, allocations: 110.7 kB / 1.482 GB, free: 4.066 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003509/0.5916, allocations: 144 kB / 1.482 GB, free: 3.926 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003467/0.5951, allocations: 1.821 MB / 1.484 GB, free: 1.953 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.532e-05/0.5951, allocations: 0 / 1.484 GB, free: 1.953 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001554/0.5953, allocations: 64 kB / 1.484 GB, free: 1.891 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.225e-05/0.5954, allocations: 39.98 kB / 1.484 GB, free: 1.852 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002691/0.5981, allocations: 1.119 MB / 1.485 GB, free: 0.7266 MB / 1.17 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.00989/0.6079, allocations: 5.104 MB / 1.49 GB, free: 11.48 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001083/0.609, allocations: 441 kB / 1.491 GB, free: 11.04 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00066/0.6097, allocations: 314.2 kB / 1.491 GB, free: 10.73 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004116/0.6101, allocations: 108.4 kB / 1.491 GB, free: 10.62 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.714e-05/0.6101, allocations: 47 kB / 1.491 GB, free: 10.57 MB / 1.186 GB Notification: Performance of pre-optimization done (n=59): time 3.076e-06/0.6101, allocations: 0 / 1.491 GB, free: 10.57 MB / 1.186 GB Notification: Performance of matching and sorting (n=59): time 0.002476/0.6126, allocations: 0.941 MB / 1.492 GB, free: 9.621 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.184e-05/0.6127, allocations: 59.91 kB / 1.492 GB, free: 9.551 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002412/0.6151, allocations: 1.54 MB / 1.493 GB, free: 8.012 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 9.083e-05/0.6152, allocations: 49.69 kB / 1.493 GB, free: 7.957 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009148/0.6161, allocations: 0.9669 MB / 1.494 GB, free: 6.98 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002626/0.6164, allocations: 230.1 kB / 1.495 GB, free: 6.754 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003303/0.6167, allocations: 226.8 kB / 1.495 GB, free: 6.527 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001694/0.6169, allocations: 349.9 kB / 1.495 GB, free: 6.18 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007256/0.6176, allocations: 334.3 kB / 1.496 GB, free: 5.852 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001252/0.6188, allocations: 0.9621 MB / 1.496 GB, free: 4.664 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001876/0.6207, allocations: 1.02 MB / 1.497 GB, free: 3.512 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.346e-05/0.6207, allocations: 8 kB / 1.497 GB, free: 3.504 MB / 1.186 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002797/0.6235, allocations: 1.195 MB / 1.499 GB, free: 2.297 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 3.517e-05/0.6236, allocations: 11.98 kB / 1.499 GB, free: 2.285 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.516e-05/0.6236, allocations: 12 kB / 1.499 GB, free: 2.273 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.491e-05/0.6236, allocations: 16.72 kB / 1.499 GB, free: 2.258 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001087/0.6247, allocations: 287.6 kB / 1.499 GB, free: 1.977 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.257e-05/0.6247, allocations: 19.94 kB / 1.499 GB, free: 1.957 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001408/0.6262, allocations: 139.2 kB / 1.499 GB, free: 1.82 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001289/0.6263, allocations: 51.98 kB / 1.499 GB, free: 1.77 MB / 1.186 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.0009098/0.6272, allocations: 449.9 kB / 1.5 GB, free: 1.32 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000547/0.6277, allocations: 174.9 kB / 1.5 GB, free: 1.148 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002076/0.6298, allocations: 0.8601 MB / 1.501 GB, free: 288 kB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.517e-05/0.6298, allocations: 4 kB / 1.501 GB, free: 284 kB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.6298, allocations: 3.938 kB / 1.501 GB, free: 280 kB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001534/0.6314, allocations: 0.8057 MB / 1.501 GB, free: 15.42 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005252/0.6366, allocations: 2.08 MB / 1.503 GB, free: 13.28 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.154e-06/0.6366, allocations: 0 / 1.503 GB, free: 13.28 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008462/0.6375, allocations: 184 kB / 1.504 GB, free: 13.1 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.347e-05/0.6375, allocations: 7.938 kB / 1.504 GB, free: 13.09 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.961e-05/0.6375, allocations: 23.92 kB / 1.504 GB, free: 13.07 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.07e-05/0.6376, allocations: 7.938 kB / 1.504 GB, free: 13.06 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.6376, allocations: 0 / 1.504 GB, free: 13.06 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002948/0.6405, allocations: 1.333 MB / 1.505 GB, free: 11.69 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009373/0.6414, allocations: 258.7 kB / 1.505 GB, free: 11.43 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003679/0.6418, allocations: 15.94 kB / 1.505 GB, free: 11.42 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001103/0.6429, allocations: 63.91 kB / 1.505 GB, free: 11.36 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001649/0.6431, allocations: 48.42 kB / 1.505 GB, free: 11.31 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001114/0.6432, allocations: 39.97 kB / 1.505 GB, free: 11.27 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.002191/0.6454, allocations: 1.021 MB / 1.506 GB, free: 10.26 MB / 1.201 GB Notification: Performance of sort global known variables: time 1e-07/0.6454, allocations: 0 / 1.506 GB, free: 10.26 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.002657/0.648, allocations: 0.6974 MB / 1.507 GB, free: 9.559 MB / 1.201 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.001593/0.6496, allocations: 0.583 MB / 1.508 GB, free: 8.969 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.002044/0.6517, allocations: 0.7884 MB / 1.508 GB, free: 8.184 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 8.746e-06/0.6517, allocations: 4 kB / 1.508 GB, free: 8.18 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0008009/0.6525, allocations: 336 kB / 1.509 GB, free: 7.855 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004422/0.6569, allocations: 0.9076 MB / 1.51 GB, free: 6.969 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006517/0.6634, allocations: 3.082 MB / 1.513 GB, free: 3.82 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001274/0.6647, allocations: 0.8346 MB / 1.513 GB, free: 2.949 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.001414/0.6661, allocations: 332.4 kB / 1.514 GB, free: 2.625 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003734/0.6665, allocations: 131.4 kB / 1.514 GB, free: 2.496 MB / 1.201 GB Notification: Performance of SimCode: time 7.31e-07/0.6665, allocations: 0 / 1.514 GB, free: 2.496 MB / 1.201 GB Notification: Performance of Templates: time 0.07163/0.7381, allocations: 39.51 MB / 1.552 GB, free: 11.74 MB / 1.248 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & ./Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.973882315680385]