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.0008781/0.0008781, allocations: 83.67 kB / 20.98 MB, free: 3.32 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.00338/0.00338, allocations: 153.8 kB / 24.44 MB, free: 8.625 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.9479/0.9479, allocations: 177.2 MB / 204.9 MB, free: 5.434 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.292/2.292, allocations: 439.8 MB / 0.6849 GB, free: 12.56 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 2.976e-06/2.976e-06, allocations: 0 / 0.8412 GB, free: 12.7 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.567e-05/3.864e-05, allocations: 2.312 kB / 0.8412 GB, free: 12.69 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MassAccumulation): time 0.1431/0.1431, allocations: 146.9 MB / 0.9847 GB, free: 9.191 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.003747/0.1469, allocations: 2.606 MB / 0.9872 GB, free: 6.578 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003955/0.1473, allocations: 23.81 kB / 0.9873 GB, free: 6.555 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.000499/0.1478, allocations: 150.9 kB / 0.9874 GB, free: 6.406 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.001398/0.1492, allocations: 0.6604 MB / 0.988 GB, free: 5.742 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008707/0.15, allocations: 423 kB / 0.9885 GB, free: 5.328 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.001551/0.1516, allocations: 1.165 MB / 0.9896 GB, free: 4.16 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009068/0.1525, allocations: 322.4 kB / 0.9899 GB, free: 3.859 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001706/0.1542, allocations: 0.6378 MB / 0.9905 GB, free: 3.23 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005958/0.1548, allocations: 339 kB / 0.9908 GB, free: 2.898 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 8.176e-05/0.1549, allocations: 44 kB / 0.9909 GB, free: 2.855 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007198/0.1556, allocations: 339.1 kB / 0.9912 GB, free: 2.523 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001963/0.1558, allocations: 243.3 kB / 0.9914 GB, free: 2.285 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001957/0.156, allocations: 195.6 kB / 0.9916 GB, free: 2.094 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0009799/0.157, allocations: 0.6074 MB / 0.9922 GB, free: 1.484 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.157, allocations: 0 / 0.9922 GB, free: 1.484 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.973e-06/0.157, allocations: 0 / 0.9922 GB, free: 1.484 MB / 0.948 GB Notification: Performance of Transformations before backend: time 1.151e-05/0.157, allocations: 0 / 0.9922 GB, free: 1.484 MB / 0.948 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.001069/0.1581, allocations: 0.6938 MB / 0.9929 GB, free: 0.7617 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.1581, allocations: 8.922 kB / 0.9929 GB, free: 0.7539 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006793/0.1588, allocations: 192.5 kB / 0.9931 GB, free: 0.5664 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004926/0.1593, allocations: 356.2 kB / 0.9934 GB, free: 192 kB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.59e-05/0.1593, allocations: 33.12 kB / 0.9935 GB, free: 160 kB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.108e-05/0.1593, allocations: 36 kB / 0.9935 GB, free: 124 kB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003814/0.1597, allocations: 387.6 kB / 0.9939 GB, free: 15.7 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.702e-05/0.1597, allocations: 4 kB / 0.9939 GB, free: 15.7 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.457e-05/0.1598, allocations: 15.98 kB / 0.9939 GB, free: 15.68 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.92e-05/0.1598, allocations: 17 kB / 0.9939 GB, free: 15.67 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001747/0.16, allocations: 113.8 kB / 0.994 GB, free: 15.55 MB / 0.9636 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.001256/0.1613, allocations: 0.7922 MB / 0.9948 GB, free: 14.74 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003313/0.1616, allocations: 222.5 kB / 0.995 GB, free: 14.5 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.049e-05/0.1616, allocations: 52.59 kB / 0.995 GB, free: 14.44 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 9.78e-05/0.1617, allocations: 23.98 kB / 0.9951 GB, free: 14.42 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.371e-05/0.1618, allocations: 42.5 kB / 0.9951 GB, free: 14.37 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=25): time 2.435e-06/0.1618, allocations: 0 / 0.9951 GB, free: 14.37 MB / 0.9636 GB Notification: Performance of matching and sorting (n=25): time 0.0003716/0.1621, allocations: 169.8 kB / 0.9953 GB, free: 14.2 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.99e-05/0.1622, allocations: 81.11 kB / 0.9953 GB, free: 14.1 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001882/0.1624, allocations: 295.3 kB / 0.9956 GB, free: 13.8 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.947e-05/0.1624, allocations: 29.7 kB / 0.9957 GB, free: 13.77 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 9.559e-05/0.1625, allocations: 209.1 kB / 0.9959 GB, free: 13.55 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 5.53e-05/0.1626, allocations: 91.2 kB / 0.9959 GB, free: 13.46 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.642e-05/0.1626, allocations: 53.92 kB / 0.996 GB, free: 13.4 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001043/0.1627, allocations: 354.7 kB / 0.9963 GB, free: 13.04 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.341e-05/0.1628, allocations: 27.38 kB / 0.9964 GB, free: 13.02 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.777e-05/0.1629, allocations: 110.1 kB / 0.9965 GB, free: 12.88 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001449/0.163, allocations: 148.8 kB / 0.9966 GB, free: 12.71 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.163, allocations: 4 kB / 0.9966 GB, free: 12.71 MB / 0.9636 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001959/0.1632, allocations: 156.8 kB / 0.9968 GB, free: 12.55 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.1632, allocations: 8 kB / 0.9968 GB, free: 12.54 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.1632, allocations: 0 / 0.9968 GB, free: 12.54 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.1632, allocations: 4 kB / 0.9968 GB, free: 12.54 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001757/0.1634, allocations: 67.91 kB / 0.9968 GB, free: 12.47 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.95e-06/0.1634, allocations: 4.188 kB / 0.9968 GB, free: 12.47 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001407/0.1636, allocations: 27.77 kB / 0.9969 GB, free: 12.44 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.862e-05/0.1636, allocations: 12 kB / 0.9969 GB, free: 12.43 MB / 0.9636 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.0001066/0.1637, allocations: 128.5 kB / 0.997 GB, free: 12.29 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.466e-05/0.1637, allocations: 27.97 kB / 0.997 GB, free: 12.27 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.861e-05/0.1638, allocations: 47.36 kB / 0.9971 GB, free: 12.22 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.658e-06/0.1638, allocations: 7.984 kB / 0.9971 GB, free: 12.21 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.1638, allocations: 3.938 kB / 0.9971 GB, free: 12.21 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001599/0.164, allocations: 271.3 kB / 0.9973 GB, free: 11.89 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006308/0.1646, allocations: 0.5541 MB / 0.9979 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.1646, allocations: 0 / 0.9979 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002944/0.1649, allocations: 94.7 kB / 0.998 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.1649, allocations: 0 / 0.998 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.807e-05/0.1649, allocations: 8 kB / 0.998 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.1649, allocations: 4 kB / 0.998 GB, free: 11.19 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.1649, allocations: 0 / 0.998 GB, free: 11.19 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003107/0.1652, allocations: 370.7 kB / 0.9983 GB, free: 10.79 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 8.225e-05/0.1653, allocations: 59.66 kB / 0.9984 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.228e-05/0.1653, allocations: 8 kB / 0.9984 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001334/0.1655, allocations: 8 kB / 0.9984 GB, free: 10.72 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.268e-05/0.1655, allocations: 23.84 kB / 0.9984 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.465e-05/0.1655, allocations: 8 kB / 0.9984 GB, free: 10.69 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 9.913e-05/0.1656, allocations: 112.7 kB / 0.9985 GB, free: 10.57 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.1656, allocations: 0 / 0.9985 GB, free: 10.57 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.000335/0.166, allocations: 139.8 kB / 0.9987 GB, free: 10.44 MB / 0.9636 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.0002259/0.1662, allocations: 116.3 kB / 0.9988 GB, free: 10.31 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001915/0.1664, allocations: 125.1 kB / 0.9989 GB, free: 10.19 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 9.447e-06/0.1664, allocations: 8 kB / 0.9989 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 6.173e-05/0.1664, allocations: 65.25 kB / 0.999 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006091/0.1671, allocations: 258.8 kB / 0.9992 GB, free: 9.867 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001318/0.1684, allocations: 0.8159 MB / 1 GB, free: 9.004 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.461e-05/0.1685, allocations: 141.2 kB / 1 GB, free: 8.848 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0002224/0.1687, allocations: 59.27 kB / 1 GB, free: 8.789 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003423/0.169, allocations: 205.1 kB / 1 GB, free: 8.59 MB / 0.9636 GB Notification: Performance of SimCode: time 6.12e-07/0.169, allocations: 0 / 1 GB, free: 8.59 MB / 0.9636 GB Notification: Performance of Templates: time 0.01248/0.1815, allocations: 9.123 MB / 1.009 GB, free: 15.7 MB / 0.9792 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 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > 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: 5.562816004268825]