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 5.268/5.268, allocations: 0.5623 GB / 0.5775 GB, free: 3.328 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002937/0.002936, allocations: 364.2 kB / 0.6446 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.557/4.557, allocations: 410.7 MB / 1.113 GB, free: 5.996 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001863/0.001862, allocations: 184.4 kB / 1.226 GB, free: 6.125 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0007253/0.0007257, allocations: 12 kB / 1.349 GB, free: 8.246 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7862/0.787, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2004/0.9875, allocations: 139.4 MB / 1.597 GB, free: 144.8 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002719/0.9878, allocations: 79.95 kB / 1.598 GB, free: 144.8 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.02419/1.012, allocations: 5.467 MB / 1.603 GB, free: 139.4 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.044e-06/1.012, allocations: 0 / 1.603 GB, free: 139.4 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.974e-05/1.012, allocations: 8 kB / 1.603 GB, free: 139.4 MB / 0.8542 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.0008145/1.013, allocations: 0.5614 MB / 1.603 GB, free: 138.8 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/1.013, allocations: 16.11 kB / 1.603 GB, free: 138.7 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001201/1.013, allocations: 35.67 kB / 1.603 GB, free: 138.7 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003944/1.014, allocations: 259.7 kB / 1.604 GB, free: 138.4 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.148e-05/1.014, allocations: 28.31 kB / 1.604 GB, free: 138.4 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.757e-05/1.014, allocations: 42.36 kB / 1.604 GB, free: 138.3 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004331/1.014, allocations: 168.2 kB / 1.604 GB, free: 138.2 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.481e-05/1.014, allocations: 0 / 1.604 GB, free: 138.2 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.461e-05/1.014, allocations: 12.48 kB / 1.604 GB, free: 138.2 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/1.014, allocations: 5.469 kB / 1.604 GB, free: 138.2 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003016/1.015, allocations: 114.5 kB / 1.604 GB, free: 138.1 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001351/1.016, allocations: 0.6407 MB / 1.605 GB, free: 137.4 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004361/1.016, allocations: 194.7 kB / 1.605 GB, free: 137.2 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001888/1.017, allocations: 88.81 kB / 1.605 GB, free: 137.1 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.415e-05/1.017, allocations: 3.938 kB / 1.605 GB, free: 137.1 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005589/1.017, allocations: 258.8 kB / 1.605 GB, free: 136.8 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=37): time 2.936e-06/1.017, allocations: 4.875 kB / 1.605 GB, free: 136.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=37): time 0.001069/1.018, allocations: 431.5 kB / 1.606 GB, free: 136.4 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.131e-05/1.018, allocations: 60.88 kB / 1.606 GB, free: 136.3 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002025/1.019, allocations: 188.2 kB / 1.606 GB, free: 136.1 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 9.389e-05/1.019, allocations: 49.7 kB / 1.606 GB, free: 136.1 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.000106/1.019, allocations: 133.6 kB / 1.606 GB, free: 135.9 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 7.956e-05/1.019, allocations: 95.81 kB / 1.606 GB, free: 135.8 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.72e-05/1.019, allocations: 12 kB / 1.606 GB, free: 135.8 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 7.992e-05/1.019, allocations: 340.5 kB / 1.606 GB, free: 135.5 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004954/1.02, allocations: 157 kB / 1.607 GB, free: 135.3 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005181/1.02, allocations: 278.2 kB / 1.607 GB, free: 135 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004839/1.021, allocations: 251.1 kB / 1.607 GB, free: 134.8 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/1.021, allocations: 0 / 1.607 GB, free: 134.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001393/1.022, allocations: 0.5989 MB / 1.608 GB, free: 134.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 7.471e-05/1.022, allocations: 100.8 kB / 1.608 GB, free: 134 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.253e-05/1.022, allocations: 7.953 kB / 1.608 GB, free: 134 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.586e-05/1.022, allocations: 6.5 kB / 1.608 GB, free: 134 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002536/1.022, allocations: 47.8 kB / 1.608 GB, free: 134 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.562e-05/1.022, allocations: 15.92 kB / 1.608 GB, free: 134 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001005/1.023, allocations: 125.7 kB / 1.608 GB, free: 133.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.074e-05/1.024, allocations: 35.98 kB / 1.608 GB, free: 133.8 MB / 0.8542 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,$whenCondition16,$whenCondition17,$whenCondition14,$whenCondition15,$whenCondition12,$whenCondition13,$whenCondition4,$PRE.booPul1.y,booPul1.y,$whenCondition1,$whenCondition10,accuTimer3.reset,$PRE.pre.u,$whenCondition9,$whenCondition8,$PRE.accuTimer2.entryTime,accuTimer2.entryTime,$PRE.booPul2.y,booPul2.y,$PRE.accuTimer2.reset_internal,accuTimer2.reset_internal,$whenCondition11,$whenCondition6,$whenCondition7,$whenCondition5,$whenCondition3,$whenCondition2,$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.0002654/1.024, allocations: 174.9 kB / 1.608 GB, free: 133.6 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.586e-05/1.024, allocations: 28.28 kB / 1.608 GB, free: 133.6 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.261e-05/1.024, allocations: 27.86 kB / 1.608 GB, free: 133.6 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.303e-06/1.024, allocations: 7.953 kB / 1.608 GB, free: 133.6 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/1.024, allocations: 4 kB / 1.608 GB, free: 133.6 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/1.024, allocations: 0 / 1.608 GB, free: 133.6 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001194/1.025, allocations: 0.722 MB / 1.609 GB, free: 132.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/1.025, allocations: 0 / 1.609 GB, free: 132.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000114/1.025, allocations: 19.98 kB / 1.609 GB, free: 132.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.574e-06/1.025, allocations: 3.953 kB / 1.609 GB, free: 132.8 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.194e-05/1.025, allocations: 8.484 kB / 1.609 GB, free: 132.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.358e-06/1.025, allocations: 0.9688 kB / 1.609 GB, free: 132.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/1.025, allocations: 0 / 1.609 GB, free: 132.8 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000701/1.026, allocations: 441.5 kB / 1.609 GB, free: 132.3 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 5.429e-05/1.026, allocations: 96.77 kB / 1.61 GB, free: 132.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.505e-05/1.026, allocations: 21.28 kB / 1.61 GB, free: 132.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001834/1.027, allocations: 11.98 kB / 1.61 GB, free: 132.2 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.785e-05/1.027, allocations: 29.12 kB / 1.61 GB, free: 132.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.414e-05/1.027, allocations: 16.73 kB / 1.61 GB, free: 132.1 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001209/1.027, allocations: 132.7 kB / 1.61 GB, free: 132 MB / 0.8542 GB Notification: Performance of sort global known variables: time 3.81e-07/1.027, allocations: 0 / 1.61 GB, free: 132 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0006736/1.027, allocations: 100.1 kB / 1.61 GB, free: 131.9 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 32 (accuTimer3.reset,$whenCondition16,$whenCondition17,$whenCondition14,$whenCondition15,$whenCondition12,$whenCondition13,$whenCondition10,$whenCondition11,$whenCondition9,$whenCondition8,$whenCondition6,$whenCondition7,$whenCondition4,$whenCondition5,$whenCondition3,$whenCondition1,$whenCondition2,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 (37): * Single equations (assignments): 24 * 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.0001951/1.028, allocations: 131.1 kB / 1.61 GB, free: 131.8 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.00108/1.029, allocations: 0.562 MB / 1.61 GB, free: 131.2 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/1.029, allocations: 2.062 kB / 1.61 GB, free: 131.2 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0002894/1.029, allocations: 151.9 kB / 1.611 GB, free: 131 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000538/1.03, allocations: 42.31 kB / 1.611 GB, free: 131 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009336/1.031, allocations: 464.3 kB / 1.611 GB, free: 130.5 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002028/1.031, allocations: 0.7555 MB / 1.612 GB, free: 129.7 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001431/1.031, allocations: 32.91 kB / 1.612 GB, free: 129.7 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.999e-05/1.031, allocations: 23.44 kB / 1.612 GB, free: 129.7 MB / 0.8542 GB Notification: Performance of SimCode: time 9.61e-07/1.031, allocations: 1.094 kB / 1.612 GB, free: 129.7 MB / 0.8542 GB Notification: Performance of Templates: time 0.01024/1.041, allocations: 3.581 MB / 1.615 GB, free: 126.3 MB / 0.8542 GB