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: "" <> 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 loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01904/0.01904, allocations: 108.1 kB / 15.05 MB, free: 5.984 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.001177/0.001177, allocations: 183.1 kB / 15.94 MB, free: 5.941 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 1.979/1.979, allocations: 194.5 MB / 211.3 MB, free: 11.07 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.24/2.24, allocations: 236.2 MB / 492.6 MB, free: 11.34 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006367/0.0006366, allocations: 16 kB / 0.587 GB, free: 2.074 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.712/0.7127, allocations: 98.7 MB / 0.6834 GB, free: 16.59 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2297/0.9424, allocations: 124.5 MB / 0.805 GB, free: 1.699 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003076/0.9427, allocations: 67.97 kB / 0.8051 GB, free: 1.633 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.003294/0.9461, allocations: 0.8271 MB / 0.8059 GB, free: 0.8008 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.234e-06/0.9461, allocations: 0 / 0.8059 GB, free: 0.8008 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.618e-06/0.9461, allocations: 0 / 0.8059 GB, free: 0.8008 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.0006044/0.9468, allocations: 363.2 kB / 0.8062 GB, free: 408 kB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.737e-05/0.9468, allocations: 8.031 kB / 0.8062 GB, free: 400 kB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.336e-05/0.9469, allocations: 38.56 kB / 0.8063 GB, free: 352 kB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.687e-05/0.9469, allocations: 7.859 kB / 0.8063 GB, free: 344 kB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002338/0.9472, allocations: 179 kB / 0.8064 GB, free: 124 kB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.205e-05/0.9472, allocations: 4 kB / 0.8064 GB, free: 120 kB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.964e-05/0.9473, allocations: 11.98 kB / 0.8065 GB, free: 108 kB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001938/0.9475, allocations: 69.55 kB / 0.8065 GB, free: 32 kB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.9475, allocations: 0 / 0.8065 GB, free: 32 kB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.341e-05/0.9475, allocations: 0 / 0.8065 GB, free: 32 kB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.9475, allocations: 0 / 0.8065 GB, free: 32 kB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001415/0.9477, allocations: 31.98 kB / 0.8066 GB, free: 0 / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006616/0.9483, allocations: 312.8 kB / 0.8069 GB, free: 15.64 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001724/0.9485, allocations: 58.56 kB / 0.8069 GB, free: 15.57 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.03e-05/0.9486, allocations: 4 kB / 0.8069 GB, free: 15.57 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002614/0.9489, allocations: 83.28 kB / 0.807 GB, free: 15.48 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=11): time 2.745e-06/0.9489, allocations: 0 / 0.807 GB, free: 15.48 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.0004271/0.9493, allocations: 133.6 kB / 0.8071 GB, free: 15.34 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.578e-05/0.9494, allocations: 51.41 kB / 0.8072 GB, free: 15.28 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001175/0.9495, allocations: 116.9 kB / 0.8073 GB, free: 15.16 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.83e-05/0.9495, allocations: 29.7 kB / 0.8073 GB, free: 15.12 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.478e-05/0.9496, allocations: 84.14 kB / 0.8074 GB, free: 15.04 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.495e-05/0.9497, allocations: 35.78 kB / 0.8074 GB, free: 15 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.986e-06/0.9497, allocations: 0 / 0.8074 GB, free: 15 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001642/0.9499, allocations: 322.8 kB / 0.8077 GB, free: 14.68 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.543e-05/0.95, allocations: 20 kB / 0.8078 GB, free: 14.66 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001145/0.9501, allocations: 50.55 kB / 0.8078 GB, free: 14.6 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001012/0.9502, allocations: 31.94 kB / 0.8078 GB, free: 14.57 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.9502, allocations: 0 / 0.8078 GB, free: 14.57 MB / 0.6355 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003316/0.9506, allocations: 109.5 kB / 0.8079 GB, free: 14.45 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.75e-05/0.9506, allocations: 5.562 kB / 0.8079 GB, free: 14.45 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.9506, allocations: 0 / 0.8079 GB, free: 14.45 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.9507, allocations: 4 kB / 0.8079 GB, free: 14.45 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001401/0.9508, allocations: 15.98 kB / 0.808 GB, free: 14.43 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.397e-06/0.9508, allocations: 8.016 kB / 0.808 GB, free: 14.42 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000121/0.951, allocations: 15.94 kB / 0.808 GB, free: 14.41 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.199e-05/0.951, allocations: 0 / 0.808 GB, free: 14.41 MB / 0.6355 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 () * 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 0.0001493/0.9511, allocations: 125.8 kB / 0.8081 GB, free: 14.27 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.549e-05/0.9512, allocations: 7.906 kB / 0.8081 GB, free: 14.27 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.136e-05/0.9512, allocations: 8.375 kB / 0.8081 GB, free: 14.25 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.9513, allocations: 0 / 0.8081 GB, free: 14.25 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.9513, allocations: 0 / 0.8081 GB, free: 14.25 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.546e-06/0.9513, allocations: 11.95 kB / 0.8081 GB, free: 14.24 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007401/0.952, allocations: 382.9 kB / 0.8085 GB, free: 13.81 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.9521, allocations: 0 / 0.8085 GB, free: 13.81 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.156e-05/0.9521, allocations: 4 kB / 0.8085 GB, free: 13.81 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.711e-06/0.9521, allocations: 0 / 0.8085 GB, free: 13.81 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.478e-05/0.9522, allocations: 11.94 kB / 0.8085 GB, free: 13.8 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.733e-06/0.9522, allocations: 3.953 kB / 0.8085 GB, free: 13.79 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.9522, allocations: 4 kB / 0.8085 GB, free: 13.79 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003206/0.9525, allocations: 207.4 kB / 0.8087 GB, free: 13.57 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.952e-05/0.9526, allocations: 81.02 kB / 0.8088 GB, free: 13.47 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.128e-05/0.9526, allocations: 4 kB / 0.8088 GB, free: 13.47 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001358/0.9528, allocations: 11.92 kB / 0.8088 GB, free: 13.46 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.589e-05/0.9529, allocations: 15.94 kB / 0.8088 GB, free: 13.44 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.389e-05/0.9529, allocations: 8 kB / 0.8088 GB, free: 13.43 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.33e-05/0.953, allocations: 83.28 kB / 0.8089 GB, free: 13.35 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.5e-07/0.953, allocations: 0 / 0.8089 GB, free: 13.35 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000319/0.9533, allocations: 12 kB / 0.8089 GB, free: 13.34 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) * 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.0007284/0.954, allocations: 0.7383 MB / 0.8096 GB, free: 12.57 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002743/0.9543, allocations: 79.84 kB / 0.8097 GB, free: 12.5 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.9544, allocations: 0 / 0.8097 GB, free: 12.5 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001474/0.9545, allocations: 35.92 kB / 0.8098 GB, free: 12.46 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000298/0.9548, allocations: 14.53 kB / 0.8098 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001476/0.9563, allocations: 0.8407 MB / 0.8106 GB, free: 11.55 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003402/0.9567, allocations: 0.6965 MB / 0.8113 GB, free: 10.83 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.881e-05/0.9568, allocations: 4.562 kB / 0.8113 GB, free: 10.83 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.829e-05/0.9569, allocations: 27.42 kB / 0.8113 GB, free: 10.8 MB / 0.6355 GB Notification: Performance of SimCode: time 1.412e-06/0.9569, allocations: 0 / 0.8113 GB, free: 10.8 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02456/0.9814, allocations: 1.656 MB / 0.8129 GB, free: 9.258 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002765/0.9818, allocations: 180.9 kB / 0.8131 GB, free: 9.02 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.51/3.492, allocations: 0 / 0.8131 GB, free: 9.02 MB / 0.6355 GB