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 ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_Timer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.24/4.24, allocations: 433.2 MB / 440.7 MB, free: 10.55 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.573e-05/3.571e-05, allocations: 8 kB / 0.5325 GB, free: 1.918 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6502/0.6503, allocations: 98.71 MB / 0.6289 GB, free: 15.71 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2719/0.9222, allocations: 123.7 MB / 0.7497 GB, free: 3.836 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003703/0.9227, allocations: 75.89 kB / 0.7498 GB, free: 3.762 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.004487/0.9272, allocations: 0.823 MB / 0.7506 GB, free: 2.938 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.444e-06/0.9272, allocations: 0 / 0.7506 GB, free: 2.938 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.367e-05/0.9273, 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.0007962/0.9281, allocations: 350.5 kB / 0.7509 GB, free: 2.551 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 7.878e-05/0.9282, allocations: 8.031 kB / 0.7509 GB, free: 2.543 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.252e-05/0.9283, allocations: 15.84 kB / 0.751 GB, free: 2.527 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003269/0.9286, allocations: 175.1 kB / 0.7511 GB, free: 2.316 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.616e-05/0.9287, allocations: 0 / 0.7511 GB, free: 2.316 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.443e-05/0.9287, allocations: 4 kB / 0.7511 GB, free: 2.312 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001889/0.9289, allocations: 27.94 kB / 0.7512 GB, free: 2.285 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002226/0.9292, allocations: 57.67 kB / 0.7512 GB, free: 2.223 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.9292, allocations: 7.938 kB / 0.7512 GB, free: 2.215 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.992e-05/0.9292, allocations: 0 / 0.7512 GB, free: 2.215 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.9293, allocations: 0 / 0.7512 GB, free: 2.215 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009447/0.9302, allocations: 281.3 kB / 0.7515 GB, free: 1.902 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002468/0.9305, allocations: 66.59 kB / 0.7516 GB, free: 1.828 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.772e-05/0.9306, allocations: 24.86 kB / 0.7516 GB, free: 1.801 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.191e-05/0.9307, allocations: 4 kB / 0.7516 GB, free: 1.797 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003024/0.931, allocations: 71.39 kB / 0.7517 GB, free: 1.715 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=11): time 4.107e-06/0.931, allocations: 0 / 0.7517 GB, free: 1.715 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.0004605/0.9315, allocations: 101.5 kB / 0.7517 GB, free: 1.609 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.315e-05/0.9316, allocations: 55.36 kB / 0.7518 GB, free: 1.543 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001467/0.9317, allocations: 105 kB / 0.7519 GB, free: 1.434 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.885e-05/0.9318, allocations: 25.7 kB / 0.7519 GB, free: 1.402 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.065e-05/0.9319, allocations: 92.08 kB / 0.752 GB, free: 1.309 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.183e-05/0.932, allocations: 27.64 kB / 0.752 GB, free: 1.281 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.204e-05/0.932, allocations: 0 / 0.752 GB, free: 1.281 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0002084/0.9322, allocations: 318.8 kB / 0.7523 GB, free: 0.9609 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001137/0.9324, allocations: 20 kB / 0.7524 GB, free: 0.9414 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001564/0.9326, allocations: 50.5 kB / 0.7524 GB, free: 0.8828 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001174/0.9327, allocations: 20 kB / 0.7524 GB, free: 0.8633 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.9327, allocations: 0 / 0.7524 GB, free: 0.8633 MB / 0.6198 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004298/0.9332, allocations: 101.5 kB / 0.7525 GB, free: 0.7578 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.556e-05/0.9332, allocations: 4 kB / 0.7525 GB, free: 0.7539 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/0.9332, allocations: 0 / 0.7525 GB, free: 0.7539 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.328e-05/0.9333, allocations: 4 kB / 0.7525 GB, free: 0.75 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001988/0.9335, allocations: 8 kB / 0.7525 GB, free: 0.7422 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.658e-05/0.9335, allocations: 11.92 kB / 0.7526 GB, free: 0.7305 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001811/0.9337, allocations: 15.92 kB / 0.7526 GB, free: 0.7148 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.526e-05/0.9338, 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.0001339/0.9339, allocations: 112.9 kB / 0.7527 GB, free: 0.5898 MB / 0.6198 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002996/0.9342, allocations: 93.61 kB / 0.7528 GB, free: 0.4922 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.391e-05/0.9343, allocations: 7.906 kB / 0.7528 GB, free: 496 kB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.801e-05/0.9343, allocations: 8.625 kB / 0.7528 GB, free: 488 kB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.9344, allocations: 0 / 0.7528 GB, free: 488 kB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.666e-06/0.9344, allocations: 3.953 kB / 0.7528 GB, free: 484 kB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.315e-06/0.9344, allocations: 7.984 kB / 0.7528 GB, free: 476 kB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008486/0.9353, allocations: 355.1 kB / 0.7531 GB, free: 76 kB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.9353, allocations: 0 / 0.7531 GB, free: 76 kB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.82e-05/0.9354, allocations: 4 kB / 0.7531 GB, free: 72 kB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.781e-06/0.9354, allocations: 0 / 0.7531 GB, free: 72 kB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.015e-05/0.9354, allocations: 0 / 0.7531 GB, free: 72 kB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.314e-06/0.9355, allocations: 11.88 kB / 0.7532 GB, free: 60 kB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.786e-06/0.9355, allocations: 4 kB / 0.7532 GB, free: 56 kB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003927/0.9359, allocations: 191.8 kB / 0.7533 GB, free: 15.85 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.233e-05/0.936, allocations: 88.98 kB / 0.7534 GB, free: 15.75 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.338e-05/0.9361, allocations: 8 kB / 0.7534 GB, free: 15.74 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002112/0.9363, allocations: 4.25 kB / 0.7534 GB, free: 15.73 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.129e-05/0.9364, allocations: 11.94 kB / 0.7534 GB, free: 15.72 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.267e-05/0.9364, allocations: 12 kB / 0.7535 GB, free: 15.71 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.000107/0.9365, allocations: 87.27 kB / 0.7535 GB, free: 15.62 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.61e-07/0.9366, allocations: 0 / 0.7535 GB, free: 15.62 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005509/0.9371, allocations: 12 kB / 0.7536 GB, free: 15.61 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.0008611/0.938, allocations: 0.7319 MB / 0.7543 GB, free: 14.85 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000303/0.9383, allocations: 67.92 kB / 0.7543 GB, free: 14.79 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.9384, allocations: 0 / 0.7543 GB, free: 14.79 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001288/0.9385, allocations: 28 kB / 0.7544 GB, free: 14.76 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003899/0.9389, allocations: 11.95 kB / 0.7544 GB, free: 14.75 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008557/0.9398, allocations: 141.9 kB / 0.7545 GB, free: 14.57 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004105/0.9402, allocations: 0.7002 MB / 0.7552 GB, free: 13.84 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 7.541e-05/0.9403, allocations: 8.547 kB / 0.7552 GB, free: 13.84 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.105e-05/0.9404, allocations: 19.44 kB / 0.7552 GB, free: 13.82 MB / 0.6355 GB Notification: Performance of SimCode: time 1.052e-06/0.9404, allocations: 0 / 0.7552 GB, free: 13.82 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03651/0.977, allocations: 1.36 MB / 0.7565 GB, free: 12.47 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003512/0.9774, allocations: 142.3 kB / 0.7567 GB, free: 12.28 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.377/3.355, allocations: 0 / 0.7567 GB, free: 12.28 MB / 0.6355 GB