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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/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.765/3.765, allocations: 432.7 MB / 445.3 MB, free: 15.74 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.022e-05/3.039e-05, allocations: 4.109 kB / 0.5383 GB, free: 10.27 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1734/0.1735, allocations: 98.72 MB / 0.6347 GB, free: 1.938 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.192/0.3656, allocations: 125.2 MB / 0.7569 GB, free: 4.605 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002452/0.3659, allocations: 75.95 kB / 0.757 GB, free: 4.531 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004097/0.37, allocations: 1.068 MB / 0.758 GB, free: 3.461 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.93e-06/0.37, allocations: 0 / 0.758 GB, free: 3.461 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.201e-06/0.37, allocations: 0 / 0.758 GB, free: 3.461 MB / 0.6355 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.0004556/0.3705, allocations: 346.5 kB / 0.7584 GB, free: 3.078 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/0.3706, allocations: 12.03 kB / 0.7584 GB, free: 3.066 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.68e-05/0.3706, allocations: 7.906 kB / 0.7584 GB, free: 3.059 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001663/0.3708, allocations: 174.9 kB / 0.7586 GB, free: 2.848 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.577e-05/0.3708, allocations: 0 / 0.7586 GB, free: 2.848 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.092e-05/0.3708, allocations: 8 kB / 0.7586 GB, free: 2.84 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001326/0.371, allocations: 53.69 kB / 0.7586 GB, free: 2.781 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.204e-06/0.371, allocations: 3.938 kB / 0.7586 GB, free: 2.777 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.501e-05/0.371, allocations: 7.969 kB / 0.7586 GB, free: 2.77 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.977e-06/0.371, allocations: 0 / 0.7586 GB, free: 2.77 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.886e-05/0.3711, allocations: 27.94 kB / 0.7587 GB, free: 2.742 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005819/0.3717, allocations: 304.8 kB / 0.759 GB, free: 2.395 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001401/0.3719, allocations: 54.64 kB / 0.759 GB, free: 2.332 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.561e-05/0.372, allocations: 29.05 kB / 0.759 GB, free: 2.301 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.144e-05/0.372, allocations: 0 / 0.759 GB, free: 2.301 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001748/0.3722, allocations: 79.27 kB / 0.7591 GB, free: 2.211 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=9): time 2.67e-06/0.3722, allocations: 0 / 0.7591 GB, free: 2.211 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9): time 0.0002321/0.3724, allocations: 85.58 kB / 0.7592 GB, free: 2.121 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.613e-05/0.3725, allocations: 55.34 kB / 0.7592 GB, free: 2.055 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.682e-05/0.3726, allocations: 100.9 kB / 0.7593 GB, free: 1.949 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.144e-05/0.3727, allocations: 37.69 kB / 0.7594 GB, free: 1.906 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.768e-05/0.3727, allocations: 84.14 kB / 0.7595 GB, free: 1.82 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.357e-05/0.3728, allocations: 19.72 kB / 0.7595 GB, free: 1.801 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.636e-06/0.3728, allocations: 0 / 0.7595 GB, free: 1.801 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001574/0.373, allocations: 320.8 kB / 0.7598 GB, free: 1.48 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.441e-05/0.373, allocations: 19.94 kB / 0.7598 GB, free: 1.461 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.459e-05/0.3731, allocations: 39.44 kB / 0.7598 GB, free: 1.41 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.185e-05/0.3732, allocations: 23.98 kB / 0.7599 GB, free: 1.387 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.6e-06/0.3732, allocations: 0 / 0.7599 GB, free: 1.387 MB / 0.6355 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002076/0.3734, allocations: 93.61 kB / 0.7599 GB, free: 1.289 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.3735, allocations: 4 kB / 0.76 GB, free: 1.285 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.295e-06/0.3735, allocations: 0 / 0.76 GB, free: 1.285 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.3735, allocations: 4 kB / 0.76 GB, free: 1.281 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.04e-05/0.3736, allocations: 15.89 kB / 0.76 GB, free: 1.266 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.44e-06/0.3736, allocations: 0 / 0.76 GB, free: 1.266 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.949e-05/0.3737, allocations: 27.86 kB / 0.76 GB, free: 1.238 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.257e-05/0.3738, allocations: 4 kB / 0.76 GB, free: 1.234 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.0001001/0.3739, allocations: 111.3 kB / 0.7601 GB, free: 1.121 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.533e-05/0.3739, allocations: 3.938 kB / 0.7601 GB, free: 1.117 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.498e-05/0.3739, allocations: 8.375 kB / 0.7601 GB, free: 1.109 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-06/0.374, allocations: 4 kB / 0.7601 GB, free: 1.105 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.455e-06/0.374, allocations: 7.938 kB / 0.7601 GB, free: 1.098 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.04e-06/0.374, allocations: 0 / 0.7601 GB, free: 1.098 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005569/0.3746, allocations: 366.3 kB / 0.7605 GB, free: 0.6836 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.3746, allocations: 0 / 0.7605 GB, free: 0.6836 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.022e-05/0.3746, allocations: 8 kB / 0.7605 GB, free: 0.6758 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.214e-06/0.3746, allocations: 0 / 0.7605 GB, free: 0.6758 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.57e-05/0.3747, allocations: 7.953 kB / 0.7605 GB, free: 0.668 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.904e-06/0.3747, allocations: 3.938 kB / 0.7605 GB, free: 0.6641 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.075e-06/0.3747, allocations: 0 / 0.7605 GB, free: 0.6641 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002263/0.3749, allocations: 179.5 kB / 0.7607 GB, free: 484 kB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.871e-05/0.375, allocations: 85.02 kB / 0.7608 GB, free: 380 kB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.692e-05/0.375, allocations: 0 / 0.7608 GB, free: 380 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001257/0.3752, allocations: 16 kB / 0.7608 GB, free: 364 kB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.25e-05/0.3752, allocations: 11.98 kB / 0.7608 GB, free: 352 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.149e-05/0.3753, allocations: 4 kB / 0.7608 GB, free: 348 kB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.017e-05/0.3753, allocations: 83.28 kB / 0.7609 GB, free: 264 kB / 0.6355 GB Notification: Performance of sort global known variables: time 8.01e-07/0.3753, allocations: 4 kB / 0.7609 GB, free: 260 kB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003184/0.3757, allocations: 12 kB / 0.7609 GB, free: 248 kB / 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.000127/0.3758, allocations: 99.25 kB / 0.761 GB, free: 136 kB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001661/0.376, allocations: 55.86 kB / 0.761 GB, free: 80 kB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.402e-06/0.376, allocations: 0 / 0.761 GB, free: 80 kB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.72e-05/0.3761, allocations: 32.12 kB / 0.7611 GB, free: 48 kB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002367/0.3763, allocations: 8.062 kB / 0.7611 GB, free: 40 kB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004229/0.3768, allocations: 122.9 kB / 0.7612 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003528/0.3771, allocations: 0.6887 MB / 0.7619 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.828e-05/0.3772, allocations: 3.984 kB / 0.7619 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.237e-05/0.3772, allocations: 11.44 kB / 0.7619 GB, free: 15.17 MB / 0.6511 GB Notification: Performance of SimCode: time 1.624e-06/0.3773, allocations: 4 kB / 0.7619 GB, free: 15.17 MB / 0.6511 GB Notification: Performance of Templates: time 0.003417/0.3807, allocations: 0.6531 MB / 0.7625 GB, free: 14.52 MB / 0.6511 GB