Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.Continuous.Examples.OffTimer.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.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.Continuous.Examples.OffTimer") Notification: Performance of loadModel(Buildings): time 3.907/3.907, allocations: 433.4 MB / 440.9 MB, free: 10.41 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.066e-05/2.072e-05, allocations: 8 kB / 0.5325 GB, free: 1.895 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5024/0.5024, allocations: 98.72 MB / 0.6289 GB, free: 15.63 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1965/0.699, allocations: 124.5 MB / 0.7505 GB, free: 2.969 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000236/0.6993, allocations: 71.95 kB / 0.7506 GB, free: 2.898 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.003877/0.7032, allocations: 1.061 MB / 0.7516 GB, free: 1.836 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.124e-06/0.7032, allocations: 0 / 0.7516 GB, free: 1.836 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.973e-06/0.7032, allocations: 0 / 0.7516 GB, free: 1.836 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.0004527/0.7037, allocations: 346.5 kB / 0.7519 GB, free: 1.453 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/0.7037, allocations: 12.02 kB / 0.7519 GB, free: 1.441 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.094e-05/0.7038, allocations: 15.84 kB / 0.7519 GB, free: 1.426 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001577/0.704, allocations: 171 kB / 0.7521 GB, free: 1.219 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.18e-05/0.704, allocations: 4 kB / 0.7521 GB, free: 1.215 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.876e-05/0.704, allocations: 4 kB / 0.7521 GB, free: 1.211 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.867e-05/0.7041, allocations: 20 kB / 0.7521 GB, free: 1.191 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001077/0.7042, allocations: 45.69 kB / 0.7522 GB, free: 1.141 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.018e-06/0.7043, allocations: 0 / 0.7522 GB, free: 1.141 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/0.7043, allocations: 3.984 kB / 0.7522 GB, free: 1.137 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.749e-06/0.7043, allocations: 8 kB / 0.7522 GB, free: 1.129 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005436/0.7048, allocations: 281.2 kB / 0.7525 GB, free: 0.8164 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001187/0.705, allocations: 46.67 kB / 0.7525 GB, free: 0.7617 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.902e-05/0.7051, allocations: 28.92 kB / 0.7525 GB, free: 0.7305 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.647e-05/0.7051, allocations: 7.984 kB / 0.7525 GB, free: 0.7227 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001536/0.7052, allocations: 67.42 kB / 0.7526 GB, free: 0.6445 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 2.543e-06/0.7053, allocations: 0 / 0.7526 GB, free: 0.6445 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9): time 0.0002206/0.7055, allocations: 77.58 kB / 0.7527 GB, free: 0.5625 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.968e-05/0.7056, allocations: 55.41 kB / 0.7527 GB, free: 0.4961 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001002/0.7057, allocations: 100.9 kB / 0.7528 GB, free: 400 kB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.557e-05/0.7057, allocations: 25.7 kB / 0.7529 GB, free: 368 kB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.457e-05/0.7058, allocations: 92.12 kB / 0.7529 GB, free: 272 kB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.2e-05/0.7058, allocations: 19.72 kB / 0.753 GB, free: 252 kB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.267e-06/0.7058, allocations: 0 / 0.753 GB, free: 252 kB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001786/0.706, allocations: 318.8 kB / 0.7533 GB, free: 15.93 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.468e-05/0.7061, allocations: 16 kB / 0.7533 GB, free: 15.91 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.918e-05/0.7062, allocations: 39.44 kB / 0.7533 GB, free: 15.86 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.899e-05/0.7062, allocations: 23.98 kB / 0.7533 GB, free: 15.84 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.48e-06/0.7063, allocations: 0 / 0.7533 GB, free: 15.84 MB / 0.6355 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001868/0.7064, allocations: 73.62 kB / 0.7534 GB, free: 15.76 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.7065, allocations: 4 kB / 0.7534 GB, free: 15.75 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.7065, allocations: 7.984 kB / 0.7534 GB, free: 15.75 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/0.7065, allocations: 0 / 0.7534 GB, free: 15.75 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.504e-05/0.7066, allocations: 15.94 kB / 0.7534 GB, free: 15.73 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.694e-06/0.7066, allocations: 7.953 kB / 0.7534 GB, free: 15.72 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.648e-05/0.7068, allocations: 15.92 kB / 0.7535 GB, free: 15.71 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.5e-05/0.7068, allocations: 4.281 kB / 0.7535 GB, free: 15.7 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition3,$whenCondition2,$PRE.booleanPulse.pulsStart,booleanPulse.pulsStart,not1.y,$PRE.offTim1.entryTime,offTim1.entryTime,$PRE.offTim2.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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.0001034/0.7069, allocations: 109 kB / 0.7536 GB, free: 15.59 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.521e-05/0.7069, allocations: 64 / 0.7536 GB, free: 15.59 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.403e-05/0.707, allocations: 12.41 kB / 0.7536 GB, free: 15.58 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.776e-06/0.707, allocations: 4 kB / 0.7536 GB, free: 15.57 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.331e-06/0.707, allocations: 3.938 kB / 0.7536 GB, free: 15.57 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.01e-06/0.707, allocations: 3.953 kB / 0.7536 GB, free: 15.57 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000513/0.7075, allocations: 342.9 kB / 0.7539 GB, free: 15.19 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.827e-06/0.7075, allocations: 0 / 0.7539 GB, free: 15.19 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.543e-05/0.7076, allocations: 4 kB / 0.7539 GB, free: 15.18 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.7076, allocations: 0 / 0.7539 GB, free: 15.18 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.925e-06/0.7076, allocations: 0 / 0.7539 GB, free: 15.18 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.195e-06/0.7076, allocations: 0 / 0.7539 GB, free: 15.18 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.384e-06/0.7076, allocations: 7.953 kB / 0.7539 GB, free: 15.18 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000214/0.7079, allocations: 175.5 kB / 0.7541 GB, free: 14.99 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.499e-05/0.7079, allocations: 81.02 kB / 0.7542 GB, free: 14.89 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.921e-05/0.708, allocations: 4 kB / 0.7542 GB, free: 14.89 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001165/0.7081, allocations: 7.984 kB / 0.7542 GB, free: 14.88 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.192e-05/0.7082, allocations: 7.984 kB / 0.7542 GB, free: 14.87 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.197e-05/0.7082, allocations: 7.891 kB / 0.7542 GB, free: 14.86 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.653e-05/0.7083, allocations: 87.28 kB / 0.7543 GB, free: 14.78 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.68e-07/0.7083, allocations: 0 / 0.7543 GB, free: 14.78 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003121/0.7086, allocations: 12 kB / 0.7543 GB, free: 14.77 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: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulsStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001198/0.7087, allocations: 102.5 kB / 0.7544 GB, free: 14.66 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001461/0.7089, allocations: 47.94 kB / 0.7544 GB, free: 14.61 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.195e-06/0.7089, allocations: 0 / 0.7544 GB, free: 14.61 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.469e-05/0.709, allocations: 23.94 kB / 0.7545 GB, free: 14.59 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002364/0.7092, allocations: 12.05 kB / 0.7545 GB, free: 14.57 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003732/0.7096, allocations: 103.6 kB / 0.7546 GB, free: 14.45 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003477/0.71, allocations: 0.6916 MB / 0.7552 GB, free: 13.73 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.003e-05/0.71, allocations: 7.984 kB / 0.7553 GB, free: 13.73 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.417e-05/0.7101, allocations: 11.44 kB / 0.7553 GB, free: 13.72 MB / 0.6355 GB Notification: Performance of SimCode: time 1.346e-06/0.7101, allocations: 4 kB / 0.7553 GB, free: 13.71 MB / 0.6355 GB Notification: Performance of Templates: time 0.003187/0.7133, allocations: 0.6383 MB / 0.7559 GB, free: 13.08 MB / 0.6355 GB