Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001363/0.001363, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.001512/0.001512, allocations: 161 kB / 24.17 MB, free: 332 kB / 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.033/1.033, allocations: 177.1 MB / 204.6 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.898/1.898, allocations: 377.9 MB / 0.624 GB, free: 8.375 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/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_12_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_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.804e-06/1.804e-06, allocations: 0 / 0.76 GB, free: 6.633 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.459e-05/2.639e-05, allocations: 2.312 kB / 0.76 GB, free: 6.629 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.1378/0.1378, allocations: 147.7 MB / 0.9043 GB, free: 2.574 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.005142/0.1429, allocations: 3.477 MB / 0.9077 GB, free: 15.09 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005647/0.1435, allocations: 31.75 kB / 0.9077 GB, free: 15.06 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0005388/0.1441, allocations: 178.7 kB / 0.9079 GB, free: 14.88 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.00143/0.1455, allocations: 0.7885 MB / 0.9086 GB, free: 14.09 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001308/0.1468, allocations: 0.6971 MB / 0.9093 GB, free: 13.39 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.001381/0.1482, allocations: 1.309 MB / 0.9106 GB, free: 12.07 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000853/0.149, allocations: 417.1 kB / 0.911 GB, free: 11.67 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001369/0.1504, allocations: 0.7757 MB / 0.9118 GB, free: 10.91 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008626/0.1513, allocations: 394.8 kB / 0.9121 GB, free: 10.52 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 8.602e-05/0.1513, allocations: 48 kB / 0.9122 GB, free: 10.48 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009442/0.1523, allocations: 0.5961 MB / 0.9128 GB, free: 9.879 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002194/0.1525, allocations: 235.3 kB / 0.913 GB, free: 9.648 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002262/0.1527, allocations: 227.5 kB / 0.9132 GB, free: 9.426 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.001223/0.154, allocations: 0.849 MB / 0.914 GB, free: 8.574 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.154, allocations: 3.984 kB / 0.914 GB, free: 8.57 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.192e-06/0.154, allocations: 0 / 0.914 GB, free: 8.57 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.497e-05/0.154, allocations: 0 / 0.914 GB, free: 8.57 MB / 0.8698 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.001154/0.1551, allocations: 0.8377 MB / 0.9149 GB, free: 7.703 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.289e-05/0.1552, allocations: 12.02 kB / 0.9149 GB, free: 7.691 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008062/0.156, allocations: 256.4 kB / 0.9151 GB, free: 7.441 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005667/0.1565, allocations: 359.6 kB / 0.9155 GB, free: 7.07 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.57e-05/0.1566, allocations: 41.11 kB / 0.9155 GB, free: 7.027 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.155e-05/0.1566, allocations: 48 kB / 0.9155 GB, free: 6.98 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006082/0.1572, allocations: 0.6715 MB / 0.9162 GB, free: 6.211 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.1572, allocations: 4 kB / 0.9162 GB, free: 6.207 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.448e-05/0.1573, allocations: 20 kB / 0.9162 GB, free: 6.188 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.705e-05/0.1573, allocations: 21 kB / 0.9162 GB, free: 6.168 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002399/0.1575, allocations: 152.5 kB / 0.9164 GB, free: 6.02 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001842/0.1594, allocations: 1.321 MB / 0.9177 GB, free: 4.645 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000221/0.1596, allocations: 141.2 kB / 0.9178 GB, free: 4.496 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.222e-05/0.1597, allocations: 33.06 kB / 0.9178 GB, free: 4.461 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.977e-05/0.1597, allocations: 3.938 kB / 0.9178 GB, free: 4.457 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.367e-05/0.1597, allocations: 38.5 kB / 0.9179 GB, free: 4.41 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=11): time 2.565e-06/0.1597, allocations: 4 kB / 0.9179 GB, free: 4.406 MB / 0.8698 GB Notification: Performance of matching and sorting (n=11): time 0.001335/0.161, allocations: 416.8 kB / 0.9183 GB, free: 3.988 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.562e-05/0.1611, allocations: 81.11 kB / 0.9184 GB, free: 3.891 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002428/0.1613, allocations: 343.2 kB / 0.9187 GB, free: 3.543 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.946e-05/0.1613, allocations: 33.7 kB / 0.9187 GB, free: 3.504 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.00014/0.1615, allocations: 280.6 kB / 0.919 GB, free: 3.223 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.08e-05/0.1615, allocations: 43.67 kB / 0.919 GB, free: 3.18 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.35e-05/0.1616, allocations: 61.59 kB / 0.9191 GB, free: 3.113 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001083/0.1617, allocations: 346.7 kB / 0.9194 GB, free: 2.766 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.638e-05/0.1618, allocations: 42.81 kB / 0.9195 GB, free: 2.723 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001448/0.1619, allocations: 139 kB / 0.9196 GB, free: 2.547 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001574/0.1621, allocations: 147.9 kB / 0.9197 GB, free: 2.371 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.1621, allocations: 0 / 0.9197 GB, free: 2.371 MB / 0.8698 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006018/0.1627, allocations: 293.5 kB / 0.92 GB, free: 2.074 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.1627, allocations: 4 kB / 0.92 GB, free: 2.07 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.761e-05/0.1627, allocations: 4 kB / 0.92 GB, free: 2.066 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000686/0.1634, allocations: 243.5 kB / 0.9203 GB, free: 1.824 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001721/0.1636, allocations: 59.89 kB / 0.9203 GB, free: 1.766 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001312/0.1649, allocations: 1.414 MB / 0.9217 GB, free: 260 kB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002409/0.1651, allocations: 47.75 kB / 0.9217 GB, free: 212 kB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.763e-05/0.1652, allocations: 8 kB / 0.9217 GB, free: 204 kB / 0.8698 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 0.000165/0.1653, allocations: 124.6 kB / 0.9219 GB, free: 68 kB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.841e-05/0.1654, allocations: 39.89 kB / 0.9219 GB, free: 28 kB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.737e-05/0.1654, allocations: 39.36 kB / 0.9219 GB, free: 15.99 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.1655, allocations: 0 / 0.9219 GB, free: 15.99 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.1655, allocations: 3.984 kB / 0.9219 GB, free: 15.98 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.1655, allocations: 0 / 0.9219 GB, free: 15.98 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009757/0.1664, allocations: 0.5307 MB / 0.9225 GB, free: 15.42 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.1664, allocations: 64 / 0.9225 GB, free: 15.42 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.834e-05/0.1665, allocations: 35.91 kB / 0.9225 GB, free: 15.39 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006137/0.1671, allocations: 242.2 kB / 0.9227 GB, free: 15.14 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.445e-05/0.1672, allocations: 4 kB / 0.9227 GB, free: 15.14 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001039/0.1682, allocations: 1.399 MB / 0.9241 GB, free: 13.65 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.1682, allocations: 0 / 0.9241 GB, free: 13.65 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005665/0.1688, allocations: 382.6 kB / 0.9245 GB, free: 13.25 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 9.799e-05/0.1689, allocations: 51.69 kB / 0.9245 GB, free: 13.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.173e-05/0.1689, allocations: 8 kB / 0.9245 GB, free: 13.19 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001902/0.1691, allocations: 23.97 kB / 0.9245 GB, free: 13.16 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.752e-05/0.1691, allocations: 19.91 kB / 0.9246 GB, free: 13.14 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.996e-05/0.1692, allocations: 11.98 kB / 0.9246 GB, free: 13.13 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001139/0.1693, allocations: 152.6 kB / 0.9247 GB, free: 12.98 MB / 0.8855 GB Notification: Performance of sort global known variables: time 3e-08/0.1693, allocations: 0 / 0.9247 GB, free: 12.98 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0004631/0.1697, allocations: 195.6 kB / 0.9249 GB, free: 12.79 MB / 0.8855 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.0002316/0.17, allocations: 128.2 kB / 0.925 GB, free: 12.66 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0003981/0.1704, allocations: 247.3 kB / 0.9253 GB, free: 12.4 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.441e-05/0.1704, allocations: 4 kB / 0.9253 GB, free: 12.39 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001513/0.1705, allocations: 179.9 kB / 0.9254 GB, free: 12.2 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008023/0.1713, allocations: 204 kB / 0.9256 GB, free: 12 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001642/0.173, allocations: 0.904 MB / 0.9265 GB, free: 11.05 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.105e-05/0.1731, allocations: 133.2 kB / 0.9266 GB, free: 10.9 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0002434/0.1733, allocations: 63.25 kB / 0.9267 GB, free: 10.84 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003949/0.1737, allocations: 219 kB / 0.9269 GB, free: 10.63 MB / 0.8855 GB Notification: Performance of SimCode: time 1.443e-06/0.1737, allocations: 0 / 0.9269 GB, free: 10.63 MB / 0.8855 GB Notification: Performance of Templates: time 0.01263/0.1863, allocations: 10.16 MB / 0.9368 GB, free: 0.7148 MB / 0.8855 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & ./Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.4269887511618435]