Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.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.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.61/2.61, allocations: 287.9 MB / 302.9 MB, free: 8.262 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: 175.1 kB / 371.4 MB, free: 10.65 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.114/2.114, allocations: 205.4 MB / 0.6301 GB, free: 10.29 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.001047/0.001047, allocations: 92.73 kB / 0.7434 GB, free: 6.301 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004608/0.0004611, allocations: 11 kB / 0.8662 GB, free: 141.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1743/0.1748, allocations: 115.3 MB / 0.9788 GB, free: 28.14 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer): time 0.001639/0.1765, allocations: 1.435 MB / 0.9802 GB, free: 26.69 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00111/0.1776, allocations: 0.6914 MB / 0.9808 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001047/0.1777, allocations: 4 kB / 0.9808 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.919e-05/0.1778, allocations: 11.86 kB / 0.9809 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001252/0.1779, allocations: 39.8 kB / 0.9809 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009756/0.1789, allocations: 357.1 kB / 0.9812 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002778/0.1792, allocations: 231.6 kB / 0.9815 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001266/0.1793, allocations: 52.27 kB / 0.9815 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001333/0.1795, allocations: 135.7 kB / 0.9816 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001448/0.1796, allocations: 127.5 kB / 0.9818 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.972e-05/0.1797, allocations: 20 kB / 0.9818 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.575e-05/0.1798, allocations: 24 kB / 0.9818 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.426e-05/0.1799, allocations: 47.81 kB / 0.9818 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.939e-05/0.18, allocations: 81.56 kB / 0.9819 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002697/0.1802, allocations: 267.6 kB / 0.9822 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.707e-06/0.1803, allocations: 0 / 0.9822 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.263e-06/0.1803, allocations: 4 kB / 0.9822 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.331e-06/0.1803, allocations: 0 / 0.9822 GB, free: 24.62 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0006175/0.1809, allocations: 0.5535 MB / 0.9827 GB, free: 24 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/0.181, allocations: 8.031 kB / 0.9827 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.455e-05/0.1811, allocations: 39.69 kB / 0.9828 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000787/0.1819, allocations: 311.6 kB / 0.9831 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.989e-05/0.1819, allocations: 28.31 kB / 0.9831 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.3e-05/0.182, allocations: 35.98 kB / 0.9831 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000337/0.1824, allocations: 180.1 kB / 0.9833 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.1824, allocations: 0 / 0.9833 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.185e-05/0.1824, allocations: 11.98 kB / 0.9833 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.071e-06/0.1825, allocations: 4 kB / 0.9833 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002455/0.1827, allocations: 112.1 kB / 0.9834 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009527/0.1837, allocations: 0.5975 MB / 0.984 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003433/0.184, allocations: 194.5 kB / 0.9842 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.417e-05/0.1841, allocations: 0 / 0.9842 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004352/0.1845, allocations: 258.7 kB / 0.9844 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=36): time 2.761e-06/0.1845, allocations: 0 / 0.9844 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of matching and sorting (n=36): time 0.0008034/0.1853, allocations: 409.3 kB / 0.9848 GB, free: 21.72 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.663e-05/0.1854, allocations: 71.34 kB / 0.9849 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001484/0.1856, allocations: 183 kB / 0.9851 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.318e-05/0.1856, allocations: 53.69 kB / 0.9851 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.278e-05/0.1857, allocations: 128.8 kB / 0.9852 GB, free: 21.26 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.023e-05/0.1858, allocations: 98.81 kB / 0.9853 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.459e-05/0.1859, allocations: 12 kB / 0.9853 GB, free: 21.15 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.928e-05/0.186, allocations: 342.8 kB / 0.9857 GB, free: 20.81 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003522/0.1863, allocations: 145 kB / 0.9858 GB, free: 20.67 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004086/0.1867, allocations: 267.2 kB / 0.9861 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003583/0.1871, allocations: 241 kB / 0.9863 GB, free: 20.11 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.453e-06/0.1871, allocations: 0 / 0.9863 GB, free: 20.11 MB / 0.6198 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001067/0.1882, allocations: 0.5761 MB / 0.9869 GB, free: 19.5 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.359e-05/0.1883, allocations: 93.09 kB / 0.987 GB, free: 19.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.76e-06/0.1883, allocations: 480 / 0.987 GB, free: 19.39 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.093e-05/0.1883, allocations: 15.98 kB / 0.987 GB, free: 19.38 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001691/0.1885, allocations: 47.86 kB / 0.987 GB, free: 19.33 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.569e-05/0.1885, allocations: 19.92 kB / 0.987 GB, free: 19.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006335/0.1892, allocations: 131.5 kB / 0.9872 GB, free: 19.18 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.829e-05/0.1893, allocations: 31.98 kB / 0.9872 GB, free: 19.15 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 56 ($PRE.accuTimer3.yAcc,accuTimer3.yAcc,$PRE.accuTimer2.yAcc,accuTimer2.yAcc,$PRE.accuTimer1.yAcc,accuTimer1.yAcc,$PRE.accuTimer.yAcc,accuTimer.yAcc,$PRE.resetTimer.yAcc,resetTimer.yAcc,$whenCondition15,$whenCondition16,$whenCondition13,$whenCondition14,$whenCondition11,$whenCondition12,$whenCondition3,$PRE.booPul1.y,booPul1.y,$whenCondition9,$PRE.pre.u,pre.y,con.y,$whenCondition8,$whenCondition7,$PRE.accuTimer2.entryTime,accuTimer2.entryTime,$PRE.booPul2.y,booPul2.y,$PRE.accuTimer2.reset_internal,accuTimer2.reset_internal,$whenCondition10,$whenCondition5,$whenCondition6,$whenCondition4,$whenCondition2,$whenCondition1,$PRE.resetTimer.entryTime,resetTimer.entryTime,$PRE.accuTimer.entryTime,accuTimer.entryTime,$PRE.accuTimer1.entryTime,accuTimer1.entryTime,$PRE.accuTimer3.entryTime,accuTimer3.entryTime,pre.u,$PRE.booPul.y,booPul.y,$PRE.resetTimer.reset_internal,resetTimer.reset_internal,$PRE.accuTimer.reset_internal,accuTimer.reset_internal,$PRE.accuTimer1.reset_internal,accuTimer1.reset_internal,$PRE.accuTimer3.reset_internal,accuTimer3.reset_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 3 * 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 0.0001918/0.1895, allocations: 175 kB / 0.9874 GB, free: 18.97 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.342e-05/0.1895, allocations: 23.72 kB / 0.9874 GB, free: 18.95 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.481e-05/0.1896, allocations: 22.66 kB / 0.9874 GB, free: 18.93 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.768e-06/0.1896, allocations: 4 kB / 0.9874 GB, free: 18.93 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.497e-06/0.1896, allocations: 0 / 0.9874 GB, free: 18.93 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.622e-06/0.1896, allocations: 11.88 kB / 0.9874 GB, free: 18.91 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009769/0.1906, allocations: 0.7022 MB / 0.9881 GB, free: 18.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.042e-06/0.1906, allocations: 0 / 0.9881 GB, free: 18.16 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.981e-05/0.1907, allocations: 15.94 kB / 0.9881 GB, free: 18.14 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.598e-06/0.1907, allocations: 7.984 kB / 0.9881 GB, free: 18.13 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.936e-05/0.1908, allocations: 11.98 kB / 0.9881 GB, free: 18.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.807e-06/0.1908, allocations: 3.953 kB / 0.9881 GB, free: 18.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.199e-06/0.1908, allocations: 0 / 0.9881 GB, free: 18.12 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005585/0.1914, allocations: 426.8 kB / 0.9885 GB, free: 17.68 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.884e-05/0.1914, allocations: 96.77 kB / 0.9886 GB, free: 17.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.037e-05/0.1915, allocations: 11.98 kB / 0.9886 GB, free: 17.56 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001458/0.1916, allocations: 11.98 kB / 0.9887 GB, free: 17.55 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.409e-05/0.1917, allocations: 27.92 kB / 0.9887 GB, free: 17.52 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.952e-05/0.1917, allocations: 19.98 kB / 0.9887 GB, free: 17.5 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 8.533e-05/0.1918, allocations: 121.2 kB / 0.9888 GB, free: 17.38 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.485e-06/0.1919, allocations: 0 / 0.9888 GB, free: 17.38 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004922/0.1924, allocations: 95.92 kB / 0.9889 GB, free: 17.29 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: 31 (pre.y,$whenCondition15,$whenCondition16,$whenCondition13,$whenCondition14,$whenCondition11,$whenCondition12,$whenCondition9,$whenCondition10,$whenCondition8,$whenCondition7,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition2,$whenCondition1,resetTimer.entryTime,resetTimer.yAcc,accuTimer.entryTime,accuTimer.yAcc,accuTimer1.entryTime,accuTimer1.yAcc,accuTimer2.entryTime,accuTimer2.yAcc,accuTimer3.entryTime,accuTimer3.yAcc,booPul1.y,pre.u,booPul.y,booPul2.y) * Number of discrete states: 6 (pre.u,accuTimer3.y,accuTimer2.y,accuTimer1.y,accuTimer.y,resetTimer.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 13 * 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.0001544/0.1925, allocations: 129.5 kB / 0.989 GB, free: 17.15 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0007994/0.1933, allocations: 0.5334 MB / 0.9896 GB, free: 16.58 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.961e-06/0.1934, allocations: 0.75 kB / 0.9896 GB, free: 16.58 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002244/0.1936, allocations: 148.3 kB / 0.9897 GB, free: 16.44 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003221/0.1939, allocations: 41.34 kB / 0.9897 GB, free: 16.39 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007271/0.1947, allocations: 462.9 kB / 0.9902 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001773/0.1949, allocations: 0.7487 MB / 0.9909 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001374/0.195, allocations: 43.12 kB / 0.991 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.168e-05/0.1951, allocations: 23.44 kB / 0.991 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of SimCode: time 1.424e-06/0.1951, allocations: 4 kB / 0.991 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of Templates: time 0.00846/0.2036, allocations: 3.419 MB / 0.9943 GB, free: 11.68 MB / 0.6198 GB