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.001239/0.001239, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001712/0.002951, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001068/0.001068, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00139/0.002458, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9694/0.9694, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1011/1.071, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.459/2.459, allocations: 447.1 MB / 0.675 GB, free: 5.902 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.3038/2.763, allocations: 146 MB / 0.8176 GB, free: 3.824 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.413e-06/1.413e-06, allocations: 0 / 0.8189 GB, free: 2.508 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.638e-05/2.779e-05, allocations: 4.984 kB / 0.8189 GB, free: 2.504 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.1497/0.1497, allocations: 148.1 MB / 0.9636 GB, free: 13.78 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.004098/0.1538, allocations: 3.483 MB / 0.967 GB, free: 10.28 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000358/0.1541, allocations: 31.75 kB / 0.967 GB, free: 10.25 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004188/0.1546, allocations: 182.7 kB / 0.9672 GB, free: 10.07 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.001274/0.1558, allocations: 0.7924 MB / 0.968 GB, free: 9.273 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001173/0.157, allocations: 0.6893 MB / 0.9686 GB, free: 8.582 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.001301/0.1583, allocations: 1.3 MB / 0.9699 GB, free: 7.281 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001097/0.1594, allocations: 406.5 kB / 0.9703 GB, free: 6.887 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001104/0.1605, allocations: 0.8437 MB / 0.9711 GB, free: 6.062 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004775/0.161, allocations: 386.8 kB / 0.9715 GB, free: 5.684 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 6.75e-05/0.1611, allocations: 52 kB / 0.9715 GB, free: 5.633 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007939/0.1619, allocations: 0.5807 MB / 0.9721 GB, free: 5.051 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001564/0.162, allocations: 195.5 kB / 0.9723 GB, free: 4.859 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001554/0.1622, allocations: 191.7 kB / 0.9725 GB, free: 4.672 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0008687/0.163, allocations: 0.7633 MB / 0.9732 GB, free: 3.906 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.118e-05/0.163, allocations: 4 kB / 0.9732 GB, free: 3.902 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.362e-06/0.163, allocations: 0 / 0.9732 GB, free: 3.902 MB / 0.948 GB Notification: Performance of Transformations before backend: time 1.165e-05/0.1631, allocations: 4 kB / 0.9732 GB, free: 3.898 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: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.001063/0.1641, allocations: 1.049 MB / 0.9743 GB, free: 2.805 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 2.874e-05/0.1641, allocations: 12.03 kB / 0.9743 GB, free: 2.793 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006761/0.1648, allocations: 260.3 kB / 0.9745 GB, free: 2.539 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004936/0.1653, allocations: 359.6 kB / 0.9749 GB, free: 2.16 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.256e-05/0.1653, allocations: 45.06 kB / 0.9749 GB, free: 2.117 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.532e-05/0.1654, allocations: 43.98 kB / 0.9749 GB, free: 2.074 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006033/0.166, allocations: 0.6755 MB / 0.9756 GB, free: 1.297 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.166, allocations: 0 / 0.9756 GB, free: 1.297 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.735e-05/0.1661, allocations: 24 kB / 0.9756 GB, free: 1.273 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.931e-05/0.1661, allocations: 24.92 kB / 0.9757 GB, free: 1.25 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002239/0.1663, allocations: 156.5 kB / 0.9758 GB, free: 1.098 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001644/0.168, allocations: 1.317 MB / 0.9771 GB, free: 15.73 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002075/0.1682, allocations: 133.2 kB / 0.9772 GB, free: 15.59 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.694e-05/0.1682, allocations: 28.86 kB / 0.9772 GB, free: 15.56 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.033e-05/0.1682, allocations: 4 kB / 0.9772 GB, free: 15.55 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.067e-05/0.1683, allocations: 42.56 kB / 0.9773 GB, free: 15.5 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=11): time 1.413e-06/0.1683, allocations: 0 / 0.9773 GB, free: 15.5 MB / 0.9636 GB Notification: Performance of matching and sorting (n=11): time 0.001287/0.1696, allocations: 420.9 kB / 0.9777 GB, free: 15.08 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.969e-05/0.1696, allocations: 51.41 kB / 0.9777 GB, free: 15.02 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002232/0.1698, allocations: 359.2 kB / 0.9781 GB, free: 14.65 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 3.194e-05/0.1699, allocations: 29.7 kB / 0.9781 GB, free: 14.62 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001186/0.17, allocations: 284.6 kB / 0.9784 GB, free: 14.34 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.833e-05/0.17, allocations: 35.7 kB / 0.9784 GB, free: 14.3 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.42e-05/0.1701, allocations: 57.61 kB / 0.9785 GB, free: 14.24 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.000192/0.1703, allocations: 346.7 kB / 0.9788 GB, free: 13.89 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.94e-05/0.1703, allocations: 42.81 kB / 0.9788 GB, free: 13.85 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000101/0.1704, allocations: 135 kB / 0.979 GB, free: 13.68 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001571/0.1706, allocations: 168.5 kB / 0.9791 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.1706, allocations: 0 / 0.9791 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005321/0.1711, allocations: 290.4 kB / 0.9794 GB, free: 13.19 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.1711, allocations: 8 kB / 0.9794 GB, free: 13.18 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.87e-06/0.1711, allocations: 0 / 0.9794 GB, free: 13.18 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005957/0.1717, allocations: 247.5 kB / 0.9797 GB, free: 12.93 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001671/0.1719, allocations: 67.89 kB / 0.9797 GB, free: 12.87 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001167/0.1731, allocations: 1.41 MB / 0.9811 GB, free: 11.36 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000173/0.1732, allocations: 51.7 kB / 0.9811 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.597e-05/0.1733, allocations: 12 kB / 0.9812 GB, free: 11.29 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 0.0001025/0.1734, allocations: 120.6 kB / 0.9813 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.59e-05/0.1734, allocations: 35.91 kB / 0.9813 GB, free: 11.13 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.347e-05/0.1734, allocations: 43.3 kB / 0.9813 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.1735, allocations: 4 kB / 0.9813 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.375e-06/0.1735, allocations: 192 / 0.9813 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.289e-06/0.1735, allocations: 4 kB / 0.9814 GB, free: 11.08 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007095/0.1742, allocations: 0.5347 MB / 0.9819 GB, free: 10.51 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.1742, allocations: 8.047 kB / 0.9819 GB, free: 10.5 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.091e-05/0.1743, allocations: 31.95 kB / 0.9819 GB, free: 10.47 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 7.778e-05/0.1743, allocations: 51.69 kB / 0.982 GB, free: 10.42 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005413/0.1749, allocations: 242.2 kB / 0.9822 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.445e-05/0.1749, allocations: 11.94 kB / 0.9822 GB, free: 10.17 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009207/0.1758, allocations: 1.391 MB / 0.9836 GB, free: 8.684 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.123e-06/0.1758, allocations: 3.984 kB / 0.9836 GB, free: 8.68 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007878/0.1766, allocations: 374.2 kB / 0.9839 GB, free: 8.285 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.007e-05/0.1766, allocations: 7.984 kB / 0.9839 GB, free: 8.277 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001782/0.1768, allocations: 21.81 kB / 0.984 GB, free: 8.258 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.645e-05/0.1768, allocations: 19.91 kB / 0.984 GB, free: 8.238 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.722e-05/0.1769, allocations: 19.98 kB / 0.984 GB, free: 8.219 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 9.471e-05/0.177, allocations: 136.7 kB / 0.9841 GB, free: 8.086 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.177, allocations: 0 / 0.9841 GB, free: 8.086 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0003299/0.1773, allocations: 199.6 kB / 0.9843 GB, free: 7.891 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.0002043/0.1775, allocations: 124.2 kB / 0.9844 GB, free: 7.758 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0003227/0.1778, allocations: 251.1 kB / 0.9847 GB, free: 7.496 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.349e-05/0.1778, allocations: 16.81 kB / 0.9847 GB, free: 7.48 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001346/0.178, allocations: 175.5 kB / 0.9849 GB, free: 7.293 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008138/0.1788, allocations: 1.341 MB / 0.9862 GB, free: 5.707 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00412/0.1829, allocations: 0.9274 MB / 0.9871 GB, free: 4.734 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.524e-05/0.183, allocations: 129.2 kB / 0.9872 GB, free: 4.586 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0001578/0.1831, allocations: 63.27 kB / 0.9872 GB, free: 4.527 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003433/0.1835, allocations: 223 kB / 0.9875 GB, free: 4.309 MB / 0.9636 GB Notification: Performance of SimCode: time 7.11e-07/0.1835, allocations: 0 / 0.9875 GB, free: 4.309 MB / 0.9636 GB Notification: Performance of Templates: time 0.01211/0.1956, allocations: 10.58 MB / 0.9978 GB, free: 9.957 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 -emit_protected -ignoreHideResult -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate/Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.736806557513773]