Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.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.Controls.OBC.CDL.Continuous.Validation.Tan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.76/2.76, allocations: 287.9 MB / 302.9 MB, free: 8.238 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.001399/0.001399, allocations: 167.1 kB / 371.4 MB, free: 10.68 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.119/2.119, allocations: 205.4 MB / 0.6301 GB, free: 10.43 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.001025/0.001025, allocations: 92.08 kB / 0.7434 GB, free: 6.434 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0008114/0.0008119, allocations: 13.75 kB / 0.8662 GB, free: 141.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1717/0.1726, allocations: 115.3 MB / 0.9788 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Tan): time 0.0006854/0.1733, allocations: 389.3 kB / 0.9791 GB, free: 27.8 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0008014/0.1742, allocations: 0.7949 MB / 0.9799 GB, free: 26.99 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.675e-05/0.1742, allocations: 0 / 0.9799 GB, free: 26.99 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.596e-05/0.1742, allocations: 3.938 kB / 0.9799 GB, free: 26.99 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.43e-05/0.1743, allocations: 7.984 kB / 0.9799 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001014/0.1744, allocations: 3.938 kB / 0.9799 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.85e-05/0.1745, allocations: 15.97 kB / 0.9799 GB, free: 26.96 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 7.775e-05/0.1746, allocations: 4 kB / 0.9799 GB, free: 26.96 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.795e-05/0.1746, allocations: 12 kB / 0.98 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.934e-05/0.1747, allocations: 11.92 kB / 0.98 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.247e-05/0.1747, allocations: 0 / 0.98 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.836e-06/0.1747, allocations: 3.938 kB / 0.98 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.147e-05/0.1747, allocations: 7.984 kB / 0.98 GB, free: 26.92 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.789e-05/0.1748, allocations: 29.7 kB / 0.98 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 4.573e-05/0.1748, allocations: 7.969 kB / 0.98 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.542e-06/0.1748, allocations: 0 / 0.98 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.908e-06/0.1748, allocations: 4 kB / 0.98 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.535e-06/0.1748, allocations: 0 / 0.98 GB, free: 26.88 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000336/0.1752, allocations: 347.5 kB / 0.9804 GB, free: 26.49 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/0.1752, allocations: 15.95 kB / 0.9804 GB, free: 26.47 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.019e-05/0.1753, allocations: 4 kB / 0.9804 GB, free: 26.47 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.647e-05/0.1754, allocations: 171 kB / 0.9805 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.259e-05/0.1754, allocations: 0 / 0.9805 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.259e-05/0.1754, allocations: 0 / 0.9805 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001767/0.1756, allocations: 57.67 kB / 0.9806 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.1756, allocations: 0 / 0.9806 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.96e-06/0.1756, allocations: 0 / 0.9806 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.752e-06/0.1757, allocations: 0 / 0.9806 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002103/0.1759, allocations: 47.97 kB / 0.9806 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002745/0.1762, allocations: 252.9 kB / 0.9809 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001389/0.1763, allocations: 42.55 kB / 0.9809 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.884e-05/0.1764, allocations: 0 / 0.9809 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.351e-05/0.1764, allocations: 34.56 kB / 0.981 GB, free: 25.76 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.763e-06/0.1764, allocations: 0 / 0.981 GB, free: 25.76 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0003866/0.1768, allocations: 105.7 kB / 0.9811 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.544e-05/0.1768, allocations: 51.41 kB / 0.9811 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.111e-05/0.1769, allocations: 101.8 kB / 0.9812 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.03e-05/0.1769, allocations: 25.7 kB / 0.9812 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.848e-05/0.1769, allocations: 84.05 kB / 0.9813 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.49e-05/0.177, allocations: 4 kB / 0.9813 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.317e-06/0.177, allocations: 4 kB / 0.9813 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.903e-05/0.177, allocations: 318.7 kB / 0.9816 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.606e-05/0.1772, allocations: 24 kB / 0.9816 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.595e-05/0.1772, allocations: 23.98 kB / 0.9817 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.444e-05/0.1774, allocations: 24.05 kB / 0.9817 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.1774, allocations: 0 / 0.9817 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002261/0.1776, allocations: 81.56 kB / 0.9818 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.1776, allocations: 7.938 kB / 0.9818 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.615e-06/0.1776, allocations: 0 / 0.9818 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.1777, allocations: 4.031 kB / 0.9818 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001003/0.1778, allocations: 11.98 kB / 0.9818 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.295e-06/0.1778, allocations: 0 / 0.9818 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.035e-05/0.1779, allocations: 8 kB / 0.9818 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.381e-06/0.1779, allocations: 3.938 kB / 0.9818 GB, free: 24.84 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 (2): * Single equations (assignments): 2 * 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 5.416e-05/0.1779, allocations: 113.8 kB / 0.9819 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.57e-05/0.178, allocations: 3.984 kB / 0.9819 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000248/0.1783, allocations: 84.78 kB / 0.982 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.254e-06/0.1783, allocations: 0 / 0.982 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.211e-06/0.1783, allocations: 0 / 0.982 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.374e-06/0.1783, allocations: 0 / 0.982 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001444/0.1784, allocations: 157.7 kB / 0.9821 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.795e-06/0.1785, allocations: 4 kB / 0.9821 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.507e-05/0.1785, allocations: 15.92 kB / 0.9822 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.217e-06/0.1786, allocations: 4 kB / 0.9822 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.705e-06/0.1786, allocations: 0 / 0.9822 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.128e-06/0.1786, allocations: 0 / 0.9822 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.667e-06/0.1786, allocations: 0 / 0.9822 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002461/0.1788, allocations: 175.5 kB / 0.9823 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.239e-05/0.1789, allocations: 84.95 kB / 0.9824 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.999e-05/0.1789, allocations: 4 kB / 0.9824 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001076/0.1791, allocations: 7.984 kB / 0.9824 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.896e-05/0.1791, allocations: 4.031 kB / 0.9824 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.749e-06/0.1791, allocations: 8 kB / 0.9824 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.035e-05/0.1792, allocations: 83.27 kB / 0.9825 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.6e-07/0.1792, allocations: 0 / 0.9825 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002899/0.1795, allocations: 4 kB / 0.9825 GB, free: 24.01 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 (2): * Single equations (assignments): 2 * 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 0.0001054/0.1796, allocations: 99.25 kB / 0.9826 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.00025/0.1799, allocations: 59.83 kB / 0.9827 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.528e-06/0.1799, allocations: 0 / 0.9827 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001023/0.18, allocations: 19.98 kB / 0.9827 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002215/0.1802, allocations: 8.078 kB / 0.9827 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002524/0.1805, allocations: 109 kB / 0.9828 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001122/0.1806, allocations: 0.677 MB / 0.9835 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.967e-05/0.1807, allocations: 0 / 0.9835 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.507e-05/0.1807, allocations: 11.44 kB / 0.9835 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of SimCode: time 1.291e-06/0.1807, allocations: 0 / 0.9835 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of Templates: time 0.002375/0.1831, allocations: 356.3 kB / 0.9838 GB, free: 22.63 MB / 0.6198 GB