Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.Shade.Validation.Shade_T.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.Shade.Validation.Shade_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.Shade.Validation.Shade_T") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.643/2.643, allocations: 287.9 MB / 302.9 MB, free: 8.297 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.001419/0.001419, allocations: 183.3 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.253/2.253, 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.001006/0.001006, allocations: 90.23 kB / 0.7434 GB, free: 6.43 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000472/0.0004722, allocations: 14.22 kB / 0.8662 GB, free: 141.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1724/0.1729, allocations: 115.3 MB / 0.9787 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.0007168/0.1737, allocations: 425.7 kB / 0.9792 GB, free: 27.8 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0008835/0.1746, allocations: 0.8409 MB / 0.98 GB, free: 26.94 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.444e-05/0.1746, allocations: 0 / 0.98 GB, free: 26.94 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.361e-05/0.1747, allocations: 3.938 kB / 0.98 GB, free: 26.94 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.605e-05/0.1748, allocations: 15.89 kB / 0.98 GB, free: 26.92 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001136/0.1749, allocations: 15.98 kB / 0.98 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.709e-05/0.175, allocations: 35.95 kB / 0.98 GB, free: 26.87 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.347e-05/0.1751, allocations: 11.98 kB / 0.9801 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.382e-05/0.1752, allocations: 19.94 kB / 0.9801 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.253e-05/0.1752, allocations: 27.84 kB / 0.9801 GB, free: 26.81 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.36e-05/0.1753, allocations: 0 / 0.9801 GB, free: 26.81 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.26e-05/0.1753, allocations: 4 kB / 0.9801 GB, free: 26.81 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.396e-05/0.1753, allocations: 7.984 kB / 0.9801 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.207e-05/0.1753, allocations: 33.64 kB / 0.9801 GB, free: 26.76 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 7.388e-05/0.1754, allocations: 52.11 kB / 0.9802 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.227e-06/0.1754, allocations: 0 / 0.9802 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.724e-06/0.1754, allocations: 0 / 0.9802 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.845e-06/0.1755, allocations: 3.938 kB / 0.9802 GB, free: 26.71 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003593/0.1758, allocations: 363.1 kB / 0.9805 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.306e-05/0.1759, allocations: 16.02 kB / 0.9806 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.723e-05/0.1759, allocations: 4 kB / 0.9806 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002109/0.1761, allocations: 194.8 kB / 0.9807 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.825e-05/0.1762, allocations: 4 kB / 0.9808 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.314e-05/0.1762, allocations: 0 / 0.9808 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001519/0.1764, allocations: 65.61 kB / 0.9808 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.403e-06/0.1764, allocations: 0 / 0.9808 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.26e-05/0.1764, allocations: 4 kB / 0.9808 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.1764, allocations: 0 / 0.9808 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001202/0.1765, allocations: 27.98 kB / 0.9808 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003873/0.177, allocations: 304.7 kB / 0.9811 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003049/0.1773, allocations: 90.47 kB / 0.9812 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.875e-05/0.1773, allocations: 96 / 0.9812 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.45e-05/0.1773, allocations: 34.55 kB / 0.9813 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.848e-06/0.1773, allocations: 0 / 0.9813 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0002857/0.1776, allocations: 81.73 kB / 0.9813 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.777e-05/0.1777, allocations: 59.36 kB / 0.9814 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.268e-05/0.1778, allocations: 125.7 kB / 0.9815 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.45e-05/0.1778, allocations: 25.7 kB / 0.9815 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.205e-05/0.1779, allocations: 96.03 kB / 0.9816 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.863e-05/0.1779, allocations: 11.97 kB / 0.9816 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.771e-06/0.1779, allocations: 0 / 0.9816 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.216e-05/0.178, allocations: 318.8 kB / 0.9819 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.786e-05/0.178, allocations: 20 kB / 0.982 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.609e-05/0.1781, allocations: 29.7 kB / 0.982 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.6e-05/0.1782, allocations: 15.98 kB / 0.982 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.21e-06/0.1782, allocations: 3.938 kB / 0.982 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001741/0.1784, allocations: 73.56 kB / 0.9821 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.1784, allocations: 8 kB / 0.9821 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.1785, allocations: 3.984 kB / 0.9821 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.1785, allocations: 336 / 0.9821 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.743e-05/0.1785, allocations: 7.938 kB / 0.9821 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.215e-06/0.1786, allocations: 0 / 0.9821 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.174e-05/0.1787, allocations: 23.88 kB / 0.9821 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.856e-06/0.1787, allocations: 0 / 0.9821 GB, free: 24.52 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: 2 ($PRE.shaT.hys.y,shaT.hys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.737e-05/0.1788, allocations: 121.8 kB / 0.9822 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.632e-05/0.1788, allocations: 0 / 0.9822 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.764e-05/0.1788, allocations: 11.91 kB / 0.9822 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.834e-06/0.1789, allocations: 0 / 0.9822 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.254e-06/0.1789, allocations: 0 / 0.9822 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.49e-06/0.1789, allocations: 3.984 kB / 0.9823 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001649/0.179, allocations: 173.6 kB / 0.9824 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.997e-06/0.1791, allocations: 0 / 0.9824 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.081e-05/0.1791, allocations: 7.984 kB / 0.9824 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.481e-06/0.1791, allocations: 4 kB / 0.9824 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.092e-05/0.1792, allocations: 4 kB / 0.9824 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.604e-06/0.1792, allocations: 4 kB / 0.9824 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.1792, allocations: 0 / 0.9824 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001824/0.1794, allocations: 163.3 kB / 0.9826 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.715e-05/0.1794, allocations: 89.02 kB / 0.9827 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.074e-05/0.1795, allocations: 4 kB / 0.9827 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001074/0.1796, allocations: 11.98 kB / 0.9827 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.795e-05/0.1796, allocations: 3.984 kB / 0.9827 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.94e-06/0.1797, allocations: 4 kB / 0.9827 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.784e-05/0.1797, allocations: 95.27 kB / 0.9828 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.91e-07/0.1797, allocations: 0 / 0.9828 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002961/0.18, allocations: 8 kB / 0.9828 GB, free: 23.73 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: 1 (shaT.hys.y) * Number of discrete states: 1 (shaT.hys.y) * 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 8.321e-05/0.1801, allocations: 99.25 kB / 0.9829 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002012/0.1803, allocations: 39.97 kB / 0.9829 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.895e-06/0.1804, allocations: 0 / 0.9829 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.282e-05/0.1804, allocations: 23.88 kB / 0.983 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002252/0.1807, allocations: 7.938 kB / 0.983 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003258/0.181, allocations: 180.7 kB / 0.9831 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001258/0.1812, allocations: 0.6887 MB / 0.9838 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.709e-05/0.1812, allocations: 11.94 kB / 0.9838 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.398e-05/0.1813, allocations: 11.42 kB / 0.9838 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of SimCode: time 1.4e-06/0.1813, allocations: 0 / 0.9838 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of Templates: time 0.003034/0.1843, allocations: 0.5764 MB / 0.9844 GB, free: 22.03 MB / 0.6198 GB