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.00096/0.00096, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001038/0.001038, allocations: 177.3 kB / 23.49 MB, free: 1.055 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.9661/0.9661, allocations: 177.1 MB / 203.8 MB, free: 5.648 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 2.126/2.126, allocations: 429.5 MB / 0.6736 GB, free: 4.043 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.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: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 0.8782 GB, free: 6.656 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.739e-05/2.875e-05, allocations: 4.703 kB / 0.8782 GB, free: 6.652 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.05843/0.05846, allocations: 80.51 MB / 0.9568 GB, free: 5.906 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.02444/0.0829, allocations: 20.55 MB / 0.9769 GB, free: 1.297 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004079/0.08697, allocations: 166.6 kB / 0.977 GB, free: 1.133 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.003818/0.09079, allocations: 1.273 MB / 0.9783 GB, free: 15.85 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.009784/0.1006, allocations: 4.041 MB / 0.9822 GB, free: 11.79 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.005939/0.1065, allocations: 2.665 MB / 0.9848 GB, free: 9.117 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.009052/0.1156, allocations: 6.999 MB / 0.9917 GB, free: 2.098 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003059/0.1186, allocations: 1.695 MB / 0.9933 GB, free: 356 kB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007751/0.1264, allocations: 3.714 MB / 0.997 GB, free: 12.65 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003308/0.1297, allocations: 1.617 MB / 0.9985 GB, free: 11.03 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 0.0006074/0.1303, allocations: 208 kB / 0.9987 GB, free: 10.83 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003291/0.1336, allocations: 1.364 MB / 1 GB, free: 9.461 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0006113/0.1342, allocations: 0.6146 MB / 1.001 GB, free: 8.844 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.001917/0.1361, allocations: 0.9002 MB / 1.002 GB, free: 7.941 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.005519/0.1416, allocations: 2.702 MB / 1.004 GB, free: 5.23 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.1416, allocations: 0 / 1.004 GB, free: 5.23 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.503e-06/0.1416, allocations: 0 / 1.004 GB, free: 5.23 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 8.268e-05/0.1417, allocations: 0 / 1.004 GB, free: 5.23 MB / 0.9636 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.003881/0.1456, allocations: 2.951 MB / 1.007 GB, free: 2.223 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/0.1456, allocations: 8.031 kB / 1.007 GB, free: 2.215 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007273/0.1464, allocations: 430.9 kB / 1.007 GB, free: 1.793 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002642/0.149, allocations: 2.107 MB / 1.01 GB, free: 15.63 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.502e-05/0.1491, allocations: 114.7 kB / 1.01 GB, free: 15.52 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001564/0.1492, allocations: 167.9 kB / 1.01 GB, free: 15.35 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001555/0.1508, allocations: 1.409 MB / 1.011 GB, free: 13.77 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.399e-05/0.1508, allocations: 11.88 kB / 1.011 GB, free: 13.76 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.245e-05/0.1509, allocations: 56 kB / 1.011 GB, free: 13.71 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-05/0.151, allocations: 43.98 kB / 1.011 GB, free: 13.66 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00102/0.152, allocations: 494.8 kB / 1.012 GB, free: 13.17 MB / 0.9792 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.00561/0.1576, allocations: 5.836 MB / 1.017 GB, free: 7.16 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004817/0.1581, allocations: 249.6 kB / 1.018 GB, free: 6.906 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001871/0.1583, allocations: 145.1 kB / 1.018 GB, free: 6.762 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002547/0.1585, allocations: 116.4 kB / 1.018 GB, free: 6.648 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.604e-05/0.1585, allocations: 49.89 kB / 1.018 GB, free: 6.586 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=59): time 2.926e-06/0.1586, allocations: 0 / 1.018 GB, free: 6.586 MB / 0.9792 GB Notification: Performance of matching and sorting (n=59): time 0.001186/0.1597, allocations: 0.5467 MB / 1.019 GB, free: 6.039 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.083e-05/0.1598, allocations: 55.91 kB / 1.019 GB, free: 5.973 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001425/0.1612, allocations: 1.53 MB / 1.02 GB, free: 4.395 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 7.016e-05/0.1613, allocations: 53.7 kB / 1.02 GB, free: 4.336 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006217/0.1619, allocations: 1.066 MB / 1.021 GB, free: 3.254 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.000168/0.1621, allocations: 230.1 kB / 1.021 GB, free: 3.027 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002514/0.1623, allocations: 293.1 kB / 1.022 GB, free: 2.734 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001423/0.1625, allocations: 0.5277 MB / 1.022 GB, free: 2.199 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002593/0.1627, allocations: 155.8 kB / 1.022 GB, free: 2.047 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007095/0.1634, allocations: 1.251 MB / 1.024 GB, free: 376 kB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009651/0.1644, allocations: 1.157 MB / 1.025 GB, free: 14.87 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.069e-05/0.1644, allocations: 12 kB / 1.025 GB, free: 14.86 MB / 0.9948 GB Notification: Performance of matching and sorting (n=171) (initialization): time 0.001627/0.166, allocations: 1.114 MB / 1.026 GB, free: 13.74 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.895e-05/0.1661, allocations: 14.19 kB / 1.026 GB, free: 13.73 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.725e-05/0.1661, allocations: 20 kB / 1.026 GB, free: 13.71 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.116e-05/0.1661, allocations: 24 kB / 1.026 GB, free: 13.68 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006519/0.1668, allocations: 327.5 kB / 1.026 GB, free: 13.36 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.719e-05/0.1668, allocations: 40.23 kB / 1.026 GB, free: 13.32 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007615/0.1675, allocations: 166.9 kB / 1.026 GB, free: 13.16 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.374e-05/0.1676, allocations: 67.94 kB / 1.026 GB, free: 13.09 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 81 * 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 (171): * Single equations (assignments): 171 * 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.0003899/0.168, allocations: 248.1 kB / 1.027 GB, free: 12.84 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002649/0.1683, allocations: 210.7 kB / 1.027 GB, free: 12.63 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007536/0.169, allocations: 0.5422 MB / 1.027 GB, free: 12.09 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.225e-05/0.169, allocations: 11.98 kB / 1.027 GB, free: 12.07 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.169, allocations: 4 kB / 1.027 GB, free: 12.07 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004543/0.1695, allocations: 489.3 kB / 1.028 GB, free: 11.54 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002379/0.1719, allocations: 1.852 MB / 1.03 GB, free: 9.602 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.1719, allocations: 4 kB / 1.03 GB, free: 9.598 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003728/0.1723, allocations: 152.1 kB / 1.03 GB, free: 9.449 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.436e-06/0.1723, allocations: 7.984 kB / 1.03 GB, free: 9.441 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.044e-05/0.1723, allocations: 16 kB / 1.03 GB, free: 9.426 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.531e-06/0.1723, allocations: 4 kB / 1.03 GB, free: 9.422 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.1723, allocations: 11.88 kB / 1.03 GB, free: 9.41 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001013/0.1733, allocations: 0.8634 MB / 1.031 GB, free: 8.492 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000418/0.1737, allocations: 286.4 kB / 1.031 GB, free: 8.211 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001336/0.1739, allocations: 15.98 kB / 1.031 GB, free: 8.195 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004204/0.1743, allocations: 43.95 kB / 1.031 GB, free: 8.152 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001002/0.1744, allocations: 60.34 kB / 1.031 GB, free: 8.094 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.537e-05/0.1744, allocations: 31.97 kB / 1.031 GB, free: 8.062 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.001032/0.1755, allocations: 0.8888 MB / 1.032 GB, free: 7.152 MB / 0.9948 GB Notification: Performance of sort global known variables: time 7e-08/0.1755, allocations: 0 / 1.032 GB, free: 7.152 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.001558/0.177, allocations: 0.717 MB / 1.033 GB, free: 6.434 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.000816/0.1778, allocations: 0.6031 MB / 1.033 GB, free: 5.828 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0008634/0.1787, allocations: 0.5792 MB / 1.034 GB, free: 5.25 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 4.289e-06/0.1787, allocations: 4 kB / 1.034 GB, free: 5.246 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002489/0.179, allocations: 197.3 kB / 1.034 GB, free: 5.051 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002309/0.1813, allocations: 0.9569 MB / 1.035 GB, free: 4.117 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003853/0.1851, allocations: 2.954 MB / 1.038 GB, free: 1.078 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002791/0.1854, allocations: 352.6 kB / 1.038 GB, free: 0.7109 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0009047/0.1863, allocations: 334 kB / 1.039 GB, free: 396 kB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002361/0.1865, allocations: 148.4 kB / 1.039 GB, free: 248 kB / 0.9948 GB Notification: Performance of SimCode: time 1.954e-06/0.1865, allocations: 0 / 1.039 GB, free: 248 kB / 0.9948 GB Notification: Performance of Templates: time 0.3837/0.5702, allocations: 37.38 MB / 1.075 GB, free: 210.8 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.66472375090234]