Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.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.0009837/0.0009837, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001608/0.001608, allocations: 177 kB / 23.36 MB, free: 1.129 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 1.032/1.032, allocations: 177.2 MB / 203.8 MB, free: 5.477 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.435/2.435, allocations: 438.8 MB / 0.6827 GB, free: 13.54 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.Examples.MixingVolumePrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.ports.[0-9,]+..m_flow|vol.heatPort.Q_flow|vol.heatPort.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate") translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.ports.[0-9,]+..m_flow|vol.heatPort.Q_flow|vol.heatPort.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 0.8386 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.077e-05/2.21e-05, allocations: 7.234 kB / 0.8386 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.1556/0.1556, allocations: 147.7 MB / 0.9828 GB, free: 9.855 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.004018/0.1596, allocations: 3.483 MB / 0.9862 GB, free: 6.367 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002835/0.1599, allocations: 27.81 kB / 0.9863 GB, free: 6.34 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004197/0.1603, allocations: 170.8 kB / 0.9864 GB, free: 6.172 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.001096/0.1614, allocations: 0.8118 MB / 0.9872 GB, free: 5.355 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001011/0.1624, allocations: 0.6971 MB / 0.9879 GB, free: 4.656 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.001046/0.1635, allocations: 1.294 MB / 0.9892 GB, free: 3.355 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005981/0.1641, allocations: 416.2 kB / 0.9896 GB, free: 2.949 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009173/0.165, allocations: 0.7843 MB / 0.9903 GB, free: 2.18 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003869/0.1654, allocations: 386.8 kB / 0.9907 GB, free: 1.801 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 5.545e-05/0.1654, allocations: 48 kB / 0.9908 GB, free: 1.754 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006556/0.1661, allocations: 0.5961 MB / 0.9913 GB, free: 1.156 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001442/0.1662, allocations: 231.3 kB / 0.9916 GB, free: 0.9297 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001531/0.1664, allocations: 223.5 kB / 0.9918 GB, free: 0.7109 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0007281/0.1671, allocations: 0.8567 MB / 0.9926 GB, free: 15.85 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.1671, allocations: 0 / 0.9926 GB, free: 15.85 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.243e-06/0.1671, allocations: 4 kB / 0.9926 GB, free: 15.85 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.1671, allocations: 0 / 0.9926 GB, free: 15.85 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: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.000846/0.168, allocations: 0.8335 MB / 0.9934 GB, free: 14.99 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 2.79e-05/0.168, allocations: 12.62 kB / 0.9934 GB, free: 14.98 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006823/0.1687, allocations: 256.4 kB / 0.9937 GB, free: 14.73 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003676/0.169, allocations: 351.7 kB / 0.994 GB, free: 14.36 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.724e-05/0.1691, allocations: 45.11 kB / 0.9941 GB, free: 14.31 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.46e-05/0.1691, allocations: 40 kB / 0.9941 GB, free: 14.27 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005306/0.1696, allocations: 0.6793 MB / 0.9948 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.1696, allocations: 0 / 0.9948 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.316e-05/0.1697, allocations: 20 kB / 0.9948 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.294e-05/0.1697, allocations: 24.98 kB / 0.9948 GB, free: 13.45 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002189/0.1699, allocations: 156.5 kB / 0.995 GB, free: 13.3 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001481/0.1714, allocations: 1.325 MB / 0.9962 GB, free: 11.93 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001868/0.1716, allocations: 141.1 kB / 0.9964 GB, free: 11.78 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.709e-05/0.1716, allocations: 28.86 kB / 0.9964 GB, free: 11.75 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.376e-05/0.1716, allocations: 4 kB / 0.9964 GB, free: 11.74 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.1e-05/0.1717, allocations: 42.55 kB / 0.9965 GB, free: 11.69 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=11): time 1.213e-06/0.1717, allocations: 0 / 0.9965 GB, free: 11.69 MB / 0.9636 GB Notification: Performance of matching and sorting (n=11): time 0.001217/0.1729, allocations: 416.6 kB / 0.9968 GB, free: 11.28 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.023e-05/0.1729, allocations: 81.11 kB / 0.9969 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002039/0.1731, allocations: 355.2 kB / 0.9973 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.36e-05/0.1731, allocations: 29.7 kB / 0.9973 GB, free: 10.79 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.000104/0.1733, allocations: 280.6 kB / 0.9976 GB, free: 10.51 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.737e-05/0.1733, allocations: 39.7 kB / 0.9976 GB, free: 10.47 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.458e-05/0.1734, allocations: 65.61 kB / 0.9977 GB, free: 10.4 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.045e-05/0.1734, allocations: 347 kB / 0.998 GB, free: 10.05 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.019e-05/0.1735, allocations: 34.75 kB / 0.998 GB, free: 10.02 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.61e-05/0.1736, allocations: 139 kB / 0.9982 GB, free: 9.84 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001453/0.1737, allocations: 148.1 kB / 0.9983 GB, free: 9.664 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.1737, allocations: 0 / 0.9983 GB, free: 9.664 MB / 0.9636 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005591/0.1743, allocations: 283.8 kB / 0.9986 GB, free: 9.375 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.138e-05/0.1743, allocations: 8 kB / 0.9986 GB, free: 9.367 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.1743, allocations: 4 kB / 0.9986 GB, free: 9.363 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006042/0.1749, allocations: 235.6 kB / 0.9988 GB, free: 9.129 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000158/0.1751, allocations: 63.89 kB / 0.9989 GB, free: 9.066 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001059/0.1761, allocations: 1.426 MB / 1 GB, free: 7.543 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000178/0.1763, allocations: 43.77 kB / 1 GB, free: 7.5 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.659e-05/0.1763, allocations: 12 kB / 1 GB, free: 7.488 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (26): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.858e-05/0.1764, allocations: 120.7 kB / 1 GB, free: 7.359 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.999e-05/0.1765, allocations: 43.84 kB / 1 GB, free: 7.316 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.612e-05/0.1765, allocations: 39.28 kB / 1.001 GB, free: 7.273 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-06/0.1765, allocations: 0 / 1.001 GB, free: 7.273 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.185e-06/0.1765, allocations: 0 / 1.001 GB, free: 7.273 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.1765, allocations: 3.984 kB / 1.001 GB, free: 7.27 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007329/0.1773, allocations: 0.5385 MB / 1.001 GB, free: 6.695 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.1773, allocations: 0 / 1.001 GB, free: 6.695 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.779e-05/0.1773, allocations: 27.97 kB / 1.001 GB, free: 6.668 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005586/0.1779, allocations: 238.3 kB / 1.001 GB, free: 6.43 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.538e-05/0.1779, allocations: 16.11 kB / 1.001 GB, free: 6.414 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001031/0.1789, allocations: 1.388 MB / 1.003 GB, free: 4.93 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.1789, allocations: 0 / 1.003 GB, free: 4.93 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000535/0.1795, allocations: 382.1 kB / 1.003 GB, free: 4.527 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 8.181e-05/0.1796, allocations: 55.67 kB / 1.003 GB, free: 4.473 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.016e-05/0.1796, allocations: 8 kB / 1.003 GB, free: 4.465 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001845/0.1798, allocations: 27.97 kB / 1.003 GB, free: 4.438 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.35e-05/0.1798, allocations: 15.97 kB / 1.003 GB, free: 4.422 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.607e-05/0.1798, allocations: 11.98 kB / 1.003 GB, free: 4.41 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0001009/0.1799, allocations: 148.6 kB / 1.003 GB, free: 4.262 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.1799, allocations: 0 / 1.003 GB, free: 4.262 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0003327/0.1803, allocations: 203.5 kB / 1.003 GB, free: 4.062 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001757/0.1804, allocations: 131.9 kB / 1.004 GB, free: 3.93 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0003249/0.1808, allocations: 247.7 kB / 1.004 GB, free: 3.672 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 9.468e-06/0.1808, allocations: 7.938 kB / 1.004 GB, free: 3.664 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001278/0.1809, allocations: 175.4 kB / 1.004 GB, free: 3.477 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004885/0.1814, allocations: 215 kB / 1.004 GB, free: 3.273 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001401/0.1828, allocations: 0.8962 MB / 1.005 GB, free: 2.336 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.739e-05/0.1829, allocations: 129.2 kB / 1.005 GB, free: 2.191 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0001744/0.1831, allocations: 55.27 kB / 1.005 GB, free: 2.137 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003539/0.1834, allocations: 215.1 kB / 1.005 GB, free: 1.926 MB / 0.9636 GB Notification: Performance of SimCode: time 7.31e-07/0.1834, allocations: 4 kB / 1.005 GB, free: 1.922 MB / 0.9636 GB Notification: Performance of Templates: time 0.01111/0.1945, allocations: 10.14 MB / 1.015 GB, free: 8.012 MB / 0.9792 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.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.7673277808353305]