Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Utilities.Diagnostics.Validation.CheckEquality.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Diagnostics.Validation.CheckEquality,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Utilities.Diagnostics.Validation.CheckEquality") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.437/2.437, allocations: 287.9 MB / 302.9 MB, free: 8.367 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001412/0.001412, allocations: 179.5 kB / 371.4 MB, free: 10.67 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.173/2.173, allocations: 205.4 MB / 0.6301 GB, free: 10.4 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001017/0.001017, allocations: 89.53 kB / 0.7434 GB, free: 6.406 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004563/0.0004565, allocations: 10.72 kB / 0.8662 GB, free: 141.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1797/0.1802, allocations: 115.3 MB / 0.9787 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Diagnostics.Validation.CheckEquality): time 0.001468/0.1817, allocations: 1.232 MB / 0.9799 GB, free: 26.96 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0006556/0.1823, allocations: 445.2 kB / 0.9804 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.172e-05/0.1824, allocations: 4 kB / 0.9804 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.877e-05/0.1824, allocations: 7.922 kB / 0.9804 GB, free: 26.51 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.405e-05/0.1825, allocations: 0 / 0.9804 GB, free: 26.51 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001675/0.1827, allocations: 19.97 kB / 0.9804 GB, free: 26.49 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.985e-05/0.1828, allocations: 27.97 kB / 0.9804 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.577e-05/0.1828, allocations: 11.94 kB / 0.9804 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.905e-05/0.183, allocations: 19.91 kB / 0.9805 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.231e-05/0.183, allocations: 23.86 kB / 0.9805 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.506e-05/0.183, allocations: 7.938 kB / 0.9805 GB, free: 26.4 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.076e-05/0.1831, allocations: 0 / 0.9805 GB, free: 26.4 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.377e-05/0.1831, allocations: 7.984 kB / 0.9805 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.041e-05/0.1831, allocations: 33.64 kB / 0.9805 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 5.476e-05/0.1832, allocations: 23.95 kB / 0.9805 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.694e-06/0.1832, allocations: 0 / 0.9805 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.89e-06/0.1832, allocations: 0 / 0.9805 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.121e-06/0.1832, allocations: 0 / 0.9805 GB, free: 26.33 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004234/0.1836, allocations: 368.5 kB / 0.9809 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.1837, allocations: 8.031 kB / 0.9809 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.515e-05/0.1837, allocations: 7.906 kB / 0.9809 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.035e-05/0.1838, allocations: 171 kB / 0.9811 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.444e-05/0.1839, allocations: 0 / 0.9811 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.606e-05/0.1839, allocations: 4 kB / 0.9811 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002051/0.1841, allocations: 69.67 kB / 0.9811 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.054e-06/0.1841, allocations: 0 / 0.9811 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.1842, allocations: 3.984 kB / 0.9811 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.528e-06/0.1842, allocations: 0 / 0.9811 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002175/0.1844, allocations: 51.91 kB / 0.9812 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004147/0.1848, allocations: 304.7 kB / 0.9815 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003597/0.1852, allocations: 74.48 kB / 0.9816 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.28e-05/0.1852, allocations: 0 / 0.9816 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.375e-05/0.1853, allocations: 30.56 kB / 0.9816 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.885e-06/0.1853, allocations: 0 / 0.9816 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0004456/0.1857, allocations: 109.7 kB / 0.9817 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.277e-05/0.1858, allocations: 55.41 kB / 0.9817 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.131e-05/0.1859, allocations: 121.8 kB / 0.9819 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.032e-05/0.1859, allocations: 25.7 kB / 0.9819 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.447e-05/0.1859, allocations: 88.12 kB / 0.982 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.152e-05/0.186, allocations: 15.88 kB / 0.982 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.006e-06/0.186, allocations: 7.938 kB / 0.982 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.141e-05/0.186, allocations: 310.8 kB / 0.9823 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000111/0.1862, allocations: 23.98 kB / 0.9823 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001025/0.1863, allocations: 23.98 kB / 0.9823 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000106/0.1864, allocations: 15.98 kB / 0.9824 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.1864, allocations: 0 / 0.9824 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002665/0.1867, allocations: 81.66 kB / 0.9824 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.889e-05/0.1867, allocations: 9.719 kB / 0.9824 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.451e-06/0.1867, allocations: 3.938 kB / 0.9824 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.1868, allocations: 0 / 0.9824 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001086/0.1869, allocations: 11.95 kB / 0.9825 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.831e-06/0.1869, allocations: 7.984 kB / 0.9825 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.177e-05/0.187, allocations: 11.98 kB / 0.9825 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.119e-05/0.187, allocations: 4 kB / 0.9825 GB, free: 24.14 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.432e-05/0.1871, allocations: 113.8 kB / 0.9826 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.934e-05/0.1871, allocations: 7.906 kB / 0.9826 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.338e-05/0.1872, allocations: 11.89 kB / 0.9826 GB, free: 24 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.1872, allocations: 0 / 0.9826 GB, free: 24 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.348e-06/0.1872, allocations: 7.953 kB / 0.9826 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.1872, allocations: 4 kB / 0.9826 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001739/0.1874, allocations: 165.7 kB / 0.9828 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.188e-06/0.1874, allocations: 0 / 0.9828 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001104/0.1875, allocations: 11.98 kB / 0.9828 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.12e-06/0.1876, allocations: 4 kB / 0.9828 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.239e-06/0.1876, allocations: 0 / 0.9828 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.289e-06/0.1876, allocations: 0 / 0.9828 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.517e-06/0.1876, allocations: 0 / 0.9828 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003007/0.1879, allocations: 179.7 kB / 0.983 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.984e-05/0.188, allocations: 85.11 kB / 0.983 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.861e-05/0.188, allocations: 3.938 kB / 0.983 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001189/0.1881, allocations: 8.031 kB / 0.9831 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.572e-05/0.1882, allocations: 7.922 kB / 0.9831 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.218e-06/0.1882, allocations: 8 kB / 0.9831 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.945e-05/0.1882, allocations: 91.27 kB / 0.9832 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.87e-07/0.1883, allocations: 0 / 0.9832 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003001/0.1886, allocations: 15.89 kB / 0.9832 GB, free: 23.34 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.978e-05/0.1887, allocations: 95.25 kB / 0.9833 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002643/0.1889, allocations: 47.97 kB / 0.9833 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.651e-06/0.189, allocations: 0 / 0.9833 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001174/0.1891, allocations: 27.97 kB / 0.9833 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002293/0.1893, allocations: 4 kB / 0.9833 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003678/0.1897, allocations: 164.5 kB / 0.9835 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001309/0.1899, allocations: 0.6887 MB / 0.9842 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.617e-05/0.1899, allocations: 3.906 kB / 0.9842 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.017e-05/0.19, allocations: 11.44 kB / 0.9842 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of SimCode: time 1.541e-06/0.19, allocations: 0 / 0.9842 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of Templates: time 0.002639/0.1926, allocations: 406.5 kB / 0.9846 GB, free: 21.85 MB / 0.6198 GB