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.0008725/0.0008725, allocations: 76.45 kB / 19.93 MB, free: 4.613 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.0007696/0.0007696, allocations: 181.9 kB / 23.22 MB, free: 1.32 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.8759/0.8759, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.7 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 1.772/1.772, allocations: 389 MB / 0.6338 GB, free: 12.71 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 1.001 GB, free: 13 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.644e-05/2.822e-05, allocations: 6.219 kB / 1.001 GB, free: 13 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.5491/0.5491, allocations: 70.51 MB / 1.07 GB, free: 43.92 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.01765/0.5668, allocations: 17.58 MB / 1.087 GB, free: 33.23 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004012/0.5708, allocations: 153.6 kB / 1.087 GB, free: 33.15 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.003439/0.5742, allocations: 1.245 MB / 1.088 GB, free: 32.43 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.01038/0.5846, allocations: 3.98 MB / 1.092 GB, free: 30.06 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.004931/0.5896, allocations: 2.213 MB / 1.094 GB, free: 28.83 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.009916/0.5995, allocations: 6.796 MB / 1.101 GB, free: 25.44 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003511/0.603, allocations: 1.526 MB / 1.102 GB, free: 24.62 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01308/0.6161, allocations: 3.543 MB / 1.106 GB, free: 22.98 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004417/0.6205, allocations: 1.566 MB / 1.107 GB, free: 22.43 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0006775/0.6212, allocations: 201.2 kB / 1.108 GB, free: 22.43 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004149/0.6253, allocations: 1.352 MB / 1.109 GB, free: 21.95 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0006638/0.626, allocations: 0.5857 MB / 1.11 GB, free: 21.57 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.00197/0.6279, allocations: 0.847 MB / 1.11 GB, free: 21.21 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.007584/0.6355, allocations: 3.81 MB / 1.114 GB, free: 19.83 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 8.456e-06/0.6355, allocations: 1.656 kB / 1.114 GB, free: 19.83 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.963e-06/0.6355, allocations: 0 / 1.114 GB, free: 19.83 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 9.578e-05/0.6356, allocations: 0 / 1.114 GB, free: 19.83 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.005091/0.6407, allocations: 2.688 MB / 1.117 GB, free: 18.12 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.853e-05/0.6408, allocations: 9.875 kB / 1.117 GB, free: 18.12 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000724/0.6415, allocations: 276.6 kB / 1.117 GB, free: 17.99 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003156/0.6447, allocations: 1.96 MB / 1.119 GB, free: 16.91 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.535e-05/0.6447, allocations: 104.8 kB / 1.119 GB, free: 16.87 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000165/0.6449, allocations: 148.5 kB / 1.119 GB, free: 16.82 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002367/0.6473, allocations: 1.828 MB / 1.121 GB, free: 15.73 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.455e-05/0.6473, allocations: 7.016 kB / 1.121 GB, free: 15.72 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.449e-05/0.6474, allocations: 55.75 kB / 1.121 GB, free: 15.68 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.266e-05/0.6474, allocations: 41.55 kB / 1.121 GB, free: 15.68 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001716/0.6492, allocations: 1.124 MB / 1.122 GB, free: 15.29 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.007656/0.6568, allocations: 5.087 MB / 1.127 GB, free: 11.98 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008333/0.6576, allocations: 447.9 kB / 1.128 GB, free: 11.82 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004391/0.6581, allocations: 307.2 kB / 1.128 GB, free: 11.72 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003534/0.6584, allocations: 107.1 kB / 1.128 GB, free: 11.7 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.839e-05/0.6585, allocations: 47.81 kB / 1.128 GB, free: 11.65 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=59): time 3.868e-06/0.6585, allocations: 4 kB / 1.128 GB, free: 11.65 MB / 0.9948 GB Notification: Performance of matching and sorting (n=59): time 0.001956/0.6604, allocations: 0.9511 MB / 1.129 GB, free: 11.3 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.223e-05/0.6605, allocations: 58.5 kB / 1.129 GB, free: 11.23 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001877/0.6624, allocations: 1.544 MB / 1.13 GB, free: 10.63 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001229/0.6625, allocations: 39.08 kB / 1.131 GB, free: 10.59 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006094/0.6631, allocations: 0.963 MB / 1.131 GB, free: 9.832 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002403/0.6633, allocations: 224.7 kB / 1.132 GB, free: 9.656 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002639/0.6636, allocations: 228.7 kB / 1.132 GB, free: 9.535 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 7.545e-05/0.6637, allocations: 345.2 kB / 1.132 GB, free: 9.215 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005414/0.6642, allocations: 333.3 kB / 1.133 GB, free: 9.113 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008218/0.665, allocations: 0.966 MB / 1.133 GB, free: 8.223 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001221/0.6663, allocations: 1.012 MB / 1.134 GB, free: 7.539 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.127e-05/0.6663, allocations: 6.156 kB / 1.134 GB, free: 7.539 MB / 0.9948 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.00209/0.6684, allocations: 1.209 MB / 1.136 GB, free: 7.043 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 3.366e-05/0.6684, allocations: 10.61 kB / 1.136 GB, free: 7.043 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.879e-05/0.6684, allocations: 9.75 kB / 1.136 GB, free: 7.043 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.8e-05/0.6685, allocations: 19.59 kB / 1.136 GB, free: 7.039 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007181/0.6692, allocations: 289.5 kB / 1.136 GB, free: 7.012 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.075e-05/0.6692, allocations: 25.33 kB / 1.136 GB, free: 7.004 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001191/0.6704, allocations: 134.2 kB / 1.136 GB, free: 6.934 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.295e-05/0.6705, allocations: 54.59 kB / 1.136 GB, free: 6.922 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.000893/0.6714, allocations: 439.6 kB / 1.137 GB, free: 6.625 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000285/0.6717, allocations: 183.6 kB / 1.137 GB, free: 6.523 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001377/0.673, allocations: 0.8464 MB / 1.138 GB, free: 6.207 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.223e-05/0.6731, allocations: 11.98 kB / 1.138 GB, free: 6.203 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.737e-06/0.6731, allocations: 0 / 1.138 GB, free: 6.203 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009394/0.674, allocations: 0.806 MB / 1.138 GB, free: 5.762 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003648/0.6777, allocations: 2.076 MB / 1.14 GB, free: 4.789 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.458e-06/0.6777, allocations: 2.984 kB / 1.14 GB, free: 4.789 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004914/0.6782, allocations: 182.4 kB / 1.141 GB, free: 4.773 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.126e-05/0.6782, allocations: 9.109 kB / 1.141 GB, free: 4.77 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.611e-05/0.6782, allocations: 17.94 kB / 1.141 GB, free: 4.762 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.025e-06/0.6782, allocations: 8.203 kB / 1.141 GB, free: 4.758 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.6782, allocations: 2.375 kB / 1.141 GB, free: 4.758 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002058/0.6803, allocations: 1.327 MB / 1.142 GB, free: 4.121 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007508/0.681, allocations: 262 kB / 1.142 GB, free: 3.965 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001416/0.6812, allocations: 14.62 kB / 1.142 GB, free: 3.957 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005287/0.6817, allocations: 62.39 kB / 1.142 GB, free: 3.945 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001248/0.6818, allocations: 61.86 kB / 1.142 GB, free: 3.926 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.902e-05/0.6819, allocations: 37.72 kB / 1.142 GB, free: 3.918 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.001407/0.6833, allocations: 1.018 MB / 1.143 GB, free: 3.527 MB / 0.9948 GB Notification: Performance of sort global known variables: time 2.11e-07/0.6833, allocations: 0 / 1.143 GB, free: 3.527 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.002233/0.6855, allocations: 0.6963 MB / 1.144 GB, free: 3.344 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.001195/0.6867, allocations: 0.601 MB / 1.145 GB, free: 3.07 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.00156/0.6883, allocations: 0.7834 MB / 1.145 GB, free: 2.84 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 6.762e-06/0.6883, allocations: 1.281 kB / 1.145 GB, free: 2.84 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005238/0.6888, allocations: 338.3 kB / 1.146 GB, free: 2.746 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00322/0.692, allocations: 0.8782 MB / 1.147 GB, free: 2.473 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005086/0.6971, allocations: 3.009 MB / 1.149 GB, free: 0.8008 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00105/0.6982, allocations: 0.8134 MB / 1.15 GB, free: 0.6016 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000651/0.6988, allocations: 143.7 kB / 1.15 GB, free: 0.582 MB / 0.9948 GB Notification: Performance of SimCode: time 1.633e-06/0.6988, allocations: 0 / 1.15 GB, free: 0.582 MB / 0.9948 GB Notification: Performance of Templates: time 0.0577/0.7565, allocations: 32.61 MB / 1.182 GB, free: 2.992 MB / 1.01 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: 13.318571833893657]