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.0009085/0.0009085, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.0009283/0.0009283, allocations: 173 kB / 23.36 MB, free: 1.133 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.9625/0.9625, allocations: 177.1 MB / 203.8 MB, free: 5.48 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.41/2.41, allocations: 438.8 MB / 0.6826 GB, free: 13.62 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.313e-06/1.313e-06, allocations: 0 / 0.8386 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.115e-05/2.246e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.171/0.171, allocations: 147.7 MB / 0.9827 GB, free: 10.05 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.004297/0.1753, allocations: 3.475 MB / 0.9861 GB, free: 6.562 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002929/0.1756, allocations: 27.75 kB / 0.9862 GB, free: 6.535 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004437/0.176, allocations: 170.8 kB / 0.9863 GB, free: 6.367 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.001185/0.1772, allocations: 0.8158 MB / 0.9871 GB, free: 5.547 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001144/0.1784, allocations: 0.705 MB / 0.9878 GB, free: 4.84 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.001071/0.1794, allocations: 1.301 MB / 0.9891 GB, free: 3.531 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003553/0.1798, allocations: 400.7 kB / 0.9895 GB, free: 3.133 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009816/0.1808, allocations: 0.7875 MB / 0.9902 GB, free: 2.363 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003857/0.1811, allocations: 382.8 kB / 0.9906 GB, free: 1.988 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 5.408e-05/0.1812, allocations: 52 kB / 0.9907 GB, free: 1.938 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005903/0.1818, allocations: 0.5728 MB / 0.9912 GB, free: 1.363 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.000157/0.1819, allocations: 235.3 kB / 0.9914 GB, free: 1.133 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001812/0.1821, allocations: 231.5 kB / 0.9917 GB, free: 0.9062 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0007682/0.1829, allocations: 0.849 MB / 0.9925 GB, free: 56 kB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.1829, allocations: 0 / 0.9925 GB, free: 56 kB / 0.948 GB Notification: Performance of FrontEnd: time 2.093e-06/0.1829, allocations: 0 / 0.9925 GB, free: 56 kB / 0.948 GB Notification: Performance of Transformations before backend: time 5.561e-06/0.1829, allocations: 0 / 0.9925 GB, free: 56 kB / 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.0009245/0.1838, allocations: 0.8374 MB / 0.9933 GB, free: 15.19 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.125e-05/0.1839, allocations: 8.625 kB / 0.9933 GB, free: 15.18 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006588/0.1845, allocations: 268.4 kB / 0.9936 GB, free: 14.92 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000382/0.1849, allocations: 343.7 kB / 0.9939 GB, free: 14.56 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.64e-05/0.1849, allocations: 41.12 kB / 0.9939 GB, free: 14.52 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.971e-05/0.185, allocations: 48 kB / 0.994 GB, free: 14.47 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005249/0.1855, allocations: 0.6793 MB / 0.9946 GB, free: 13.7 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.1855, allocations: 0 / 0.9946 GB, free: 13.7 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.359e-05/0.1855, allocations: 24 kB / 0.9947 GB, free: 13.67 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.248e-05/0.1856, allocations: 17 kB / 0.9947 GB, free: 13.66 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002109/0.1858, allocations: 160.5 kB / 0.9948 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001457/0.1872, allocations: 1.321 MB / 0.9961 GB, free: 12.13 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001856/0.1874, allocations: 137.2 kB / 0.9963 GB, free: 11.98 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.738e-05/0.1875, allocations: 32.84 kB / 0.9963 GB, free: 11.95 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.401e-05/0.1875, allocations: 0 / 0.9963 GB, free: 11.95 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.114e-05/0.1875, allocations: 42.5 kB / 0.9963 GB, free: 11.9 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=11): time 1.573e-06/0.1875, allocations: 0 / 0.9963 GB, free: 11.9 MB / 0.9636 GB Notification: Performance of matching and sorting (n=11): time 0.001168/0.1887, allocations: 413 kB / 0.9967 GB, free: 11.48 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.175e-05/0.1887, allocations: 85.11 kB / 0.9968 GB, free: 11.38 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000205/0.1889, allocations: 355.2 kB / 0.9971 GB, free: 11.03 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.421e-05/0.1889, allocations: 29.7 kB / 0.9972 GB, free: 10.99 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001034/0.189, allocations: 280.6 kB / 0.9974 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.692e-05/0.1891, allocations: 43.67 kB / 0.9975 GB, free: 10.67 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.863e-05/0.1891, allocations: 53.64 kB / 0.9975 GB, free: 10.61 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.126e-05/0.1892, allocations: 350.7 kB / 0.9979 GB, free: 10.26 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.76e-05/0.1893, allocations: 34.81 kB / 0.9979 GB, free: 10.22 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000101/0.1894, allocations: 131 kB / 0.998 GB, free: 10.05 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001374/0.1895, allocations: 152.1 kB / 0.9982 GB, free: 9.875 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.1895, allocations: 0 / 0.9982 GB, free: 9.875 MB / 0.9636 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005328/0.19, allocations: 289.6 kB / 0.9984 GB, free: 9.582 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.092e-05/0.1901, allocations: 6.656 kB / 0.9985 GB, free: 9.578 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.1901, allocations: 8 kB / 0.9985 GB, free: 9.57 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005876/0.1907, allocations: 243.5 kB / 0.9987 GB, free: 9.328 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001406/0.1908, allocations: 59.91 kB / 0.9988 GB, free: 9.27 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001018/0.1918, allocations: 1.418 MB / 1 GB, free: 7.754 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001747/0.192, allocations: 43.98 kB / 1 GB, free: 7.711 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.498e-05/0.192, allocations: 12 kB / 1 GB, free: 7.699 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.000102/0.1921, allocations: 128.6 kB / 1 GB, free: 7.562 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.752e-05/0.1922, allocations: 35.91 kB / 1 GB, free: 7.527 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.365e-05/0.1922, allocations: 39.28 kB / 1 GB, free: 7.484 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.51e-07/0.1922, allocations: 0 / 1 GB, free: 7.484 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.035e-06/0.1922, allocations: 8 kB / 1 GB, free: 7.477 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.1922, allocations: 7.969 kB / 1 GB, free: 7.469 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007032/0.1929, allocations: 0.5268 MB / 1.001 GB, free: 6.906 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.1929, allocations: 4 kB / 1.001 GB, free: 6.902 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.967e-05/0.193, allocations: 27.97 kB / 1.001 GB, free: 6.875 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005411/0.1935, allocations: 242.2 kB / 1.001 GB, free: 6.633 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.247e-05/0.1935, allocations: 7.984 kB / 1.001 GB, free: 6.625 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009075/0.1944, allocations: 1.4 MB / 1.003 GB, free: 5.129 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.1944, allocations: 4 kB / 1.003 GB, free: 5.125 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005062/0.1949, allocations: 374.7 kB / 1.003 GB, free: 4.73 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 8.407e-05/0.195, allocations: 55.73 kB / 1.003 GB, free: 4.676 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.12e-05/0.1951, allocations: 4 kB / 1.003 GB, free: 4.672 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001752/0.1952, allocations: 23.97 kB / 1.003 GB, free: 4.648 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.16e-05/0.1953, allocations: 23.84 kB / 1.003 GB, free: 4.625 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.512e-05/0.1953, allocations: 15.98 kB / 1.003 GB, free: 4.609 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 9.909e-05/0.1954, allocations: 140.6 kB / 1.003 GB, free: 4.469 MB / 0.9636 GB Notification: Performance of sort global known variables: time 4e-08/0.1954, allocations: 0 / 1.003 GB, free: 4.469 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0003264/0.1957, allocations: 199.6 kB / 1.003 GB, free: 4.273 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.000179/0.1959, allocations: 136.2 kB / 1.003 GB, free: 4.133 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0003159/0.1962, allocations: 247.7 kB / 1.004 GB, free: 3.875 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 7.464e-06/0.1962, allocations: 4 kB / 1.004 GB, free: 3.871 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001265/0.1964, allocations: 175.3 kB / 1.004 GB, free: 3.684 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004736/0.1968, allocations: 199.9 kB / 1.004 GB, free: 3.492 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001349/0.1982, allocations: 0.9023 MB / 1.005 GB, free: 2.555 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.265e-05/0.1982, allocations: 133.2 kB / 1.005 GB, free: 2.406 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0001557/0.1984, allocations: 71.23 kB / 1.005 GB, free: 2.336 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003423/0.1987, allocations: 215.1 kB / 1.005 GB, free: 2.125 MB / 0.9636 GB Notification: Performance of SimCode: time 5.41e-07/0.1987, allocations: 0 / 1.005 GB, free: 2.125 MB / 0.9636 GB Notification: Performance of Templates: time 0.01074/0.2095, allocations: 10.13 MB / 1.015 GB, free: 8.219 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 -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.665143109858036]