Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Timer") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.004321/0.004325, allocations: 232.2 kB / 15.82 MB, free: 6.289 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001206/0.001206, allocations: 172.2 kB / 16.7 MB, free: 5.449 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 3.845/3.845, allocations: 389.1 MB / 406.5 MB, free: 6.805 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.516/4.516, allocations: 472.3 MB / 0.9024 GB, free: 10.79 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004899/0.0004901, allocations: 27.98 kB / 1.008 GB, free: 6.727 MB / 0.6511 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2138/0.2143, allocations: 98.71 MB / 1.105 GB, free: 3.859 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8102/1.025, allocations: 124.5 MB / 1.226 GB, free: 199.9 MB / 0.7917 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003451/1.025, allocations: 73.03 kB / 1.226 GB, free: 199.8 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 0.003875/1.029, allocations: 0.8239 MB / 1.227 GB, free: 199.2 MB / 0.7917 GB Notification: Performance of FrontEnd: time 2.715e-06/1.029, allocations: 0 / 1.227 GB, free: 199.2 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.266e-05/1.029, allocations: 6.312 kB / 1.227 GB, free: 199.2 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005663/1.03, allocations: 365.2 kB / 1.227 GB, free: 198.9 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/1.03, allocations: 14.98 kB / 1.227 GB, free: 198.9 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.77e-05/1.03, allocations: 6.125 kB / 1.227 GB, free: 198.9 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002006/1.03, allocations: 178.8 kB / 1.228 GB, free: 198.6 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.892e-05/1.03, allocations: 6.422 kB / 1.228 GB, free: 198.6 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.722e-05/1.03, allocations: 7.188 kB / 1.228 GB, free: 198.6 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002065/1.03, allocations: 65.5 kB / 1.228 GB, free: 198.6 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.375e-05/1.03, allocations: 1.219 kB / 1.228 GB, free: 198.6 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.867e-05/1.03, allocations: 0 / 1.228 GB, free: 198.6 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.856e-06/1.03, allocations: 5.688 kB / 1.228 GB, free: 198.6 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001433/1.03, allocations: 30.89 kB / 1.228 GB, free: 198.6 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007408/1.031, allocations: 297.5 kB / 1.228 GB, free: 198.3 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002073/1.031, allocations: 64.58 kB / 1.228 GB, free: 198.2 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.386e-05/1.032, allocations: 23.88 kB / 1.228 GB, free: 198.2 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 2.021e-05/1.032, allocations: 4 kB / 1.228 GB, free: 198.2 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002982/1.032, allocations: 87.97 kB / 1.228 GB, free: 198.1 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=11): time 3.798e-06/1.032, allocations: 0 / 1.228 GB, free: 198.1 MB / 0.7917 GB Notification: Performance of matching and sorting (n=11): time 0.0004858/1.032, allocations: 134 kB / 1.228 GB, free: 198 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.348e-05/1.032, allocations: 56.66 kB / 1.228 GB, free: 198 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001042/1.033, allocations: 109.4 kB / 1.228 GB, free: 197.9 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 2.887e-05/1.033, allocations: 35.55 kB / 1.229 GB, free: 197.8 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 4.93e-05/1.033, allocations: 87.61 kB / 1.229 GB, free: 197.7 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 4.816e-05/1.033, allocations: 30.16 kB / 1.229 GB, free: 197.7 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.098e-05/1.033, allocations: 4.75 kB / 1.229 GB, free: 197.7 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 7.444e-05/1.033, allocations: 316.2 kB / 1.229 GB, free: 197.4 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001004/1.033, allocations: 22.66 kB / 1.229 GB, free: 197.4 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001249/1.033, allocations: 51.47 kB / 1.229 GB, free: 197.4 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001146/1.033, allocations: 24.38 kB / 1.229 GB, free: 197.3 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/1.033, allocations: 5.156 kB / 1.229 GB, free: 197.3 MB / 0.7917 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003356/1.034, allocations: 110.6 kB / 1.229 GB, free: 197.2 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.456e-05/1.034, allocations: 11.38 kB / 1.229 GB, free: 197.2 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.657e-06/1.034, allocations: 0 / 1.229 GB, free: 197.2 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.188e-05/1.034, allocations: 0 / 1.229 GB, free: 197.2 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001711/1.034, allocations: 26.53 kB / 1.229 GB, free: 197.2 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.738e-06/1.034, allocations: 1.359 kB / 1.229 GB, free: 197.2 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001624/1.034, allocations: 19.36 kB / 1.229 GB, free: 197.2 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.778e-05/1.034, allocations: 7.312 kB / 1.229 GB, free: 197.2 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 14 ($PRE.resetTimer.yAcc,resetTimer.yAcc,$whenCondition1,$whenCondition3,$whenCondition2,$PRE.booPul.pulseStart,booPul.pulseStart,$PRE.resetTimer.entryTime,resetTimer.entryTime,accuTimer.u,$PRE.accuTimer.entryTime,accuTimer.entryTime,$PRE.accuTimer.yAcc,accuTimer.yAcc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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.0001278/1.034, allocations: 127.8 kB / 1.229 GB, free: 197.1 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.809e-05/1.034, allocations: 7.906 kB / 1.229 GB, free: 197.1 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.519e-05/1.034, allocations: 9 kB / 1.229 GB, free: 197.1 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.73e-06/1.034, allocations: 4 kB / 1.229 GB, free: 197.1 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/1.034, allocations: 3.953 kB / 1.229 GB, free: 197.1 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.652e-06/1.034, allocations: 2.469 kB / 1.229 GB, free: 197.1 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008075/1.035, allocations: 382.9 kB / 1.23 GB, free: 196.7 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.297e-06/1.035, allocations: 4 kB / 1.23 GB, free: 196.7 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.7e-05/1.035, allocations: 5.438 kB / 1.23 GB, free: 196.7 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/1.035, allocations: 4 kB / 1.23 GB, free: 196.7 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.907e-05/1.035, allocations: 6.828 kB / 1.23 GB, free: 196.7 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/1.035, allocations: 1.5 kB / 1.23 GB, free: 196.7 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/1.035, allocations: 1.062 kB / 1.23 GB, free: 196.7 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003213/1.036, allocations: 208.4 kB / 1.23 GB, free: 196.5 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 3.991e-05/1.036, allocations: 86.61 kB / 1.23 GB, free: 196.4 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.577e-05/1.036, allocations: 0 / 1.23 GB, free: 196.4 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001994/1.036, allocations: 14.08 kB / 1.23 GB, free: 196.4 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.661e-05/1.036, allocations: 6.906 kB / 1.23 GB, free: 196.4 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.692e-05/1.036, allocations: 7.25 kB / 1.23 GB, free: 196.4 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 5.473e-05/1.036, allocations: 84.59 kB / 1.23 GB, free: 196.3 MB / 0.7917 GB Notification: Performance of sort global known variables: time 5.01e-07/1.036, allocations: 4 kB / 1.23 GB, free: 196.3 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0005548/1.037, allocations: 15.69 kB / 1.23 GB, free: 196.3 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 (accuTimer.u,$whenCondition3,$whenCondition2,$whenCondition1,booPul.pulseStart,resetTimer.entryTime,resetTimer.yAcc,accuTimer.entryTime,accuTimer.yAcc) * Number of discrete states: 2 (resetTimer.y,accuTimer.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.000166/1.037, allocations: 117.5 kB / 1.23 GB, free: 196.2 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0003022/1.037, allocations: 68.8 kB / 1.23 GB, free: 196.1 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/1.037, allocations: 0 / 1.23 GB, free: 196.1 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.000133/1.038, allocations: 30.38 kB / 1.23 GB, free: 196.1 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005866/1.038, allocations: 19.78 kB / 1.23 GB, free: 196.1 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006705/1.039, allocations: 192.1 kB / 1.231 GB, free: 195.9 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001992/1.039, allocations: 0.6876 MB / 1.231 GB, free: 195.2 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 7.488e-05/1.039, allocations: 13.02 kB / 1.231 GB, free: 195.2 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.872e-05/1.039, allocations: 11.44 kB / 1.231 GB, free: 195.2 MB / 0.7917 GB Notification: Performance of SimCode: time 1.302e-06/1.039, allocations: 0 / 1.231 GB, free: 195.2 MB / 0.7917 GB Notification: Performance of Templates: time 0.005213/1.044, allocations: 0.78 MB / 1.232 GB, free: 194.8 MB / 0.7917 GB