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.01059/0.0106, allocations: 221.7 kB / 15.17 MB, free: 5.926 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.001186/0.001186, allocations: 176.7 kB / 16.06 MB, free: 5.832 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 4.064/4.064, allocations: 389.1 MB / 405.9 MB, free: 13.23 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.144/4.144, allocations: 472.3 MB / 0.9018 GB, free: 3.652 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000492/0.0004922, allocations: 15.98 kB / 1.008 GB, free: 10.3 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5664/0.5669, allocations: 98.7 MB / 1.104 GB, free: 212.8 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.001429/0.5684, allocations: 1.074 MB / 1.105 GB, free: 212.2 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0004383/0.5689, allocations: 223.2 kB / 1.105 GB, free: 212.1 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.736e-05/0.5689, allocations: 0 / 1.105 GB, free: 212.1 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 1.498e-05/0.569, allocations: 3.938 kB / 1.105 GB, free: 212.1 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 6.892e-05/0.569, allocations: 4.688 kB / 1.105 GB, free: 212.1 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001648/0.5692, allocations: 24.41 kB / 1.105 GB, free: 212.1 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001022/0.5693, allocations: 55.88 kB / 1.105 GB, free: 212.1 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 9.53e-05/0.5694, allocations: 11.2 kB / 1.105 GB, free: 212 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 3.922e-05/0.5695, allocations: 21.64 kB / 1.105 GB, free: 212 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 5.627e-05/0.5696, allocations: 20.86 kB / 1.105 GB, free: 212 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.887e-05/0.5696, allocations: 8.438 kB / 1.105 GB, free: 212 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 1.319e-05/0.5696, allocations: 0 / 1.105 GB, free: 212 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.188e-05/0.5696, allocations: 16.56 kB / 1.105 GB, free: 212 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 3.359e-05/0.5697, allocations: 35.64 kB / 1.105 GB, free: 212 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 7.435e-05/0.5698, allocations: 35.19 kB / 1.106 GB, free: 212 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 4.76e-06/0.5698, allocations: 1.406 kB / 1.106 GB, free: 212 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.701e-06/0.5698, allocations: 5.438 kB / 1.106 GB, free: 212 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.138e-06/0.5698, allocations: 0 / 1.106 GB, free: 212 MB / 0.7292 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.0004127/0.5702, allocations: 355 kB / 1.106 GB, free: 211.6 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.5703, allocations: 11.77 kB / 1.106 GB, free: 211.6 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.671e-05/0.5703, allocations: 6.719 kB / 1.106 GB, free: 211.6 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000133/0.5705, allocations: 183.9 kB / 1.106 GB, free: 211.4 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.02e-05/0.5705, allocations: 7.875 kB / 1.106 GB, free: 211.4 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.871e-05/0.5705, allocations: 10.53 kB / 1.106 GB, free: 211.4 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000145/0.5707, allocations: 57.88 kB / 1.106 GB, free: 211.4 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/0.5707, allocations: 0 / 1.106 GB, free: 211.4 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/0.5707, allocations: 1.828 kB / 1.106 GB, free: 211.4 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.802e-06/0.5707, allocations: 3.5 kB / 1.106 GB, free: 211.4 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.585e-05/0.5708, allocations: 29.81 kB / 1.106 GB, free: 211.4 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004053/0.5713, allocations: 301.8 kB / 1.106 GB, free: 211.1 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001383/0.5714, allocations: 57.84 kB / 1.107 GB, free: 211 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.839e-05/0.5715, allocations: 25.23 kB / 1.107 GB, free: 211 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.381e-05/0.5715, allocations: 2.438 kB / 1.107 GB, free: 211 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002013/0.5717, allocations: 95.05 kB / 1.107 GB, free: 210.9 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=11): time 3.108e-06/0.5717, allocations: 0 / 1.107 GB, free: 210.9 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11): time 0.0003179/0.5721, allocations: 121.1 kB / 1.107 GB, free: 210.9 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.29e-05/0.5721, allocations: 58.3 kB / 1.107 GB, free: 210.8 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.95e-05/0.5722, allocations: 113.8 kB / 1.107 GB, free: 210.7 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.823e-05/0.5722, allocations: 33.55 kB / 1.107 GB, free: 210.7 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.652e-05/0.5723, allocations: 86.53 kB / 1.107 GB, free: 210.6 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.309e-05/0.5723, allocations: 22.56 kB / 1.107 GB, free: 210.6 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.717e-06/0.5723, allocations: 7.938 kB / 1.107 GB, free: 210.6 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.374e-05/0.5724, allocations: 323.6 kB / 1.107 GB, free: 210.2 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.659e-05/0.5725, allocations: 23.72 kB / 1.107 GB, free: 210.2 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.061e-05/0.5726, allocations: 55.09 kB / 1.107 GB, free: 210.2 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.196e-05/0.5727, allocations: 22.5 kB / 1.107 GB, free: 210.2 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.667e-06/0.5727, allocations: 0 / 1.107 GB, free: 210.2 MB / 0.7292 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002281/0.5729, allocations: 118.9 kB / 1.108 GB, free: 210.1 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.5729, allocations: 9.094 kB / 1.108 GB, free: 210.1 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.86e-06/0.573, allocations: 1.406 kB / 1.108 GB, free: 210.1 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.573, allocations: 1.438 kB / 1.108 GB, free: 210.1 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001063/0.5731, allocations: 15.84 kB / 1.108 GB, free: 210.1 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.042e-05/0.5731, allocations: 7.188 kB / 1.108 GB, free: 210.1 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.687e-05/0.5732, allocations: 14.91 kB / 1.108 GB, free: 210.1 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.272e-05/0.5733, allocations: 2.75 kB / 1.108 GB, free: 210.1 MB / 0.7292 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,booPul.y,$PRE.booPul.pulseStart,booPul.pulseStart,$PRE.resetTimer.entryTime,resetTimer.entryTime,$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 9.21e-05/0.5734, allocations: 121.5 kB / 1.108 GB, free: 210 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.312e-05/0.5734, allocations: 8.031 kB / 1.108 GB, free: 210 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.345e-05/0.5734, allocations: 9.719 kB / 1.108 GB, free: 210 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.243e-06/0.5735, allocations: 2.516 kB / 1.108 GB, free: 210 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.236e-06/0.5735, allocations: 0 / 1.108 GB, free: 210 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.049e-06/0.5735, allocations: 5.359 kB / 1.108 GB, free: 210 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005641/0.5741, allocations: 395.2 kB / 1.108 GB, free: 209.6 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.338e-06/0.5741, allocations: 0 / 1.108 GB, free: 209.6 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.189e-05/0.5741, allocations: 3.297 kB / 1.108 GB, free: 209.6 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.153e-06/0.5741, allocations: 1.156 kB / 1.108 GB, free: 209.6 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.28e-05/0.5742, allocations: 2.875 kB / 1.108 GB, free: 209.6 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.991e-06/0.5742, allocations: 8.641 kB / 1.108 GB, free: 209.6 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.875e-06/0.5742, allocations: 0 / 1.108 GB, free: 209.6 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002292/0.5744, allocations: 198.9 kB / 1.108 GB, free: 209.5 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.796e-05/0.5745, allocations: 88.7 kB / 1.108 GB, free: 209.4 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.398e-05/0.5745, allocations: 2.25 kB / 1.108 GB, free: 209.4 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001217/0.5746, allocations: 12.45 kB / 1.108 GB, free: 209.4 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.658e-05/0.5747, allocations: 19.78 kB / 1.108 GB, free: 209.4 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.269e-05/0.5747, allocations: 2.5 kB / 1.108 GB, free: 209.4 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.121e-05/0.5748, allocations: 86.86 kB / 1.109 GB, free: 209.3 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6.44e-07/0.5748, allocations: 0 / 1.109 GB, free: 209.3 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003526/0.5752, allocations: 18.53 kB / 1.109 GB, free: 209.3 MB / 0.7292 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 (booPul.y,$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.000151/0.5753, allocations: 106.8 kB / 1.109 GB, free: 209.2 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002499/0.5756, allocations: 72.7 kB / 1.109 GB, free: 209.2 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.218e-06/0.5756, allocations: 1.062 kB / 1.109 GB, free: 209.2 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 9.162e-05/0.5757, allocations: 39.86 kB / 1.109 GB, free: 209.2 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003772/0.5761, allocations: 18.5 kB / 1.109 GB, free: 209.2 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004861/0.5766, allocations: 194.2 kB / 1.109 GB, free: 209 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001444/0.5768, allocations: 0.692 MB / 1.11 GB, free: 208.3 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 5.132e-05/0.5768, allocations: 7.672 kB / 1.11 GB, free: 208.3 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.286e-05/0.5769, allocations: 13.59 kB / 1.11 GB, free: 208.3 MB / 0.7292 GB Notification: Performance of SimCode: time 1.617e-06/0.5769, allocations: 0 / 1.11 GB, free: 208.3 MB / 0.7292 GB Notification: Performance of Templates: time 0.003794/0.5807, allocations: 0.7708 MB / 1.11 GB, free: 208.3 MB / 0.7292 GB