Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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 loadModel(Buildings): time 4.318/4.318, allocations: 433.4 MB / 440.9 MB, free: 10.38 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.594e-05/2.576e-05, allocations: 8 kB / 0.5325 GB, free: 1.848 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4986/0.4987, allocations: 98.71 MB / 0.6289 GB, free: 15.72 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1965/0.6952, allocations: 123.7 MB / 0.7497 GB, free: 3.844 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002292/0.6955, allocations: 75.89 kB / 0.7498 GB, free: 3.77 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.002789/0.6983, allocations: 0.8306 MB / 0.7506 GB, free: 2.938 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.153e-06/0.6984, allocations: 0 / 0.7506 GB, free: 2.938 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.089e-06/0.6984, allocations: 0 / 0.7506 GB, free: 2.938 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.0004634/0.6989, allocations: 346.4 kB / 0.751 GB, free: 2.555 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.927e-05/0.6989, allocations: 12.02 kB / 0.751 GB, free: 2.543 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.222e-05/0.699, allocations: 11.86 kB / 0.751 GB, free: 2.531 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002309/0.6992, allocations: 183 kB / 0.7512 GB, free: 2.312 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.776e-05/0.6993, allocations: 0 / 0.7512 GB, free: 2.312 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.357e-05/0.6993, allocations: 4 kB / 0.7512 GB, free: 2.309 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001031/0.6994, allocations: 24 kB / 0.7512 GB, free: 2.285 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001341/0.6995, allocations: 61.61 kB / 0.7512 GB, free: 2.219 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.6996, allocations: 0 / 0.7512 GB, free: 2.219 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/0.6996, allocations: 3.938 kB / 0.7512 GB, free: 2.215 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.49e-06/0.6996, allocations: 0 / 0.7512 GB, free: 2.215 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005344/0.7001, allocations: 281.3 kB / 0.7515 GB, free: 1.902 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001436/0.7003, allocations: 58.56 kB / 0.7516 GB, free: 1.836 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.88e-05/0.7004, allocations: 24.84 kB / 0.7516 GB, free: 1.809 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.513e-05/0.7004, allocations: 4 kB / 0.7516 GB, free: 1.805 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001896/0.7006, allocations: 83.42 kB / 0.7517 GB, free: 1.711 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=11): time 2.768e-06/0.7006, allocations: 0 / 0.7517 GB, free: 1.711 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.0002669/0.7009, allocations: 93.52 kB / 0.7518 GB, free: 1.613 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.442e-05/0.701, allocations: 59.36 kB / 0.7518 GB, free: 1.543 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001038/0.7011, allocations: 101 kB / 0.7519 GB, free: 1.438 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.638e-05/0.7011, allocations: 25.7 kB / 0.7519 GB, free: 1.406 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.607e-05/0.7012, allocations: 92.12 kB / 0.752 GB, free: 1.312 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.175e-05/0.7013, allocations: 23.66 kB / 0.7521 GB, free: 1.289 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.438e-06/0.7013, allocations: 0 / 0.7521 GB, free: 1.289 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001626/0.7014, allocations: 322.8 kB / 0.7524 GB, free: 0.9648 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.204e-05/0.7015, allocations: 20 kB / 0.7524 GB, free: 0.9453 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.8e-05/0.7016, allocations: 38.58 kB / 0.7524 GB, free: 0.8984 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.297e-05/0.7017, allocations: 35.92 kB / 0.7525 GB, free: 0.8633 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.692e-06/0.7017, allocations: 0 / 0.7525 GB, free: 0.8633 MB / 0.6198 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002324/0.702, allocations: 97.58 kB / 0.7525 GB, free: 0.7617 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.702, allocations: 12 kB / 0.7526 GB, free: 0.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.476e-06/0.702, allocations: 0 / 0.7526 GB, free: 0.75 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.702, allocations: 0 / 0.7526 GB, free: 0.75 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.978e-05/0.7021, allocations: 16 kB / 0.7526 GB, free: 0.7344 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.652e-06/0.7022, allocations: 0 / 0.7526 GB, free: 0.7344 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.556e-05/0.7023, allocations: 20.09 kB / 0.7526 GB, free: 0.7148 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.654e-05/0.7023, allocations: 8 kB / 0.7526 GB, free: 0.707 MB / 0.6198 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 () * 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.0001098/0.7024, allocations: 112.9 kB / 0.7527 GB, free: 0.5898 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.295e-05/0.7025, allocations: 11.98 kB / 0.7527 GB, free: 0.5781 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.449e-05/0.7025, allocations: 12.56 kB / 0.7527 GB, free: 0.5664 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.7025, allocations: 0 / 0.7527 GB, free: 0.5664 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.768e-06/0.7025, allocations: 3.984 kB / 0.7527 GB, free: 0.5625 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.015e-06/0.7025, allocations: 0 / 0.7527 GB, free: 0.5625 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006051/0.7032, allocations: 359.2 kB / 0.7531 GB, free: 172 kB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.409e-06/0.7032, allocations: 4 kB / 0.7531 GB, free: 168 kB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.089e-05/0.7032, allocations: 7.938 kB / 0.7531 GB, free: 160 kB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.981e-06/0.7033, allocations: 0 / 0.7531 GB, free: 160 kB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.172e-05/0.7033, allocations: 0 / 0.7531 GB, free: 160 kB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.367e-06/0.7033, allocations: 0 / 0.7531 GB, free: 160 kB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.7033, allocations: 0 / 0.7531 GB, free: 160 kB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002774/0.7036, allocations: 199.5 kB / 0.7533 GB, free: 15.94 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.923e-05/0.7037, allocations: 85.03 kB / 0.7534 GB, free: 15.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.771e-05/0.7037, allocations: 8 kB / 0.7534 GB, free: 15.83 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001176/0.7038, allocations: 8 kB / 0.7534 GB, free: 15.82 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.137e-05/0.7039, allocations: 7.984 kB / 0.7534 GB, free: 15.82 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.455e-05/0.7039, allocations: 7.984 kB / 0.7534 GB, free: 15.81 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.066e-05/0.704, allocations: 83.28 kB / 0.7535 GB, free: 15.73 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.32e-07/0.704, allocations: 0 / 0.7535 GB, free: 15.73 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003216/0.7043, allocations: 15.78 kB / 0.7535 GB, free: 15.71 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) * 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.0001542/0.7045, allocations: 108.4 kB / 0.7536 GB, free: 15.6 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002006/0.7047, allocations: 71.86 kB / 0.7537 GB, free: 15.53 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.466e-06/0.7047, allocations: 0 / 0.7537 GB, free: 15.53 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 8.056e-05/0.7048, allocations: 28 kB / 0.7537 GB, free: 15.5 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002442/0.7051, allocations: 8.938 kB / 0.7537 GB, free: 15.49 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003841/0.7055, allocations: 104.2 kB / 0.7538 GB, free: 15.37 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003903/0.7059, allocations: 0.7041 MB / 0.7545 GB, free: 14.64 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.205e-05/0.706, allocations: 8.547 kB / 0.7545 GB, free: 14.63 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.818e-05/0.706, allocations: 11.44 kB / 0.7545 GB, free: 14.62 MB / 0.6355 GB Notification: Performance of SimCode: time 1.415e-06/0.706, allocations: 0 / 0.7545 GB, free: 14.62 MB / 0.6355 GB Notification: Performance of Templates: time 0.003678/0.7097, allocations: 0.757 MB / 0.7552 GB, free: 13.87 MB / 0.6355 GB