Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MassAccumulation.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.0009929/0.0009929, allocations: 88.44 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.001382/0.001382, allocations: 173.9 kB / 23.21 MB, free: 1.332 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.9125/0.9125, allocations: 177.1 MB / 203.5 MB, free: 5.75 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.394/2.394, allocations: 439.8 MB / 0.6834 GB, free: 12.87 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 15.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.MixingVolumes.Validation.MassAccumulation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.Xi.[0-9,]+.|mWat|mWatExp|mAir|vol.C.[0-9,]+.|vol.p",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MassAccumulation") translateModel(Buildings.Fluid.MixingVolumes.Validation.MassAccumulation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.Xi.[0-9,]+.|mWat|mWatExp|mAir|vol.C.[0-9,]+.|vol.p",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MassAccumulation") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 1.082 GB, free: 24.74 MB / 1.01 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.58e-05/2.755e-05, allocations: 8.047 kB / 1.082 GB, free: 24.73 MB / 1.01 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MassAccumulation): time 0.147/0.147, allocations: 146.8 MB / 1.226 GB, free: 5.344 MB / 1.089 GB Notification: Performance of NFInst.instExpressions: time 0.004271/0.1513, allocations: 3.009 MB / 1.229 GB, free: 2.969 MB / 1.089 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006291/0.1519, allocations: 26.84 kB / 1.229 GB, free: 2.953 MB / 1.089 GB Notification: Performance of NFTyping.typeComponents: time 0.0006616/0.1526, allocations: 227.8 kB / 1.229 GB, free: 2.77 MB / 1.089 GB Notification: Performance of NFTyping.typeBindings: time 0.002041/0.1546, allocations: 0.9982 MB / 1.23 GB, free: 2 MB / 1.089 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009027/0.1555, allocations: 464.2 kB / 1.23 GB, free: 1.652 MB / 1.089 GB Notification: Performance of NFFlatten.flatten: time 0.001495/0.157, allocations: 1.192 MB / 1.232 GB, free: 0.9414 MB / 1.089 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004781/0.1575, allocations: 280.3 kB / 1.232 GB, free: 0.7383 MB / 1.089 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00118/0.1587, allocations: 0.6944 MB / 1.232 GB, free: 308 kB / 1.089 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009476/0.1596, allocations: 354.2 kB / 1.233 GB, free: 112 kB / 1.089 GB Notification: Performance of NFPackage.collectConstants: time 8.654e-05/0.1597, allocations: 48.22 kB / 1.233 GB, free: 108 kB / 1.089 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001243/0.161, allocations: 0.694 MB / 1.234 GB, free: 15.73 MB / 1.104 GB Notification: Performance of NFScalarize.scalarize: time 0.0002205/0.1612, allocations: 232.9 kB / 1.234 GB, free: 15.57 MB / 1.104 GB Notification: Performance of NFVerifyModel.verify: time 0.0005285/0.1617, allocations: 194.3 kB / 1.234 GB, free: 15.48 MB / 1.104 GB Notification: Performance of NFConvertDAE.convert: time 0.001607/0.1633, allocations: 1.001 MB / 1.235 GB, free: 14.85 MB / 1.104 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.1633, allocations: 3.938 kB / 1.235 GB, free: 14.85 MB / 1.104 GB Notification: Performance of FrontEnd: time 2.104e-06/0.1633, allocations: 0 / 1.235 GB, free: 14.85 MB / 1.104 GB Notification: Performance of Transformations before backend: time 2.62e-05/0.1634, allocations: 3.984 kB / 1.235 GB, free: 14.84 MB / 1.104 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 87 * Number of variables: 87 Notification: Performance of Generate backend data structure: time 0.001321/0.1647, allocations: 0.7485 MB / 1.236 GB, free: 14.24 MB / 1.104 GB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/0.1647, allocations: 9.188 kB / 1.236 GB, free: 14.24 MB / 1.104 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007963/0.1655, allocations: 169.8 kB / 1.236 GB, free: 14.16 MB / 1.104 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006137/0.1661, allocations: 433.6 kB / 1.236 GB, free: 13.82 MB / 1.104 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.461e-05/0.1662, allocations: 27.19 kB / 1.236 GB, free: 13.81 MB / 1.104 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.554e-05/0.1662, allocations: 39.81 kB / 1.236 GB, free: 13.79 MB / 1.104 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005844/0.1668, allocations: 0.5262 MB / 1.237 GB, free: 13.41 MB / 1.104 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.464e-05/0.1668, allocations: 0 / 1.237 GB, free: 13.41 MB / 1.104 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.005e-05/0.1669, allocations: 15.47 kB / 1.237 GB, free: 13.4 MB / 1.104 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.965e-05/0.1669, allocations: 18.03 kB / 1.237 GB, free: 13.39 MB / 1.104 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004195/0.1673, allocations: 339.7 kB / 1.237 GB, free: 13.23 MB / 1.104 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.001422/0.1687, allocations: 0.9701 MB / 1.238 GB, free: 12.36 MB / 1.104 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004186/0.1691, allocations: 277.1 kB / 1.238 GB, free: 12.07 MB / 1.104 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001243/0.1693, allocations: 128 kB / 1.238 GB, free: 11.94 MB / 1.104 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001103/0.1694, allocations: 23.98 kB / 1.239 GB, free: 11.92 MB / 1.104 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.317e-05/0.1694, allocations: 38.56 kB / 1.239 GB, free: 11.87 MB / 1.104 GB Notification: Performance of pre-optimization done (n=25): time 2.154e-06/0.1694, allocations: 96 / 1.239 GB, free: 11.87 MB / 1.104 GB Notification: Performance of matching and sorting (n=25): time 0.0005456/0.1699, allocations: 381.4 kB / 1.239 GB, free: 11.49 MB / 1.104 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.83e-05/0.17, allocations: 81.11 kB / 1.239 GB, free: 11.39 MB / 1.104 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002445/0.1702, allocations: 329.7 kB / 1.239 GB, free: 11.06 MB / 1.104 GB Notification: Performance of collectPreVariables (initialization): time 2.379e-05/0.1703, allocations: 29.7 kB / 1.239 GB, free: 11.03 MB / 1.104 GB Notification: Performance of collectInitialEqns (initialization): time 0.000125/0.1704, allocations: 236.3 kB / 1.24 GB, free: 10.79 MB / 1.104 GB Notification: Performance of collectInitialBindings (initialization): time 6.267e-05/0.1704, allocations: 99.28 kB / 1.24 GB, free: 10.7 MB / 1.104 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.846e-05/0.1705, allocations: 61.98 kB / 1.24 GB, free: 10.62 MB / 1.104 GB Notification: Performance of setup shared object (initialization): time 8.75e-05/0.1706, allocations: 342.8 kB / 1.24 GB, free: 10.28 MB / 1.104 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001063/0.1707, allocations: 96.52 kB / 1.24 GB, free: 10.19 MB / 1.104 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001452/0.1708, allocations: 190 kB / 1.24 GB, free: 9.977 MB / 1.104 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000251/0.1711, allocations: 267.4 kB / 1.241 GB, free: 9.695 MB / 1.104 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.1711, allocations: 7.969 kB / 1.241 GB, free: 9.688 MB / 1.104 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003322/0.1714, allocations: 337.2 kB / 1.241 GB, free: 9.352 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.1714, allocations: 4 kB / 1.241 GB, free: 9.348 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/0.1715, allocations: 11.97 kB / 1.241 GB, free: 9.336 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.1715, allocations: 3.938 kB / 1.241 GB, free: 9.332 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001428/0.1716, allocations: 55.92 kB / 1.241 GB, free: 9.277 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.1716, allocations: 4 kB / 1.241 GB, free: 9.273 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001762/0.1718, allocations: 20.03 kB / 1.241 GB, free: 9.254 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.089e-05/0.1718, allocations: 16 kB / 1.241 GB, free: 9.238 MB / 1.104 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (33): * Single equations (assignments): 33 * 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.0001523/0.172, allocations: 193.7 kB / 1.241 GB, free: 9.039 MB / 1.104 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.418e-05/0.172, allocations: 35.81 kB / 1.241 GB, free: 9.004 MB / 1.104 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.571e-05/0.1721, allocations: 51.36 kB / 1.241 GB, free: 8.941 MB / 1.104 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.1721, allocations: 3.938 kB / 1.241 GB, free: 8.938 MB / 1.104 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.1721, allocations: 0 / 1.241 GB, free: 8.938 MB / 1.104 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002892/0.1724, allocations: 411.2 kB / 1.242 GB, free: 8.488 MB / 1.104 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008086/0.1732, allocations: 0.7626 MB / 1.242 GB, free: 7.676 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.1732, allocations: 4 kB / 1.242 GB, free: 7.672 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000184/0.1734, allocations: 63.97 kB / 1.242 GB, free: 7.609 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.1734, allocations: 0 / 1.242 GB, free: 7.609 MB / 1.104 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.717e-05/0.1734, allocations: 8 kB / 1.242 GB, free: 7.602 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.99e-06/0.1734, allocations: 7.938 kB / 1.242 GB, free: 7.594 MB / 1.104 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.1734, allocations: 0 / 1.242 GB, free: 7.594 MB / 1.104 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004783/0.1739, allocations: 0.5141 MB / 1.243 GB, free: 7.051 MB / 1.104 GB Notification: Performance of postOpt removeConstants (simulation): time 9.895e-05/0.174, allocations: 67.78 kB / 1.243 GB, free: 6.984 MB / 1.104 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.298e-05/0.174, allocations: 8.062 kB / 1.243 GB, free: 6.977 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001492/0.1742, allocations: 12 kB / 1.243 GB, free: 6.965 MB / 1.104 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.838e-05/0.1742, allocations: 19.97 kB / 1.243 GB, free: 6.945 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.466e-05/0.1742, allocations: 7.984 kB / 1.243 GB, free: 6.938 MB / 1.104 GB Notification: Performance of sorting global known variables: time 0.0001598/0.1744, allocations: 239.2 kB / 1.243 GB, free: 6.711 MB / 1.104 GB Notification: Performance of sort global known variables: time 5e-08/0.1744, allocations: 0 / 1.243 GB, free: 6.711 MB / 1.104 GB Notification: Performance of remove unused functions: time 0.0003858/0.1748, allocations: 147.7 kB / 1.243 GB, free: 6.566 MB / 1.104 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 4 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m,vol.dynBal.mC[1]) * 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 (25): * Single equations (assignments): 25 * 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 Backend phase and start with SimCode phase: time 0.0003171/0.1751, allocations: 151.1 kB / 1.244 GB, free: 6.41 MB / 1.104 GB Notification: Performance of simCode: created initialization part: time 0.0003011/0.1754, allocations: 235.7 kB / 1.244 GB, free: 6.18 MB / 1.104 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.1754, allocations: 384 / 1.244 GB, free: 6.18 MB / 1.104 GB Notification: Performance of simCode: created simulation system equations: time 0.000108/0.1755, allocations: 122 kB / 1.244 GB, free: 6.062 MB / 1.104 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007138/0.1762, allocations: 248.2 kB / 1.244 GB, free: 5.824 MB / 1.104 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001382/0.1776, allocations: 0.9487 MB / 1.245 GB, free: 4.824 MB / 1.104 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003903/0.178, allocations: 259.7 kB / 1.245 GB, free: 4.551 MB / 1.104 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.748e-05/0.1781, allocations: 44.48 kB / 1.245 GB, free: 4.508 MB / 1.104 GB Notification: Performance of SimCode: time 1.122e-06/0.1781, allocations: 0 / 1.245 GB, free: 4.508 MB / 1.104 GB Notification: Performance of Templates: time 0.008715/0.1868, allocations: 6.936 MB / 1.252 GB, free: 13.63 MB / 1.12 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MassAccumulation.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MassAccumulation.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MassAccumulation.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MassAccumulation.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MassAccumulation.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MassAccumulation -emit_protected > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MassAccumulation.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MassAccumulation_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MassAccumulation.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: 9.11505740787834]