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.001467/0.001467, allocations: 102.1 kB / 19.7 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.001645/0.001645, allocations: 219 kB / 23.01 MB, free: 4.609 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.322/1.322, allocations: 230.6 MB / 256.8 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 179] 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 2.913/2.913, allocations: 0.505 GB / 0.8108 GB, free: 21.99 MB / 0.6231 GB " [Timeout remaining time 177] 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.001927/0.001927, allocations: 67.41 kB / 1.178 GB, free: 16.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2852/0.2871, allocations: 180.2 MB / 1.354 GB, free: 7.875 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.07704/0.3641, allocations: 78.92 MB / 1.431 GB, free: 8.676 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.02504/0.3892, allocations: 18.98 MB / 1.45 GB, free: 5.652 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002476/0.3916, allocations: 154.7 kB / 1.45 GB, free: 5.5 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.002717/0.3944, allocations: 1.304 MB / 1.451 GB, free: 4.188 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.008136/0.4025, allocations: 3.902 MB / 1.455 GB, free: 276 kB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.004619/0.4071, allocations: 2.197 MB / 1.457 GB, free: 14.09 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.007933/0.415, allocations: 6.857 MB / 1.464 GB, free: 7.215 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002066/0.4171, allocations: 1.595 MB / 1.465 GB, free: 5.57 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00501/0.4221, allocations: 2.738 MB / 1.468 GB, free: 2.836 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00227/0.4244, allocations: 1.836 MB / 1.47 GB, free: 0.9922 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0002647/0.4247, allocations: 200 kB / 1.47 GB, free: 0.7969 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00337/0.428, allocations: 1.758 MB / 1.472 GB, free: 15.04 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.000517/0.4285, allocations: 0.5679 MB / 1.472 GB, free: 14.46 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0012/0.4297, allocations: 1.252 MB / 1.473 GB, free: 13.21 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.004537/0.4343, allocations: 3.858 MB / 1.477 GB, free: 9.336 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.4343, allocations: 3.938 kB / 1.477 GB, free: 9.332 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.272e-06/0.4343, allocations: 0 / 1.477 GB, free: 9.332 MB / 1.17 GB Notification: Performance of Transformations before backend: time 2.292e-05/0.4343, allocations: 3.984 kB / 1.477 GB, free: 9.328 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.004039/0.4383, allocations: 2.715 MB / 1.48 GB, free: 6.562 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.159e-05/0.4384, allocations: 8.031 kB / 1.48 GB, free: 6.555 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000614/0.439, allocations: 283.3 kB / 1.48 GB, free: 6.277 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003123/0.4421, allocations: 1.976 MB / 1.482 GB, free: 4.258 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.5e-05/0.4422, allocations: 110.7 kB / 1.482 GB, free: 4.148 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000184/0.4424, allocations: 144 kB / 1.482 GB, free: 4.008 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002399/0.4448, allocations: 1.516 MB / 1.484 GB, free: 2.414 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.542e-05/0.4448, allocations: 11.88 kB / 1.484 GB, free: 2.402 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000112/0.4449, allocations: 56 kB / 1.484 GB, free: 2.348 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.299e-05/0.445, allocations: 40 kB / 1.484 GB, free: 2.309 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002113/0.4471, allocations: 1.126 MB / 1.485 GB, free: 1.176 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.007995/0.4551, allocations: 7.846 MB / 1.493 GB, free: 8.68 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009001/0.456, allocations: 441 kB / 1.493 GB, free: 8.242 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005999/0.4566, allocations: 306.2 kB / 1.493 GB, free: 7.938 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003467/0.4569, allocations: 112.4 kB / 1.494 GB, free: 7.828 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.63e-05/0.457, allocations: 43.06 kB / 1.494 GB, free: 7.777 MB / 1.186 GB Notification: Performance of pre-optimization done (n=59): time 1.814e-06/0.457, allocations: 0 / 1.494 GB, free: 7.777 MB / 1.186 GB Notification: Performance of matching and sorting (n=59): time 0.001974/0.4589, allocations: 0.9722 MB / 1.495 GB, free: 6.801 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.102e-05/0.459, allocations: 59.91 kB / 1.495 GB, free: 6.73 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002097/0.4611, allocations: 1.803 MB / 1.496 GB, free: 4.891 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 6.224e-05/0.4611, allocations: 45.7 kB / 1.496 GB, free: 4.84 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007866/0.4619, allocations: 0.9451 MB / 1.497 GB, free: 3.887 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.000205/0.4621, allocations: 242 kB / 1.498 GB, free: 3.648 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002731/0.4624, allocations: 222.8 kB / 1.498 GB, free: 3.426 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001566/0.4626, allocations: 353.9 kB / 1.498 GB, free: 3.074 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006582/0.4632, allocations: 326.4 kB / 1.498 GB, free: 2.754 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009516/0.4642, allocations: 0.6977 MB / 1.499 GB, free: 1.906 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001547/0.4657, allocations: 1.005 MB / 1.5 GB, free: 0.7617 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.302e-06/0.4657, allocations: 4 kB / 1.5 GB, free: 0.7578 MB / 1.186 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002091/0.4678, allocations: 1.226 MB / 1.501 GB, free: 15.53 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.4678, allocations: 12 kB / 1.501 GB, free: 15.52 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.219e-05/0.4678, allocations: 8 kB / 1.501 GB, free: 15.51 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.708e-05/0.4679, allocations: 19.98 kB / 1.501 GB, free: 15.49 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009498/0.4688, allocations: 296 kB / 1.502 GB, free: 15.2 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.071e-05/0.4688, allocations: 19.94 kB / 1.502 GB, free: 15.18 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000959/0.4698, allocations: 166.9 kB / 1.502 GB, free: 15.02 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.141e-05/0.4699, allocations: 55.98 kB / 1.502 GB, free: 14.96 MB / 1.201 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.0005615/0.4704, allocations: 441.3 kB / 1.502 GB, free: 14.52 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002764/0.4707, allocations: 202.7 kB / 1.502 GB, free: 14.32 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00168/0.4724, allocations: 0.8855 MB / 1.503 GB, free: 13.43 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.364e-05/0.4724, allocations: 8 kB / 1.503 GB, free: 13.42 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.4724, allocations: 4 kB / 1.503 GB, free: 13.42 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001287/0.4737, allocations: 0.8057 MB / 1.504 GB, free: 12.56 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003699/0.4774, allocations: 2.422 MB / 1.506 GB, free: 10.05 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.072e-06/0.4774, allocations: 3.938 kB / 1.506 GB, free: 10.05 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007342/0.4782, allocations: 184 kB / 1.507 GB, free: 9.867 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.111e-06/0.4782, allocations: 4 kB / 1.507 GB, free: 9.863 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.247e-05/0.4782, allocations: 23.98 kB / 1.507 GB, free: 9.84 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-06/0.4782, allocations: 4 kB / 1.507 GB, free: 9.836 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.522e-06/0.4782, allocations: 7.938 kB / 1.507 GB, free: 9.828 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002224/0.4804, allocations: 1.363 MB / 1.508 GB, free: 8.43 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005624/0.481, allocations: 306.3 kB / 1.508 GB, free: 8.129 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001923/0.4812, allocations: 12 kB / 1.508 GB, free: 8.117 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008722/0.4821, allocations: 59.86 kB / 1.508 GB, free: 8.059 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.945e-05/0.4822, allocations: 56.41 kB / 1.508 GB, free: 8 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.837e-05/0.4822, allocations: 39.97 kB / 1.508 GB, free: 7.961 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.001555/0.4838, allocations: 1.248 MB / 1.51 GB, free: 6.695 MB / 1.201 GB Notification: Performance of sort global known variables: time 9e-08/0.4838, allocations: 0 / 1.51 GB, free: 6.695 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001451/0.4852, allocations: 0.6664 MB / 1.51 GB, free: 6.027 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.0008687/0.4861, allocations: 0.5966 MB / 1.511 GB, free: 5.426 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001537/0.4876, allocations: 0.7847 MB / 1.512 GB, free: 4.645 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.4876, allocations: 0 / 1.512 GB, free: 4.645 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0006599/0.4883, allocations: 335.9 kB / 1.512 GB, free: 4.312 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004321/0.4926, allocations: 1.195 MB / 1.513 GB, free: 3.137 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00441/0.497, allocations: 3.157 MB / 1.516 GB, free: 15.91 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001006/0.498, allocations: 1.392 MB / 1.518 GB, free: 14.49 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003798/0.4984, allocations: 163.3 kB / 1.518 GB, free: 14.33 MB / 1.217 GB Notification: Performance of SimCode: time 7.12e-07/0.4984, allocations: 0 / 1.518 GB, free: 14.33 MB / 1.217 GB Notification: Performance of Templates: time 0.04726/0.5457, allocations: 35.29 MB / 1.552 GB, free: 11.27 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/jenkins1/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: 15.263729275990045]