Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Timer") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.278/2.278, allocations: 251.1 MB / 266.1 MB, free: 11.55 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002399/0.002399, allocations: 185.5 kB / 325.6 MB, free: 2.797 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.534/2.534, allocations: 205.4 MB / 0.5766 GB, free: 20.74 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001155/0.001155, allocations: 98.53 kB / 0.6811 GB, free: 13.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004895/0.0004894, allocations: 15.91 kB / 0.7951 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2302/0.2307, allocations: 106.3 MB / 0.8989 GB, free: 65.38 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2301/0.4609, allocations: 131.9 MB / 1.028 GB, free: 13.32 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003389/0.4613, allocations: 79.94 kB / 1.028 GB, free: 13.25 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02486/0.4862, allocations: 2.27 MB / 1.03 GB, free: 10.97 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.354e-06/0.4862, allocations: 0 / 1.03 GB, free: 10.97 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.267e-05/0.4863, allocations: 4 kB / 1.03 GB, free: 10.96 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.001372/0.4876, allocations: 493.5 kB / 1.03 GB, free: 10.43 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.275e-05/0.4877, allocations: 8.031 kB / 1.03 GB, free: 10.42 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001091/0.4878, allocations: 27.77 kB / 1.03 GB, free: 10.39 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000442/0.4883, allocations: 224.9 kB / 1.031 GB, free: 10.13 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.282e-05/0.4884, allocations: 24.25 kB / 1.031 GB, free: 10.11 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.293e-05/0.4885, allocations: 24 kB / 1.031 GB, free: 10.09 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006934/0.4892, allocations: 180.8 kB / 1.031 GB, free: 9.906 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.606e-05/0.4892, allocations: 8 kB / 1.031 GB, free: 9.898 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.181e-05/0.4893, allocations: 7.984 kB / 1.031 GB, free: 9.891 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.479e-05/0.4893, allocations: 7.953 kB / 1.031 GB, free: 9.883 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008194/0.4975, allocations: 120.5 kB / 1.031 GB, free: 9.766 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002106/0.4997, allocations: 0.5477 MB / 1.032 GB, free: 9.168 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007435/0.5005, allocations: 222.4 kB / 1.032 GB, free: 8.941 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.346e-05/0.5005, allocations: 4 kB / 1.032 GB, free: 8.938 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008728/0.5014, allocations: 256.9 kB / 1.032 GB, free: 8.676 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=39): time 4.068e-06/0.5014, allocations: 0 / 1.032 GB, free: 8.676 MB / 0.6823 GB Notification: Performance of matching and sorting (n=39): time 0.0063/0.5078, allocations: 430.1 kB / 1.032 GB, free: 8.25 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.556e-05/0.5079, allocations: 63.41 kB / 1.033 GB, free: 8.176 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002717/0.5082, allocations: 149.8 kB / 1.033 GB, free: 8.023 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 8.962e-05/0.5083, allocations: 41.7 kB / 1.033 GB, free: 7.977 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001177/0.5084, allocations: 116.9 kB / 1.033 GB, free: 7.855 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001614/0.5086, allocations: 82.95 kB / 1.033 GB, free: 7.773 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.342e-05/0.5087, allocations: 12 kB / 1.033 GB, free: 7.762 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001839/0.5088, allocations: 330.8 kB / 1.033 GB, free: 7.43 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004252/0.5093, allocations: 97.08 kB / 1.033 GB, free: 7.336 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004094/0.5134, allocations: 150.3 kB / 1.033 GB, free: 7.176 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004226/0.5139, allocations: 88.81 kB / 1.034 GB, free: 7.094 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.202e-06/0.5139, allocations: 0 / 1.034 GB, free: 7.094 MB / 0.6823 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001143/0.5151, allocations: 335.8 kB / 1.034 GB, free: 6.758 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.777e-05/0.5151, allocations: 4 kB / 1.034 GB, free: 6.754 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.368e-05/0.5151, allocations: 0 / 1.034 GB, free: 6.754 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.555e-05/0.5152, allocations: 7.938 kB / 1.034 GB, free: 6.746 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004038/0.5156, allocations: 51.84 kB / 1.034 GB, free: 6.695 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.402e-05/0.5156, allocations: 4 kB / 1.034 GB, free: 6.691 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004601/0.5161, allocations: 51.62 kB / 1.034 GB, free: 6.641 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.051e-05/0.5162, allocations: 16.03 kB / 1.034 GB, free: 6.625 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 54 ($PRE.resetTimer.yAcc,resetTimer.yAcc,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition11,$whenCondition12,$whenCondition10,$whenCondition8,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition4,$whenCondition5,$whenCondition3,$whenCondition1,$whenCondition2,$PRE.resetTimer.entryTime,resetTimer.entryTime,$PRE.accuTimer.entryTime,accuTimer.entryTime,$PRE.accuTimer.yAcc,accuTimer.yAcc,$PRE.accuTimer.reset_internal,accuTimer.reset_internal,$PRE.accuTimer1.entryTime,accuTimer1.entryTime,$PRE.accuTimer1.yAcc,accuTimer1.yAcc,$PRE.accuTimer1.reset_internal,accuTimer1.reset_internal,accuTimer2.u,$PRE.accuTimer2.entryTime,accuTimer2.entryTime,$PRE.accuTimer2.yAcc,accuTimer2.yAcc,$PRE.accuTimer2.reset_internal,accuTimer2.reset_internal,$PRE.accuTimer3.entryTime,accuTimer3.entryTime,$PRE.accuTimer3.yAcc,accuTimer3.yAcc,$PRE.accuTimer3.reset_internal,accuTimer3.reset_internal,$PRE.booPul1.pulseStart,booPul1.pulseStart,$PRE.pre.u,pre.u,$PRE.booPul.pulseStart,booPul.pulseStart,$PRE.booPul2.pulseStart,booPul2.pulseStart,$PRE.resetTimer.reset_internal,resetTimer.reset_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 59 * 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 0.0003287/0.5165, allocations: 167 kB / 1.034 GB, free: 6.453 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.446e-05/0.5166, allocations: 23.75 kB / 1.034 GB, free: 6.43 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001051/0.5167, allocations: 25.95 kB / 1.034 GB, free: 6.406 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.959e-06/0.5168, allocations: 4 kB / 1.034 GB, free: 6.402 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.627e-06/0.5168, allocations: 0 / 1.034 GB, free: 6.402 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.007e-06/0.5168, allocations: 0 / 1.034 GB, free: 6.402 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002314/0.5191, allocations: 0.756 MB / 1.035 GB, free: 5.59 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/0.5192, allocations: 0 / 1.035 GB, free: 5.59 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001696/0.5194, allocations: 15.98 kB / 1.035 GB, free: 5.574 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.227e-06/0.5194, allocations: 4 kB / 1.035 GB, free: 5.57 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.521e-05/0.5194, allocations: 11.98 kB / 1.035 GB, free: 5.559 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.402e-06/0.5195, allocations: 3.938 kB / 1.035 GB, free: 5.555 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.15e-06/0.5195, allocations: 3.953 kB / 1.035 GB, free: 5.551 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001258/0.5208, allocations: 439.1 kB / 1.035 GB, free: 5.105 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001127/0.5209, allocations: 96.77 kB / 1.036 GB, free: 4.992 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.816e-05/0.521, allocations: 11.98 kB / 1.036 GB, free: 4.98 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004832/0.5215, allocations: 27.97 kB / 1.036 GB, free: 4.953 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003256/0.5248, allocations: 39.94 kB / 1.036 GB, free: 4.914 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.271e-05/0.5249, allocations: 23.94 kB / 1.036 GB, free: 4.891 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001785/0.5251, allocations: 115 kB / 1.036 GB, free: 4.781 MB / 0.6823 GB Notification: Performance of sort global known variables: time 6.11e-07/0.5251, allocations: 0 / 1.036 GB, free: 4.781 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.00083/0.526, allocations: 68 kB / 1.036 GB, free: 4.715 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 34 (accuTimer2.u,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition11,$whenCondition12,$whenCondition10,$whenCondition8,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition4,$whenCondition5,$whenCondition3,$whenCondition1,$whenCondition2,resetTimer.entryTime,resetTimer.yAcc,accuTimer.entryTime,accuTimer.yAcc,accuTimer.reset_internal,accuTimer1.entryTime,accuTimer1.yAcc,accuTimer1.reset_internal,accuTimer2.entryTime,accuTimer2.yAcc,accuTimer2.reset_internal,accuTimer3.entryTime,accuTimer3.yAcc,accuTimer3.reset_internal,booPul1.pulseStart,pre.u,booPul.pulseStart,booPul2.pulseStart) * Number of discrete states: 10 (pre.u,accuTimer1.reset_internal,accuTimer2.reset_internal,accuTimer3.reset_internal,accuTimer.reset_internal,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 (39): * Single equations (assignments): 26 * 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.0002884/0.5263, allocations: 121.8 kB / 1.036 GB, free: 4.59 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.00113/0.5274, allocations: 286.9 kB / 1.036 GB, free: 4.309 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/0.5274, allocations: 0 / 1.036 GB, free: 4.309 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005844/0.528, allocations: 151.8 kB / 1.036 GB, free: 4.16 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006342/0.5287, allocations: 31.97 kB / 1.036 GB, free: 4.129 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001528/0.5302, allocations: 461.3 kB / 1.037 GB, free: 3.652 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004647/0.5307, allocations: 0.7451 MB / 1.038 GB, free: 2.875 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0002596/0.531, allocations: 30.97 kB / 1.038 GB, free: 2.84 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001744/0.5312, allocations: 31.42 kB / 1.038 GB, free: 2.812 MB / 0.6823 GB Notification: Performance of SimCode: time 1.493e-06/0.5312, allocations: 3.938 kB / 1.038 GB, free: 2.809 MB / 0.6823 GB Notification: Performance of Templates: time 0.009832/0.5411, allocations: 2.318 MB / 1.04 GB, free: 0.5039 MB / 0.6823 GB