Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MassAccumulation.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.001061/0.001061, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001113/0.002174, 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.0007158/0.0007158, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009319/0.001648, 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 1.014/1.014, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1168/1.131, allocations: 53.67 MB / 243.4 MB, free: 15.5 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.578/2.578, allocations: 447.1 MB / 0.675 GB, free: 5.922 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.3004/2.879, allocations: 146 MB / 0.8176 GB, free: 3.848 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.Validation.MassAccumulation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.Xi.[0-9,]+.|mWat|mWatExp|mAir|vol.C.[0-9,]+.|vol.p",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MassAccumulation") translateModel(Buildings.Fluid.MixingVolumes.Validation.MassAccumulation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.Xi.[0-9,]+.|mWat|mWatExp|mAir|vol.C.[0-9,]+.|vol.p",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MassAccumulation") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.482e-06/1.482e-06, allocations: 0 / 0.8189 GB, free: 2.508 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.769e-05/2.917e-05, allocations: 2.312 kB / 0.8189 GB, free: 2.504 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MassAccumulation): time 0.1619/0.162, allocations: 147.4 MB / 0.9629 GB, free: 14.55 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.004493/0.1664, allocations: 2.621 MB / 0.9654 GB, free: 11.92 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005933/0.167, allocations: 31.75 kB / 0.9655 GB, free: 11.89 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005122/0.1676, allocations: 147 kB / 0.9656 GB, free: 11.75 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.001481/0.169, allocations: 0.6604 MB / 0.9662 GB, free: 11.08 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008879/0.1699, allocations: 422.9 kB / 0.9666 GB, free: 10.67 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.001416/0.1713, allocations: 1.166 MB / 0.9678 GB, free: 9.5 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008125/0.1721, allocations: 303.1 kB / 0.9681 GB, free: 9.203 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001207/0.1734, allocations: 0.6962 MB / 0.9687 GB, free: 8.523 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004919/0.1738, allocations: 335 kB / 0.9691 GB, free: 8.195 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 6.208e-05/0.1739, allocations: 44 kB / 0.9691 GB, free: 8.152 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007075/0.1746, allocations: 351.1 kB / 0.9694 GB, free: 7.809 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001872/0.1748, allocations: 211.5 kB / 0.9696 GB, free: 7.602 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.000159/0.175, allocations: 163.7 kB / 0.9698 GB, free: 7.441 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0008516/0.1758, allocations: 0.5451 MB / 0.9703 GB, free: 6.895 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.766e-05/0.1758, allocations: 0 / 0.9703 GB, free: 6.895 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.365e-06/0.1758, allocations: 3.984 kB / 0.9703 GB, free: 6.891 MB / 0.948 GB Notification: Performance of Transformations before backend: time 1.888e-05/0.1759, allocations: 0 / 0.9703 GB, free: 6.891 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: 87 * Number of variables: 87 Notification: Performance of Generate backend data structure: time 0.001065/0.1769, allocations: 0.8071 MB / 0.9711 GB, free: 6.059 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.177, allocations: 12.03 kB / 0.9711 GB, free: 6.047 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000728/0.1777, allocations: 277.5 kB / 0.9714 GB, free: 5.758 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005421/0.1782, allocations: 352.2 kB / 0.9717 GB, free: 5.387 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.968e-05/0.1783, allocations: 29.12 kB / 0.9718 GB, free: 5.359 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.851e-05/0.1783, allocations: 40 kB / 0.9718 GB, free: 5.32 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003743/0.1787, allocations: 383.7 kB / 0.9722 GB, free: 4.902 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.584e-05/0.1787, allocations: 0 / 0.9722 GB, free: 4.902 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.759e-05/0.1787, allocations: 16 kB / 0.9722 GB, free: 4.887 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.946e-05/0.1788, allocations: 21 kB / 0.9722 GB, free: 4.867 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001715/0.1789, allocations: 121.8 kB / 0.9723 GB, free: 4.75 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.001123/0.1801, allocations: 0.7922 MB / 0.9731 GB, free: 3.93 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003365/0.1804, allocations: 214.6 kB / 0.9733 GB, free: 3.699 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.782e-05/0.1805, allocations: 56.59 kB / 0.9734 GB, free: 3.637 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.461e-05/0.1806, allocations: 19.98 kB / 0.9734 GB, free: 3.617 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.714e-05/0.1806, allocations: 42.5 kB / 0.9734 GB, free: 3.566 MB / 0.948 GB Notification: Performance of pre-optimization done (n=25): time 2.675e-06/0.1806, allocations: 4 kB / 0.9734 GB, free: 3.562 MB / 0.948 GB Notification: Performance of matching and sorting (n=25): time 0.000653/0.1812, allocations: 172.6 kB / 0.9736 GB, free: 3.391 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.82e-05/0.1813, allocations: 81.11 kB / 0.9737 GB, free: 3.293 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002171/0.1815, allocations: 279.4 kB / 0.9739 GB, free: 3.004 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.817e-05/0.1815, allocations: 37.64 kB / 0.974 GB, free: 2.961 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 9.61e-05/0.1816, allocations: 212.9 kB / 0.9742 GB, free: 2.75 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 6.645e-05/0.1817, allocations: 87.22 kB / 0.9742 GB, free: 2.664 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.771e-05/0.1818, allocations: 61.89 kB / 0.9743 GB, free: 2.594 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.354e-05/0.1819, allocations: 342.8 kB / 0.9746 GB, free: 2.25 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.02e-05/0.1819, allocations: 31.5 kB / 0.9747 GB, free: 2.219 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.806e-05/0.182, allocations: 118.1 kB / 0.9748 GB, free: 2.078 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001417/0.1821, allocations: 138.7 kB / 0.9749 GB, free: 1.922 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.1821, allocations: 0 / 0.9749 GB, free: 1.922 MB / 0.948 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000201/0.1823, allocations: 173.5 kB / 0.9751 GB, free: 1.746 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.1824, allocations: 4 kB / 0.9751 GB, free: 1.742 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.916e-06/0.1824, allocations: 4 kB / 0.9751 GB, free: 1.738 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.1824, allocations: 0 / 0.9751 GB, free: 1.738 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002068/0.1826, allocations: 67.91 kB / 0.9751 GB, free: 1.672 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.623e-06/0.1826, allocations: 7.938 kB / 0.9752 GB, free: 1.664 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001539/0.1827, allocations: 19.88 kB / 0.9752 GB, free: 1.645 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.248e-05/0.1828, allocations: 8 kB / 0.9752 GB, free: 1.637 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (33): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001297/0.1829, allocations: 136.6 kB / 0.9753 GB, free: 1.492 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.084e-05/0.1829, allocations: 31.97 kB / 0.9753 GB, free: 1.461 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.231e-05/0.183, allocations: 43.38 kB / 0.9754 GB, free: 1.414 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.183, allocations: 4 kB / 0.9754 GB, free: 1.41 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.183, allocations: 0 / 0.9754 GB, free: 1.41 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001923/0.1832, allocations: 273.4 kB / 0.9756 GB, free: 1.094 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000785/0.184, allocations: 0.5579 MB / 0.9762 GB, free: 0.4922 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.184, allocations: 0 / 0.9762 GB, free: 0.4922 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003253/0.1843, allocations: 102.8 kB / 0.9763 GB, free: 400 kB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.309e-05/0.1844, allocations: 47.73 kB / 0.9763 GB, free: 352 kB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/0.1844, allocations: 4 kB / 0.9763 GB, free: 348 kB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.911e-05/0.1845, allocations: 8 kB / 0.9763 GB, free: 340 kB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.1845, allocations: 0 / 0.9763 GB, free: 340 kB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.951e-06/0.1845, allocations: 15.86 kB / 0.9764 GB, free: 324 kB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003133/0.1848, allocations: 363.3 kB / 0.9767 GB, free: 15.92 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.319e-05/0.1848, allocations: 15.98 kB / 0.9767 GB, free: 15.91 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001379/0.1849, allocations: 10.44 kB / 0.9767 GB, free: 15.9 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.657e-05/0.185, allocations: 27.84 kB / 0.9768 GB, free: 15.87 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.276e-05/0.185, allocations: 7.938 kB / 0.9768 GB, free: 15.86 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 8.518e-05/0.1851, allocations: 116.7 kB / 0.9769 GB, free: 15.75 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5.1e-08/0.1851, allocations: 0 / 0.9769 GB, free: 15.75 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0003361/0.1854, allocations: 139.8 kB / 0.977 GB, free: 15.61 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 4 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m,vol.dynBal.mC[1]) * 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 (25): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002264/0.1856, allocations: 120.2 kB / 0.9771 GB, free: 15.49 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.000179/0.1858, allocations: 116.6 kB / 0.9772 GB, free: 15.37 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.108e-05/0.1858, allocations: 4 kB / 0.9772 GB, free: 15.37 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 8.627e-05/0.1859, allocations: 77.73 kB / 0.9773 GB, free: 15.29 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001101/0.187, allocations: 1.512 MB / 0.9788 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002502/0.1895, allocations: 0.808 MB / 0.9796 GB, free: 12.64 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.195e-05/0.1896, allocations: 145.2 kB / 0.9797 GB, free: 12.48 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0002011/0.1898, allocations: 59.28 kB / 0.9798 GB, free: 12.42 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003331/0.1901, allocations: 205.2 kB / 0.98 GB, free: 12.22 MB / 0.9636 GB Notification: Performance of SimCode: time 1.353e-06/0.1901, allocations: 0 / 0.98 GB, free: 12.22 MB / 0.9636 GB Notification: Performance of Templates: time 0.01185/0.202, allocations: 9.659 MB / 0.9894 GB, free: 2.812 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MassAccumulation.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MassAccumulation.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MassAccumulation.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MassAccumulation.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MassAccumulation.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MassAccumulation -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MassAccumulation.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MassAccumulation_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MassAccumulation/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MassAccumulation.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: 6.00900511816144]