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.0008319/0.0008319, allocations: 76.55 kB / 19.93 MB, free: 4.637 MB / 18.57 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.0008103/0.0008103, allocations: 177.9 kB / 23.22 MB, free: 1.352 MB / 18.57 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 0.8853/0.8853, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.697/1.697, allocations: 377.8 MB / 0.6228 GB, free: 8.656 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.283e-06/1.283e-06, allocations: 0 / 0.9822 GB, free: 2.07 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.837e-05/1.965e-05, allocations: 2.281 kB / 0.9822 GB, free: 2.066 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.5229/0.5229, allocations: 70.55 MB / 1.051 GB, free: 44.81 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.01698/0.5399, allocations: 17.62 MB / 1.068 GB, free: 44.5 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002848/0.5427, allocations: 157.2 kB / 1.068 GB, free: 44.5 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.002159/0.5449, allocations: 1.253 MB / 1.07 GB, free: 44.43 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.006901/0.5518, allocations: 3.983 MB / 1.074 GB, free: 43.64 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.003798/0.5556, allocations: 2.232 MB / 1.076 GB, free: 43.06 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.005706/0.5613, allocations: 6.872 MB / 1.082 GB, free: 39.9 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001416/0.5627, allocations: 1.589 MB / 1.084 GB, free: 39.15 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003777/0.5665, allocations: 3.579 MB / 1.088 GB, free: 37.77 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001139/0.5676, allocations: 1.561 MB / 1.089 GB, free: 37.39 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001673/0.5678, allocations: 202.2 kB / 1.089 GB, free: 37.39 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00257/0.5703, allocations: 1.356 MB / 1.091 GB, free: 37.03 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0003119/0.5706, allocations: 0.5849 MB / 1.091 GB, free: 36.69 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0006416/0.5713, allocations: 0.8512 MB / 1.092 GB, free: 36.37 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.003565/0.5749, allocations: 3.806 MB / 1.096 GB, free: 35.21 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.5749, allocations: 5.312 kB / 1.096 GB, free: 35.21 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.423e-06/0.5749, allocations: 2.906 kB / 1.096 GB, free: 35.21 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 2.482e-05/0.5749, allocations: 0 / 1.096 GB, free: 35.21 MB / 0.9948 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.002831/0.5777, allocations: 2.695 MB / 1.098 GB, free: 33.56 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.5778, allocations: 10.38 kB / 1.098 GB, free: 33.56 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004327/0.5782, allocations: 281.1 kB / 1.099 GB, free: 33.43 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002222/0.5804, allocations: 1.998 MB / 1.101 GB, free: 32.41 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.982e-05/0.5805, allocations: 105.3 kB / 1.101 GB, free: 32.36 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001452/0.5806, allocations: 152 kB / 1.101 GB, free: 32.31 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001827/0.5824, allocations: 1.821 MB / 1.103 GB, free: 31.24 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.861e-05/0.5825, allocations: 2.891 kB / 1.103 GB, free: 31.24 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.855e-05/0.5825, allocations: 59.34 kB / 1.103 GB, free: 31.2 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.192e-05/0.5826, allocations: 40.59 kB / 1.103 GB, free: 31.2 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001444/0.584, allocations: 1.12 MB / 1.104 GB, free: 30.82 MB / 0.9948 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.00441/0.5884, allocations: 5.091 MB / 1.109 GB, free: 27.66 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006346/0.5891, allocations: 450.3 kB / 1.109 GB, free: 27.51 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004098/0.5895, allocations: 308 kB / 1.109 GB, free: 27.41 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000252/0.5897, allocations: 99.09 kB / 1.11 GB, free: 27.39 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.151e-05/0.5898, allocations: 52.2 kB / 1.11 GB, free: 27.34 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=59): time 2.455e-06/0.5898, allocations: 0 / 1.11 GB, free: 27.34 MB / 0.9948 GB Notification: Performance of matching and sorting (n=59): time 0.001304/0.5911, allocations: 0.946 MB / 1.111 GB, free: 27 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.686e-05/0.5911, allocations: 58.69 kB / 1.111 GB, free: 26.93 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001365/0.5925, allocations: 1.564 MB / 1.112 GB, free: 26.32 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 4.105e-05/0.5925, allocations: 43.73 kB / 1.112 GB, free: 26.28 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004657/0.593, allocations: 0.9615 MB / 1.113 GB, free: 25.52 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001402/0.5931, allocations: 226 kB / 1.113 GB, free: 25.35 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001951/0.5933, allocations: 227.5 kB / 1.114 GB, free: 25.23 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 5.192e-05/0.5934, allocations: 345.7 kB / 1.114 GB, free: 24.91 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004254/0.5938, allocations: 337.9 kB / 1.114 GB, free: 24.81 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005963/0.5944, allocations: 0.9675 MB / 1.115 GB, free: 23.94 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009322/0.5953, allocations: 1.01 MB / 1.116 GB, free: 23.31 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.452e-06/0.5953, allocations: 6.531 kB / 1.116 GB, free: 23.31 MB / 0.9948 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.001324/0.5966, allocations: 1.208 MB / 1.117 GB, free: 22.89 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.186e-05/0.5967, allocations: 9.625 kB / 1.117 GB, free: 22.89 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.258e-05/0.5967, allocations: 10.42 kB / 1.117 GB, free: 22.89 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.447e-05/0.5967, allocations: 16.5 kB / 1.117 GB, free: 22.89 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000565/0.5973, allocations: 290.9 kB / 1.118 GB, free: 22.88 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.785e-05/0.5973, allocations: 21.14 kB / 1.118 GB, free: 22.88 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000576/0.5979, allocations: 137.5 kB / 1.118 GB, free: 22.81 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.951e-05/0.5979, allocations: 55.02 kB / 1.118 GB, free: 22.8 MB / 0.9948 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.0004035/0.5983, allocations: 442.7 kB / 1.118 GB, free: 22.52 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001623/0.5985, allocations: 184.9 kB / 1.118 GB, free: 22.41 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001083/0.5996, allocations: 0.8501 MB / 1.119 GB, free: 22.11 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-05/0.5996, allocations: 15.61 kB / 1.119 GB, free: 22.1 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.5996, allocations: 0.5625 kB / 1.119 GB, free: 22.1 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008117/0.6004, allocations: 0.8008 MB / 1.12 GB, free: 21.67 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002432/0.6028, allocations: 2.085 MB / 1.122 GB, free: 20.73 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.6028, allocations: 1.469 kB / 1.122 GB, free: 20.73 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000419/0.6033, allocations: 178.2 kB / 1.122 GB, free: 20.73 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.031e-06/0.6033, allocations: 3.844 kB / 1.122 GB, free: 20.73 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.942e-05/0.6033, allocations: 22.36 kB / 1.122 GB, free: 20.71 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.993e-06/0.6033, allocations: 4.344 kB / 1.122 GB, free: 20.71 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.6033, allocations: 2.875 kB / 1.122 GB, free: 20.71 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001455/0.6048, allocations: 1.337 MB / 1.124 GB, free: 20.08 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000324/0.6051, allocations: 262.4 kB / 1.124 GB, free: 19.92 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001039/0.6052, allocations: 14.61 kB / 1.124 GB, free: 19.91 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00043/0.6056, allocations: 58.02 kB / 1.124 GB, free: 19.9 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.226e-05/0.6057, allocations: 54.17 kB / 1.124 GB, free: 19.89 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.913e-05/0.6058, allocations: 39.17 kB / 1.124 GB, free: 19.88 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.001007/0.6068, allocations: 1.023 MB / 1.125 GB, free: 19.49 MB / 0.9948 GB Notification: Performance of sort global known variables: time 8e-08/0.6068, allocations: 0 / 1.125 GB, free: 19.49 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.001562/0.6083, allocations: 0.6942 MB / 1.126 GB, free: 19.31 MB / 0.9948 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.0008079/0.6091, allocations: 0.6012 MB / 1.126 GB, free: 19.09 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.001047/0.6102, allocations: 0.7854 MB / 1.127 GB, free: 18.89 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.6102, allocations: 5.281 kB / 1.127 GB, free: 18.89 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.000431/0.6106, allocations: 338 kB / 1.127 GB, free: 18.8 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002173/0.6128, allocations: 0.9074 MB / 1.128 GB, free: 18.53 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003119/0.6159, allocations: 3.032 MB / 1.131 GB, free: 16.88 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007194/0.6166, allocations: 0.8171 MB / 1.132 GB, free: 16.68 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002344/0.6169, allocations: 144.5 kB / 1.132 GB, free: 16.66 MB / 0.9948 GB Notification: Performance of SimCode: time 1.082e-06/0.6169, allocations: 1.438 kB / 1.132 GB, free: 16.66 MB / 0.9948 GB Notification: Performance of Templates: time 0.0431/0.66, allocations: 32.85 MB / 1.164 GB, free: 5.746 MB / 0.9948 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 -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/jenkins/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: 11.096127341501415]