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.001166/0.001166, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003105/0.004271, allocations: 449.8 kB / 10.44 MB, free: 252 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.001426/0.001426, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001792/0.003219, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.9465/0.9465, allocations: 177.2 MB / 189.8 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09368/1.04, 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 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.762/1.762, allocations: 378.4 MB / 0.6079 GB, free: 7.703 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4664/2.229, allocations: 123.3 MB / 0.7283 GB, free: 5.73 MB / 0.698 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.333e-06/1.333e-06, allocations: 0 / 0.7296 GB, free: 4.426 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.028e-05/1.161e-05, allocations: 5.891 kB / 0.7296 GB, free: 4.422 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.1323/0.1323, allocations: 148.1 MB / 0.8743 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.003876/0.1362, allocations: 3.486 MB / 0.8777 GB, free: 12.47 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002706/0.1364, allocations: 31.75 kB / 0.8777 GB, free: 12.44 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0004239/0.1368, allocations: 186.6 kB / 0.8779 GB, free: 12.26 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.001036/0.1379, allocations: 0.7885 MB / 0.8787 GB, free: 11.46 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009405/0.1388, allocations: 0.6854 MB / 0.8794 GB, free: 10.78 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.000976/0.1398, allocations: 1.299 MB / 0.8806 GB, free: 9.477 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006961/0.1405, allocations: 414.2 kB / 0.881 GB, free: 9.078 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009196/0.1414, allocations: 0.8391 MB / 0.8818 GB, free: 8.258 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003958/0.1418, allocations: 386.9 kB / 0.8822 GB, free: 7.879 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 6.095e-05/0.1419, allocations: 52 kB / 0.8823 GB, free: 7.828 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006496/0.1425, allocations: 0.5807 MB / 0.8828 GB, free: 7.246 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0002214/0.1427, allocations: 203.4 kB / 0.883 GB, free: 7.047 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001508/0.1429, allocations: 191.7 kB / 0.8832 GB, free: 6.859 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0007522/0.1436, allocations: 0.7555 MB / 0.8839 GB, free: 6.102 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 9.478e-06/0.1437, allocations: 0 / 0.8839 GB, free: 6.102 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.542e-06/0.1437, allocations: 0 / 0.8839 GB, free: 6.102 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.216e-05/0.1437, allocations: 4 kB / 0.8839 GB, free: 6.098 MB / 0.8542 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.001014/0.1447, allocations: 1.061 MB / 0.885 GB, free: 4.992 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 2.965e-05/0.1447, allocations: 8.031 kB / 0.885 GB, free: 4.984 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006519/0.1454, allocations: 260.3 kB / 0.8852 GB, free: 4.73 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000389/0.1458, allocations: 351.6 kB / 0.8856 GB, free: 4.359 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.542e-05/0.1458, allocations: 49.11 kB / 0.8856 GB, free: 4.312 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.001e-05/0.1458, allocations: 44 kB / 0.8857 GB, free: 4.27 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005159/0.1463, allocations: 0.6715 MB / 0.8863 GB, free: 3.504 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.1464, allocations: 0 / 0.8863 GB, free: 3.504 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.763e-05/0.1464, allocations: 24 kB / 0.8863 GB, free: 3.48 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.378e-05/0.1464, allocations: 17 kB / 0.8863 GB, free: 3.465 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002102/0.1466, allocations: 164.4 kB / 0.8865 GB, free: 3.297 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00148/0.1481, allocations: 1.325 MB / 0.8878 GB, free: 1.922 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001955/0.1483, allocations: 137.2 kB / 0.8879 GB, free: 1.777 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.611e-05/0.1483, allocations: 24.84 kB / 0.888 GB, free: 1.75 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.961e-05/0.1484, allocations: 4 kB / 0.888 GB, free: 1.746 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.246e-05/0.1484, allocations: 42.5 kB / 0.888 GB, free: 1.695 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=11): time 1.503e-06/0.1484, allocations: 0 / 0.888 GB, free: 1.695 MB / 0.8542 GB Notification: Performance of matching and sorting (n=11): time 0.001214/0.1496, allocations: 424.7 kB / 0.8884 GB, free: 1.27 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.369e-05/0.1496, allocations: 51.41 kB / 0.8885 GB, free: 1.207 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002012/0.1498, allocations: 355.4 kB / 0.8888 GB, free: 0.8516 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.542e-05/0.1499, allocations: 29.7 kB / 0.8888 GB, free: 0.8164 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.000107/0.15, allocations: 284.5 kB / 0.8891 GB, free: 0.5312 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.621e-05/0.15, allocations: 39.69 kB / 0.8891 GB, free: 0.4922 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.249e-05/0.1501, allocations: 57.61 kB / 0.8892 GB, free: 440 kB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 8.268e-05/0.1501, allocations: 342.8 kB / 0.8895 GB, free: 88 kB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.661e-05/0.1502, allocations: 38.81 kB / 0.8895 GB, free: 48 kB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001199/0.1503, allocations: 139 kB / 0.8897 GB, free: 15.87 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001607/0.1505, allocations: 164.6 kB / 0.8898 GB, free: 15.68 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1505, allocations: 0 / 0.8898 GB, free: 15.68 MB / 0.8698 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005518/0.151, allocations: 285.8 kB / 0.8901 GB, free: 15.39 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.1511, allocations: 11.98 kB / 0.8901 GB, free: 15.38 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.1511, allocations: 0 / 0.8901 GB, free: 15.38 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006132/0.1517, allocations: 247.5 kB / 0.8904 GB, free: 15.13 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001748/0.1518, allocations: 67.89 kB / 0.8904 GB, free: 15.07 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001105/0.153, allocations: 1.418 MB / 0.8918 GB, free: 13.55 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001771/0.1531, allocations: 43.86 kB / 0.8918 GB, free: 13.51 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.574e-05/0.1531, allocations: 12.17 kB / 0.8919 GB, free: 13.5 MB / 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.0001034/0.1532, allocations: 128.5 kB / 0.892 GB, free: 13.36 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.017e-05/0.1533, allocations: 31.91 kB / 0.892 GB, free: 13.33 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.594e-05/0.1533, allocations: 35.28 kB / 0.892 GB, free: 13.29 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.1533, allocations: 11.98 kB / 0.8921 GB, free: 13.28 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.1533, allocations: 0 / 0.8921 GB, free: 13.28 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.1534, allocations: 4 kB / 0.8921 GB, free: 13.28 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007191/0.1541, allocations: 0.5269 MB / 0.8926 GB, free: 12.71 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.1541, allocations: 0 / 0.8926 GB, free: 12.71 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.598e-05/0.1542, allocations: 31.91 kB / 0.8926 GB, free: 12.68 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.813e-05/0.1542, allocations: 63.69 kB / 0.8927 GB, free: 12.62 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005781/0.1548, allocations: 242.2 kB / 0.8929 GB, free: 12.38 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.37e-05/0.1548, allocations: 7.938 kB / 0.8929 GB, free: 12.37 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001132/0.156, allocations: 1.396 MB / 0.8943 GB, free: 10.88 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.156, allocations: 0 / 0.8943 GB, free: 10.88 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005246/0.1565, allocations: 374.2 kB / 0.8946 GB, free: 10.48 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.07e-05/0.1565, allocations: 8 kB / 0.8946 GB, free: 10.48 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000181/0.1567, allocations: 30.41 kB / 0.8947 GB, free: 10.45 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.988e-05/0.1567, allocations: 19.84 kB / 0.8947 GB, free: 10.43 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.93e-05/0.1568, allocations: 15.98 kB / 0.8947 GB, free: 10.41 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0001075/0.1569, allocations: 140.7 kB / 0.8948 GB, free: 10.28 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5e-08/0.1569, allocations: 0 / 0.8948 GB, free: 10.28 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.000364/0.1572, allocations: 203.5 kB / 0.895 GB, free: 10.08 MB / 0.8698 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.0002171/0.1575, allocations: 120.3 kB / 0.8951 GB, free: 9.949 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0003571/0.1578, allocations: 251.7 kB / 0.8954 GB, free: 9.688 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.171e-05/0.1578, allocations: 8 kB / 0.8954 GB, free: 9.68 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001442/0.158, allocations: 179.3 kB / 0.8956 GB, free: 9.488 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009386/0.1589, allocations: 1.345 MB / 0.8969 GB, free: 7.895 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004308/0.1632, allocations: 0.9234 MB / 0.8978 GB, free: 6.93 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.815e-05/0.1633, allocations: 133.2 kB / 0.8979 GB, free: 6.777 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0001823/0.1635, allocations: 59.27 kB / 0.898 GB, free: 6.719 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003628/0.1638, allocations: 223.1 kB / 0.8982 GB, free: 6.5 MB / 0.8698 GB Notification: Performance of SimCode: time 1.062e-06/0.1639, allocations: 0 / 0.8982 GB, free: 6.5 MB / 0.8698 GB Notification: Performance of Templates: time 0.01172/0.1756, allocations: 10.58 MB / 0.9085 GB, free: 12.15 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 -emit_protected -ignoreHideResult -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate/Buildings_12_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.040834771469235]