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.001596/0.001596, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001752/0.001752, allocations: 217.1 kB / 23 MB, free: 4.914 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.45/1.45, 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 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.751/2.751, allocations: 476 MB / 0.7707 GB, free: 4.75 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.002115/0.002115, allocations: 64.81 kB / 1.118 GB, free: 41.03 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3413/0.3434, allocations: 170 MB / 1.284 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.08512/0.4285, allocations: 70.99 MB / 1.353 GB, free: 4.691 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.02871/0.4572, allocations: 17.56 MB / 1.37 GB, free: 3.094 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004068/0.4613, allocations: 154.7 kB / 1.37 GB, free: 2.941 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.004055/0.4653, allocations: 1.242 MB / 1.372 GB, free: 1.691 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.01096/0.4763, allocations: 3.872 MB / 1.375 GB, free: 13.8 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.005866/0.4822, allocations: 2.133 MB / 1.377 GB, free: 11.69 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.01043/0.4926, allocations: 6.787 MB / 1.384 GB, free: 4.883 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003142/0.4957, allocations: 1.583 MB / 1.386 GB, free: 3.254 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006071/0.5018, allocations: 2.429 MB / 1.388 GB, free: 0.8242 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003889/0.5057, allocations: 1.785 MB / 1.39 GB, free: 15.03 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0006349/0.5063, allocations: 200 kB / 1.39 GB, free: 14.84 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004022/0.5104, allocations: 1.341 MB / 1.391 GB, free: 13.49 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0007596/0.5111, allocations: 0.5641 MB / 1.392 GB, free: 12.93 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.001723/0.5128, allocations: 1.003 MB / 1.393 GB, free: 11.92 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.006968/0.5198, allocations: 3.792 MB / 1.397 GB, free: 8.113 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.5198, allocations: 0 / 1.397 GB, free: 8.113 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.144e-06/0.5198, allocations: 0 / 1.397 GB, free: 8.113 MB / 1.092 GB Notification: Performance of Transformations before backend: time 5.97e-05/0.5199, allocations: 0 / 1.397 GB, free: 8.113 MB / 1.092 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.005042/0.5249, allocations: 2.711 MB / 1.399 GB, free: 5.352 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.525, allocations: 12.03 kB / 1.399 GB, free: 5.34 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007737/0.5257, allocations: 275.3 kB / 1.399 GB, free: 5.07 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003833/0.5296, allocations: 1.945 MB / 1.401 GB, free: 3.082 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.672e-05/0.5297, allocations: 110.7 kB / 1.401 GB, free: 2.973 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002157/0.5299, allocations: 144 kB / 1.402 GB, free: 2.832 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002975/0.5329, allocations: 1.829 MB / 1.403 GB, free: 0.8516 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.78e-05/0.5329, allocations: 0 / 1.403 GB, free: 0.8516 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000128/0.533, allocations: 63.94 kB / 1.403 GB, free: 0.7891 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.182e-05/0.5331, allocations: 43.92 kB / 1.403 GB, free: 0.7461 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002308/0.5354, allocations: 1.119 MB / 1.405 GB, free: 15.62 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.007966/0.5434, allocations: 5.096 MB / 1.41 GB, free: 10.39 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001024/0.5444, allocations: 446.1 kB / 1.41 GB, free: 9.941 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006462/0.545, allocations: 310.7 kB / 1.41 GB, free: 9.637 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003982/0.5454, allocations: 108.4 kB / 1.41 GB, free: 9.531 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.479e-05/0.5455, allocations: 43.05 kB / 1.41 GB, free: 9.48 MB / 1.107 GB Notification: Performance of pre-optimization done (n=59): time 2.846e-06/0.5455, allocations: 4 kB / 1.41 GB, free: 9.477 MB / 1.107 GB Notification: Performance of matching and sorting (n=59): time 0.00245/0.5479, allocations: 0.9449 MB / 1.411 GB, free: 8.523 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.978e-05/0.548, allocations: 63.91 kB / 1.411 GB, free: 8.449 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002269/0.5502, allocations: 1.535 MB / 1.413 GB, free: 6.914 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0001251/0.5504, allocations: 45.7 kB / 1.413 GB, free: 6.863 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009113/0.5513, allocations: 0.9552 MB / 1.414 GB, free: 5.898 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002919/0.5516, allocations: 230 kB / 1.414 GB, free: 5.672 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003235/0.5519, allocations: 226.8 kB / 1.414 GB, free: 5.445 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001853/0.5521, allocations: 345.9 kB / 1.415 GB, free: 5.102 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007376/0.5528, allocations: 334.4 kB / 1.415 GB, free: 4.773 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001246/0.5541, allocations: 0.966 MB / 1.416 GB, free: 3.59 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001757/0.5558, allocations: 1.02 MB / 1.417 GB, free: 2.43 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.083e-06/0.5558, allocations: 0 / 1.417 GB, free: 2.43 MB / 1.107 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002568/0.5584, allocations: 1.211 MB / 1.418 GB, free: 1.211 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.524e-05/0.5584, allocations: 8 kB / 1.418 GB, free: 1.203 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.391e-05/0.5584, allocations: 8 kB / 1.418 GB, free: 1.195 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.507e-05/0.5585, allocations: 16 kB / 1.418 GB, free: 1.18 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00103/0.5595, allocations: 291.9 kB / 1.418 GB, free: 0.8945 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.278e-05/0.5595, allocations: 15.94 kB / 1.418 GB, free: 0.8789 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001203/0.5607, allocations: 135.2 kB / 1.419 GB, free: 0.7461 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.787e-05/0.5608, allocations: 51.98 kB / 1.419 GB, free: 0.6953 MB / 1.107 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.0009131/0.5617, allocations: 449.3 kB / 1.419 GB, free: 252 kB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004332/0.5622, allocations: 174.9 kB / 1.419 GB, free: 76 kB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001863/0.564, allocations: 0.8562 MB / 1.42 GB, free: 15.21 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.648e-05/0.564, allocations: 8 kB / 1.42 GB, free: 15.2 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.5641, allocations: 4 kB / 1.42 GB, free: 15.2 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001386/0.5654, allocations: 0.8017 MB / 1.421 GB, free: 14.35 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004039/0.5695, allocations: 2.076 MB / 1.423 GB, free: 12.2 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.885e-06/0.5695, allocations: 4 kB / 1.423 GB, free: 12.2 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007761/0.5703, allocations: 183.7 kB / 1.423 GB, free: 12.02 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.198e-05/0.5703, allocations: 4 kB / 1.423 GB, free: 12.02 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.449e-05/0.5703, allocations: 23.92 kB / 1.423 GB, free: 11.99 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-05/0.5703, allocations: 8.094 kB / 1.423 GB, free: 11.98 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.5703, allocations: 3.938 kB / 1.423 GB, free: 11.98 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002496/0.5728, allocations: 1.325 MB / 1.424 GB, free: 10.62 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006379/0.5735, allocations: 262.7 kB / 1.425 GB, free: 10.36 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001748/0.5736, allocations: 15.94 kB / 1.425 GB, free: 10.34 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008457/0.5745, allocations: 63.86 kB / 1.425 GB, free: 10.28 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001135/0.5746, allocations: 56.36 kB / 1.425 GB, free: 10.23 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.681e-05/0.5747, allocations: 31.97 kB / 1.425 GB, free: 10.2 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001481/0.5761, allocations: 1.016 MB / 1.426 GB, free: 9.188 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5761, allocations: 0 / 1.426 GB, free: 9.188 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.00187/0.578, allocations: 0.6935 MB / 1.426 GB, free: 8.492 MB / 1.123 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.001058/0.5791, allocations: 0.5865 MB / 1.427 GB, free: 7.902 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.001835/0.5809, allocations: 0.785 MB / 1.428 GB, free: 7.125 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/0.5809, allocations: 4 kB / 1.428 GB, free: 7.121 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0007318/0.5816, allocations: 334.5 kB / 1.428 GB, free: 6.793 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003983/0.5856, allocations: 0.916 MB / 1.429 GB, free: 5.902 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005406/0.591, allocations: 3.094 MB / 1.432 GB, free: 2.734 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009171/0.592, allocations: 0.8174 MB / 1.433 GB, free: 1.883 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005168/0.5925, allocations: 139.4 kB / 1.433 GB, free: 1.746 MB / 1.123 GB Notification: Performance of SimCode: time 1.092e-06/0.5925, allocations: 0 / 1.433 GB, free: 1.746 MB / 1.123 GB Notification: Performance of Templates: time 0.05259/0.6451, allocations: 32.49 MB / 1.465 GB, free: 1.504 MB / 1.154 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: 16.72558736614883]