Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.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.001372/0.001372, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001943/0.003315, allocations: 435.8 kB / 10.33 MB, free: 368 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.001045/0.001045, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001456/0.002501, allocations: 463.6 kB / 11.68 MB, free: 2.484 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 1.059/1.059, allocations: 177.1 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1119/1.171, allocations: 53.67 MB / 243.2 MB, free: 15.59 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.544/2.544, allocations: 446.7 MB / 0.6745 GB, free: 6.207 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.3219/2.866, allocations: 145.9 MB / 0.817 GB, free: 4.211 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.MixingVolumeHeatConduction,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.MixingVolumeHeatConduction") translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,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.MixingVolumeHeatConduction") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 0 / 0.8183 GB, free: 2.922 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.433e-05/2.621e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.918 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.1558/0.1558, allocations: 148.2 MB / 0.963 GB, free: 14.14 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.005851/0.1616, allocations: 3.504 MB / 0.9664 GB, free: 10.62 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008735/0.1625, allocations: 23.81 kB / 0.9665 GB, free: 10.6 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0006149/0.1631, allocations: 202.5 kB / 0.9667 GB, free: 10.4 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.002053/0.1652, allocations: 0.9206 MB / 0.9676 GB, free: 9.477 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.00138/0.1666, allocations: 0.6078 MB / 0.9681 GB, free: 8.867 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.002084/0.1686, allocations: 1.718 MB / 0.9698 GB, free: 7.145 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00121/0.1699, allocations: 490.1 kB / 0.9703 GB, free: 6.672 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001841/0.1717, allocations: 1.024 MB / 0.9713 GB, free: 5.668 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008881/0.1726, allocations: 498.6 kB / 0.9718 GB, free: 5.18 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001172/0.1727, allocations: 64 kB / 0.9718 GB, free: 5.117 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008379/0.1735, allocations: 355.1 kB / 0.9722 GB, free: 4.77 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002251/0.1738, allocations: 251.4 kB / 0.9724 GB, free: 4.523 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002907/0.1741, allocations: 247.6 kB / 0.9726 GB, free: 4.281 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.001132/0.1752, allocations: 0.7204 MB / 0.9733 GB, free: 3.559 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.003e-05/0.1752, allocations: 0 / 0.9733 GB, free: 3.559 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.695e-06/0.1752, allocations: 0 / 0.9733 GB, free: 3.559 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.597e-05/0.1753, allocations: 4 kB / 0.9733 GB, free: 3.555 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.001898/0.1772, allocations: 1.139 MB / 0.9745 GB, free: 2.367 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.988e-05/0.1772, allocations: 12.62 kB / 0.9745 GB, free: 2.355 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007381/0.1779, allocations: 224.3 kB / 0.9747 GB, free: 2.137 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006618/0.1786, allocations: 402.3 kB / 0.9751 GB, free: 1.715 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.456e-05/0.1786, allocations: 49.44 kB / 0.9751 GB, free: 1.668 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.58e-05/0.1787, allocations: 56 kB / 0.9752 GB, free: 1.613 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007175/0.1794, allocations: 0.7722 MB / 0.9759 GB, free: 0.7344 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.536e-05/0.1794, allocations: 0 / 0.9759 GB, free: 0.7344 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.187e-05/0.1795, allocations: 28 kB / 0.976 GB, free: 0.707 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.307e-05/0.1795, allocations: 25.3 kB / 0.976 GB, free: 0.6836 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000267/0.1798, allocations: 180 kB / 0.9761 GB, free: 0.5039 MB / 0.948 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001913/0.1817, allocations: 1.236 MB / 0.9774 GB, free: 15.23 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002859/0.182, allocations: 176.1 kB / 0.9775 GB, free: 15.04 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.249e-05/0.182, allocations: 40.84 kB / 0.9776 GB, free: 15 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.975e-05/0.1821, allocations: 11.94 kB / 0.9776 GB, free: 14.99 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.915e-05/0.1821, allocations: 42.89 kB / 0.9776 GB, free: 14.94 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=20): time 3.496e-06/0.1821, allocations: 0 / 0.9776 GB, free: 14.94 MB / 0.9636 GB Notification: Performance of matching and sorting (n=20): time 0.0007514/0.1829, allocations: 268.7 kB / 0.9779 GB, free: 14.66 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.378e-05/0.1829, allocations: 59.39 kB / 0.9779 GB, free: 14.59 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002704/0.1832, allocations: 367.1 kB / 0.9783 GB, free: 14.22 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 3.106e-05/0.1832, allocations: 33.7 kB / 0.9783 GB, free: 14.18 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001574/0.1834, allocations: 316.6 kB / 0.9786 GB, free: 13.87 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 4.93e-05/0.1834, allocations: 71.38 kB / 0.9787 GB, free: 13.8 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.648e-05/0.1835, allocations: 65.95 kB / 0.9787 GB, free: 13.73 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001288/0.1836, allocations: 354.7 kB / 0.9791 GB, free: 13.37 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.793e-05/0.1837, allocations: 35.47 kB / 0.9791 GB, free: 13.34 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001282/0.1838, allocations: 148.3 kB / 0.9793 GB, free: 13.15 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001879/0.184, allocations: 170 kB / 0.9794 GB, free: 12.95 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.449e-06/0.184, allocations: 3.938 kB / 0.9794 GB, free: 12.95 MB / 0.9636 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003394/0.1843, allocations: 235.8 kB / 0.9796 GB, free: 12.7 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.425e-05/0.1844, allocations: 4 kB / 0.9796 GB, free: 12.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/0.1844, allocations: 4 kB / 0.9797 GB, free: 12.7 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002/0.1846, allocations: 74.09 kB / 0.9797 GB, free: 12.61 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002028/0.1848, allocations: 79.91 kB / 0.9798 GB, free: 12.54 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001873/0.1866, allocations: 2.535 MB / 0.9823 GB, free: 9.805 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002259/0.1869, allocations: 31.73 kB / 0.9823 GB, free: 9.773 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.704e-05/0.1869, allocations: 12.19 kB / 0.9823 GB, free: 9.762 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 (34): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,5), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.000151/0.187, allocations: 128.6 kB / 0.9824 GB, free: 9.625 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.622e-05/0.1871, allocations: 39.89 kB / 0.9825 GB, free: 9.586 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.91e-05/0.1871, allocations: 43.69 kB / 0.9825 GB, free: 9.543 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/0.1872, allocations: 8 kB / 0.9825 GB, free: 9.535 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.1872, allocations: 0 / 0.9825 GB, free: 9.535 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002839/0.1874, allocations: 376.7 kB / 0.9829 GB, free: 9.098 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005357/0.188, allocations: 499.6 kB / 0.9834 GB, free: 8.574 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.188, allocations: 4 kB / 0.9834 GB, free: 8.57 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001493/0.1881, allocations: 54.73 kB / 0.9834 GB, free: 8.516 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001134/0.1882, allocations: 67.61 kB / 0.9835 GB, free: 8.449 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001105/0.1884, allocations: 43.72 kB / 0.9835 GB, free: 8.402 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.628e-06/0.1884, allocations: 0 / 0.9835 GB, free: 8.402 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008403/0.1892, allocations: 1.328 MB / 0.9848 GB, free: 6.98 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.1892, allocations: 4.031 kB / 0.9848 GB, free: 6.977 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002333/0.1894, allocations: 308.5 kB / 0.9851 GB, free: 6.648 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.439e-05/0.1895, allocations: 7.984 kB / 0.9851 GB, free: 6.641 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001635/0.1896, allocations: 15.94 kB / 0.9851 GB, free: 6.625 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.835e-05/0.1897, allocations: 19.95 kB / 0.9852 GB, free: 6.605 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-05/0.1897, allocations: 15.98 kB / 0.9852 GB, free: 6.59 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0001285/0.1899, allocations: 144.7 kB / 0.9853 GB, free: 6.445 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.1899, allocations: 0 / 0.9853 GB, free: 6.445 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0005332/0.1904, allocations: 219.5 kB / 0.9855 GB, free: 6.23 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 (15): * Single equations (assignments): 14 * 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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002428/0.1906, allocations: 119.6 kB / 0.9856 GB, free: 6.105 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0004442/0.1911, allocations: 389.6 kB / 0.986 GB, free: 5.695 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.869e-05/0.1911, allocations: 8 kB / 0.986 GB, free: 5.688 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001405/0.1912, allocations: 192 kB / 0.9862 GB, free: 5.484 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007153/0.1919, allocations: 341.8 kB / 0.9865 GB, free: 5.16 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004358/0.1963, allocations: 0.9246 MB / 0.9874 GB, free: 4.191 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001124/0.1964, allocations: 145.5 kB / 0.9876 GB, free: 4.031 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0002756/0.1967, allocations: 64.17 kB / 0.9876 GB, free: 3.969 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004266/0.1971, allocations: 251 kB / 0.9879 GB, free: 3.723 MB / 0.9636 GB Notification: Performance of SimCode: time 1.142e-06/0.1971, allocations: 0 / 0.9879 GB, free: 3.723 MB / 0.9636 GB Notification: Performance of Templates: time 0.01562/0.2127, allocations: 11.9 MB / 0.9995 GB, free: 8.098 MB / 0.9792 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction/Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.ref.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: 6.212696888484061]