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.008834/0.008834, allocations: 110.2 kB / 15.05 MB, free: 5.965 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.00107/0.00107, allocations: 179.3 kB / 15.94 MB, free: 5.93 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 2.068/2.068, allocations: 194.6 MB / 211.3 MB, free: 11.25 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.253/2.253, allocations: 236.2 MB / 492.6 MB, free: 11.31 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007427/0.000743, allocations: 12 kB / 0.587 GB, free: 2.148 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5559/0.5567, allocations: 98.71 MB / 0.6834 GB, free: 16.81 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.184/0.7408, allocations: 124.5 MB / 0.8049 GB, free: 1.797 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002332/0.7411, allocations: 71.95 kB / 0.805 GB, free: 1.727 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.002715/0.7438, allocations: 0.8384 MB / 0.8058 GB, free: 0.8828 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.761e-06/0.7438, allocations: 0 / 0.8058 GB, free: 0.8828 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.145e-05/0.7438, allocations: 4 kB / 0.8058 GB, free: 0.8789 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004621/0.7443, allocations: 351.2 kB / 0.8061 GB, free: 500 kB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.7444, allocations: 8.031 kB / 0.8061 GB, free: 492 kB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.732e-05/0.7444, allocations: 11.91 kB / 0.8062 GB, free: 480 kB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001996/0.7446, allocations: 179 kB / 0.8063 GB, free: 260 kB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.025e-05/0.7446, allocations: 12 kB / 0.8063 GB, free: 248 kB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.873e-05/0.7447, allocations: 7.984 kB / 0.8063 GB, free: 240 kB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001587/0.7448, allocations: 65.61 kB / 0.8064 GB, free: 168 kB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.132e-06/0.7449, allocations: 0 / 0.8064 GB, free: 168 kB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.254e-05/0.7449, allocations: 0 / 0.8064 GB, free: 168 kB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.7449, allocations: 0 / 0.8064 GB, free: 168 kB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001015/0.745, allocations: 27.98 kB / 0.8064 GB, free: 140 kB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005551/0.7456, allocations: 304.8 kB / 0.8067 GB, free: 15.79 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00015/0.7457, allocations: 62.55 kB / 0.8068 GB, free: 15.72 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.556e-05/0.7458, allocations: 4 kB / 0.8068 GB, free: 15.71 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002122/0.746, allocations: 87.22 kB / 0.8069 GB, free: 15.62 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=11): time 2.554e-06/0.746, allocations: 4 kB / 0.8069 GB, free: 15.61 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.0003424/0.7464, allocations: 118 kB / 0.807 GB, free: 15.49 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.201e-05/0.7464, allocations: 63.34 kB / 0.807 GB, free: 15.42 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.938e-05/0.7465, allocations: 100.9 kB / 0.8071 GB, free: 15.31 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.161e-05/0.7466, allocations: 37.64 kB / 0.8072 GB, free: 15.27 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.325e-05/0.7467, allocations: 88.12 kB / 0.8073 GB, free: 15.18 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.101e-05/0.7467, allocations: 27.8 kB / 0.8073 GB, free: 15.15 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.282e-06/0.7467, allocations: 4 kB / 0.8073 GB, free: 15.15 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000164/0.7469, allocations: 318.8 kB / 0.8076 GB, free: 14.83 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.163e-05/0.747, allocations: 27.98 kB / 0.8076 GB, free: 14.8 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001002/0.7471, allocations: 52.89 kB / 0.8077 GB, free: 14.74 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.134e-05/0.7472, allocations: 28 kB / 0.8077 GB, free: 14.71 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.588e-06/0.7472, allocations: 0 / 0.8077 GB, free: 14.71 MB / 0.6355 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000254/0.7475, allocations: 113.5 kB / 0.8078 GB, free: 14.6 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.7475, allocations: 4 kB / 0.8078 GB, free: 14.59 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.605e-06/0.7475, allocations: 4.062 kB / 0.8078 GB, free: 14.59 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.7475, allocations: 11.92 kB / 0.8078 GB, free: 14.58 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001007/0.7477, allocations: 12 kB / 0.8078 GB, free: 14.57 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.839e-06/0.7477, allocations: 4 kB / 0.8078 GB, free: 14.56 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.128e-05/0.7478, allocations: 15.88 kB / 0.8079 GB, free: 14.55 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.295e-05/0.7478, allocations: 4 kB / 0.8079 GB, free: 14.54 MB / 0.6355 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.0001209/0.7479, allocations: 125.8 kB / 0.808 GB, free: 14.41 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.227e-05/0.748, allocations: 11.91 kB / 0.808 GB, free: 14.4 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.358e-05/0.748, allocations: 8.375 kB / 0.808 GB, free: 14.39 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.748, allocations: 0 / 0.808 GB, free: 14.39 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.979e-06/0.748, allocations: 0 / 0.808 GB, free: 14.39 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.595e-06/0.748, allocations: 3.984 kB / 0.808 GB, free: 14.38 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006156/0.7487, allocations: 390.7 kB / 0.8084 GB, free: 13.95 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.923e-06/0.7487, allocations: 3.938 kB / 0.8084 GB, free: 13.94 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.373e-05/0.7487, allocations: 12 kB / 0.8084 GB, free: 13.93 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.612e-06/0.7488, allocations: 3.984 kB / 0.8084 GB, free: 13.93 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/0.7488, allocations: 0 / 0.8084 GB, free: 13.93 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.671e-06/0.7488, allocations: 4 kB / 0.8084 GB, free: 13.92 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.103e-06/0.7488, allocations: 3.953 kB / 0.8084 GB, free: 13.92 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002764/0.7491, allocations: 199.4 kB / 0.8086 GB, free: 13.71 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.988e-05/0.7492, allocations: 81.02 kB / 0.8087 GB, free: 13.61 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.968e-05/0.7492, allocations: 11.98 kB / 0.8087 GB, free: 13.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001169/0.7493, allocations: 8 kB / 0.8087 GB, free: 13.59 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.912e-05/0.7494, allocations: 11.94 kB / 0.8087 GB, free: 13.58 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.207e-05/0.7494, allocations: 4 kB / 0.8087 GB, free: 13.57 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.803e-05/0.7495, allocations: 87.27 kB / 0.8088 GB, free: 13.49 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.26e-07/0.7495, allocations: 3.938 kB / 0.8088 GB, free: 13.48 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003207/0.7498, allocations: 16 kB / 0.8088 GB, free: 13.47 MB / 0.6355 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.0001484/0.75, allocations: 107.2 kB / 0.8089 GB, free: 13.35 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002094/0.7502, allocations: 71.91 kB / 0.809 GB, free: 13.28 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.884e-06/0.7502, allocations: 0 / 0.809 GB, free: 13.28 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 9.218e-05/0.7503, allocations: 31.98 kB / 0.809 GB, free: 13.25 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000231/0.7506, allocations: 8.688 kB / 0.809 GB, free: 13.24 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005076/0.7511, allocations: 206.9 kB / 0.8092 GB, free: 13.02 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000358/0.7515, allocations: 0.6887 MB / 0.8099 GB, free: 12.3 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.481e-05/0.7515, allocations: 4.562 kB / 0.8099 GB, free: 12.3 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.933e-05/0.7516, allocations: 11.44 kB / 0.8099 GB, free: 12.29 MB / 0.6355 GB Notification: Performance of SimCode: time 1.545e-06/0.7516, allocations: 0 / 0.8099 GB, free: 12.29 MB / 0.6355 GB Notification: Performance of Templates: time 0.003617/0.7552, allocations: 0.7733 MB / 0.8107 GB, free: 11.52 MB / 0.6355 GB