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.001534/0.001534, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001626/0.001626, allocations: 161 kB / 23.82 MB, free: 0.75 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.99/0.99, allocations: 177.1 MB / 204.2 MB, free: 5.254 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.926/1.926, allocations: 377.9 MB / 0.6236 GB, free: 8.527 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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 2.515e-06/2.515e-06, allocations: 0 / 0.8115 GB, free: 1.746 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.168e-05/3.42e-05, allocations: 2.312 kB / 0.8115 GB, free: 1.742 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.1532/0.1532, allocations: 148.3 MB / 0.9563 GB, free: 12.96 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.00553/0.1587, allocations: 3.436 MB / 0.9597 GB, free: 9.523 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007129/0.1594, allocations: 31.75 kB / 0.9597 GB, free: 9.492 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0006613/0.1601, allocations: 174.7 kB / 0.9599 GB, free: 9.32 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.001672/0.1618, allocations: 0.7964 MB / 0.9607 GB, free: 8.52 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.001526/0.1633, allocations: 0.7088 MB / 0.9614 GB, free: 7.809 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.001628/0.1649, allocations: 1.313 MB / 0.9626 GB, free: 6.492 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005337/0.1655, allocations: 396.1 kB / 0.963 GB, free: 6.102 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009029/0.1664, allocations: 0.6934 MB / 0.9637 GB, free: 5.406 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008403/0.1672, allocations: 432.8 kB / 0.9641 GB, free: 4.992 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 6.704e-05/0.1673, allocations: 52 kB / 0.9642 GB, free: 4.941 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001289/0.1686, allocations: 0.6546 MB / 0.9648 GB, free: 4.285 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0001938/0.1687, allocations: 235.3 kB / 0.965 GB, free: 4.055 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0002117/0.169, allocations: 247.4 kB / 0.9653 GB, free: 3.812 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.001116/0.1701, allocations: 0.8763 MB / 0.9661 GB, free: 2.93 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.1701, allocations: 0 / 0.9661 GB, free: 2.93 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.124e-06/0.1701, allocations: 0 / 0.9661 GB, free: 2.93 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 9.668e-06/0.1701, allocations: 4 kB / 0.9661 GB, free: 2.926 MB / 0.9167 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.001233/0.1713, allocations: 0.9858 MB / 0.9671 GB, free: 1.898 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.129e-05/0.1714, allocations: 16.03 kB / 0.9671 GB, free: 1.883 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008655/0.1722, allocations: 268.1 kB / 0.9674 GB, free: 1.621 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006362/0.1729, allocations: 450 kB / 0.9678 GB, free: 1.16 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.45e-05/0.1729, allocations: 33.12 kB / 0.9678 GB, free: 1.129 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.31e-05/0.173, allocations: 48 kB / 0.9679 GB, free: 1.082 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007988/0.1738, allocations: 0.7457 MB / 0.9686 GB, free: 236 kB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.551e-05/0.1738, allocations: 0 / 0.9686 GB, free: 236 kB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.484e-05/0.1738, allocations: 20 kB / 0.9686 GB, free: 216 kB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.072e-05/0.1739, allocations: 17 kB / 0.9686 GB, free: 200 kB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003727/0.1742, allocations: 205.8 kB / 0.9688 GB, free: 15.99 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002238/0.1765, allocations: 1.856 MB / 0.9706 GB, free: 14.07 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000273/0.1768, allocations: 103 kB / 0.9707 GB, free: 13.95 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.034e-05/0.1768, allocations: 47.67 kB / 0.9708 GB, free: 13.9 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 3.83e-05/0.1769, allocations: 3.938 kB / 0.9708 GB, free: 13.9 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.711e-05/0.1769, allocations: 41.39 kB / 0.9708 GB, free: 13.85 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=11): time 2.795e-06/0.1769, allocations: 0 / 0.9708 GB, free: 13.85 MB / 0.9323 GB Notification: Performance of matching and sorting (n=11): time 0.00167/0.1786, allocations: 0.4928 MB / 0.9713 GB, free: 13.34 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.875e-05/0.1786, allocations: 85.09 kB / 0.9714 GB, free: 13.24 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003486/0.179, allocations: 426.6 kB / 0.9718 GB, free: 12.81 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 3.034e-05/0.179, allocations: 29.7 kB / 0.9718 GB, free: 12.77 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002075/0.1792, allocations: 370.4 kB / 0.9722 GB, free: 12.41 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 3.302e-05/0.1793, allocations: 43.64 kB / 0.9722 GB, free: 12.36 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.698e-05/0.1794, allocations: 63.31 kB / 0.9723 GB, free: 12.29 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001365/0.1795, allocations: 0.5235 MB / 0.9728 GB, free: 11.76 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001375/0.1796, allocations: 43.97 kB / 0.9728 GB, free: 11.71 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001482/0.1798, allocations: 174.2 kB / 0.973 GB, free: 11.49 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002133/0.18, allocations: 186.6 kB / 0.9732 GB, free: 11.27 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.18, allocations: 0 / 0.9732 GB, free: 11.27 MB / 0.9323 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007565/0.1807, allocations: 362.8 kB / 0.9735 GB, free: 10.91 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/0.1808, allocations: 8 kB / 0.9735 GB, free: 10.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/0.1808, allocations: 4 kB / 0.9735 GB, free: 10.89 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007678/0.1815, allocations: 247.5 kB / 0.9738 GB, free: 10.65 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001766/0.1817, allocations: 59.89 kB / 0.9738 GB, free: 10.59 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001885/0.1836, allocations: 2.043 MB / 0.9758 GB, free: 8.426 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002436/0.1838, allocations: 51.69 kB / 0.9759 GB, free: 8.375 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.923e-05/0.1839, allocations: 12 kB / 0.9759 GB, free: 8.363 MB / 0.9323 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001787/0.184, allocations: 172.5 kB / 0.976 GB, free: 8.184 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.525e-05/0.1841, allocations: 39.77 kB / 0.9761 GB, free: 8.145 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.396e-05/0.1842, allocations: 51.2 kB / 0.9761 GB, free: 8.094 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.1842, allocations: 0 / 0.9761 GB, free: 8.094 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.1842, allocations: 192 / 0.9761 GB, free: 8.094 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.1842, allocations: 4 kB / 0.9761 GB, free: 8.09 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001096/0.1853, allocations: 0.7068 MB / 0.9768 GB, free: 7.328 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.327e-06/0.1853, allocations: 0 / 0.9768 GB, free: 7.328 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.656e-05/0.1854, allocations: 32.03 kB / 0.9769 GB, free: 7.297 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006481/0.186, allocations: 239.4 kB / 0.9771 GB, free: 7.059 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.757e-05/0.186, allocations: 4 kB / 0.9771 GB, free: 7.055 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001549/0.1876, allocations: 1.998 MB / 0.979 GB, free: 4.93 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.1876, allocations: 3.938 kB / 0.979 GB, free: 4.926 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006898/0.1883, allocations: 442.4 kB / 0.9795 GB, free: 4.461 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001198/0.1884, allocations: 75.66 kB / 0.9795 GB, free: 4.387 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.777e-05/0.1884, allocations: 0 / 0.9795 GB, free: 4.387 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002032/0.1886, allocations: 31.97 kB / 0.9796 GB, free: 4.355 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.152e-05/0.1887, allocations: 15.97 kB / 0.9796 GB, free: 4.34 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.335e-05/0.1887, allocations: 11.98 kB / 0.9796 GB, free: 4.328 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0002026/0.1889, allocations: 283.1 kB / 0.9799 GB, free: 4.055 MB / 0.9323 GB Notification: Performance of sort global known variables: time 8.1e-08/0.1889, allocations: 0 / 0.9799 GB, free: 4.055 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0005012/0.1894, allocations: 195.6 kB / 0.9801 GB, free: 3.863 MB / 0.9323 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002508/0.1897, allocations: 151.7 kB / 0.9802 GB, free: 3.703 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0005158/0.1902, allocations: 333.2 kB / 0.9805 GB, free: 3.355 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.1902, allocations: 0 / 0.9805 GB, free: 3.355 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0001887/0.1904, allocations: 242 kB / 0.9807 GB, free: 3.098 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006434/0.191, allocations: 219.1 kB / 0.981 GB, free: 2.887 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001875/0.1929, allocations: 0.8823 MB / 0.9818 GB, free: 1.961 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.412e-05/0.193, allocations: 141.2 kB / 0.9819 GB, free: 1.801 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0002159/0.1932, allocations: 75.23 kB / 0.982 GB, free: 1.727 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.166e-05/0.1933, allocations: 32.48 kB / 0.9821 GB, free: 1.695 MB / 0.9323 GB Notification: Performance of SimCode: time 1.502e-06/0.1933, allocations: 0 / 0.9821 GB, free: 1.695 MB / 0.9323 GB Notification: Performance of Templates: time 0.01245/0.2057, allocations: 9.591 MB / 0.9914 GB, free: 8.336 MB / 0.948 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 -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.761259575840086]