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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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 3.939/3.939, allocations: 432.6 MB / 445.2 MB, free: 15.81 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 6.071e-05/6.166e-05, allocations: 8.844 kB / 0.5383 GB, free: 10.3 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2126/0.2127, allocations: 98.73 MB / 0.6347 GB, free: 1.871 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2517/0.4645, allocations: 124.4 MB / 0.7562 GB, free: 5.316 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002855/0.4648, allocations: 67.97 kB / 0.7563 GB, free: 5.25 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003091/0.4679, allocations: 0.8178 MB / 0.7571 GB, free: 4.43 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.633e-06/0.468, allocations: 0 / 0.7571 GB, free: 4.43 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.074e-05/0.468, allocations: 0 / 0.7571 GB, free: 4.43 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.0005142/0.4685, allocations: 350.5 kB / 0.7574 GB, free: 4.043 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.871e-05/0.4686, allocations: 12.03 kB / 0.7574 GB, free: 4.031 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.67e-05/0.4687, allocations: 38.56 kB / 0.7575 GB, free: 3.984 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.036e-05/0.4687, allocations: 11.86 kB / 0.7575 GB, free: 3.973 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002189/0.4689, allocations: 183 kB / 0.7576 GB, free: 3.754 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.129e-05/0.469, allocations: 4 kB / 0.7576 GB, free: 3.75 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.387e-05/0.469, allocations: 11.98 kB / 0.7577 GB, free: 3.738 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001704/0.4692, allocations: 61.61 kB / 0.7577 GB, free: 3.672 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.4692, allocations: 0 / 0.7577 GB, free: 3.672 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.621e-05/0.4692, allocations: 4 kB / 0.7577 GB, free: 3.668 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.4693, allocations: 3.938 kB / 0.7577 GB, free: 3.664 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001066/0.4694, allocations: 28 kB / 0.7577 GB, free: 3.637 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005903/0.47, allocations: 316.6 kB / 0.758 GB, free: 3.277 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001667/0.4702, allocations: 54.58 kB / 0.7581 GB, free: 3.215 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.113e-05/0.4702, allocations: 24.86 kB / 0.7581 GB, free: 3.188 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.457e-05/0.4703, allocations: 4 kB / 0.7581 GB, free: 3.184 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002184/0.4705, allocations: 91.25 kB / 0.7582 GB, free: 3.082 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=11): time 2.014e-06/0.4705, allocations: 0 / 0.7582 GB, free: 3.082 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.0003114/0.4708, allocations: 105.6 kB / 0.7583 GB, free: 2.973 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.434e-05/0.4709, allocations: 55.41 kB / 0.7584 GB, free: 2.906 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001306/0.471, allocations: 101 kB / 0.7585 GB, free: 2.801 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.225e-05/0.4711, allocations: 29.7 kB / 0.7585 GB, free: 2.766 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.155e-05/0.4712, allocations: 100.3 kB / 0.7586 GB, free: 2.664 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.21e-05/0.4712, allocations: 19.72 kB / 0.7586 GB, free: 2.645 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.635e-06/0.4712, allocations: 0 / 0.7586 GB, free: 2.645 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001347/0.4714, allocations: 318.8 kB / 0.7589 GB, free: 2.324 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.81e-05/0.4715, allocations: 24 kB / 0.7589 GB, free: 2.301 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001062/0.4716, allocations: 46.58 kB / 0.759 GB, free: 2.246 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.607e-05/0.4717, allocations: 23.98 kB / 0.759 GB, free: 2.223 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.4717, allocations: 0 / 0.759 GB, free: 2.223 MB / 0.6355 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002717/0.472, allocations: 117.5 kB / 0.7591 GB, free: 2.102 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.174e-05/0.472, allocations: 11.88 kB / 0.7591 GB, free: 2.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.472, allocations: 0 / 0.7591 GB, free: 2.09 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/0.472, allocations: 4 kB / 0.7591 GB, free: 2.086 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001375/0.4722, allocations: 8 kB / 0.7591 GB, free: 2.078 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.101e-05/0.4722, allocations: 11.94 kB / 0.7591 GB, free: 2.066 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001262/0.4724, allocations: 23.89 kB / 0.7592 GB, free: 2.043 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.467e-05/0.4724, allocations: 4 kB / 0.7592 GB, free: 2.039 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 () * 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.0001088/0.4725, allocations: 112.9 kB / 0.7593 GB, free: 1.922 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.315e-05/0.4725, allocations: 4 kB / 0.7593 GB, free: 1.918 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.603e-05/0.4726, allocations: 8.625 kB / 0.7593 GB, free: 1.902 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.4726, allocations: 4 kB / 0.7593 GB, free: 1.898 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.445e-06/0.4726, allocations: 3.984 kB / 0.7593 GB, free: 1.895 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.144e-06/0.4726, allocations: 3.953 kB / 0.7593 GB, free: 1.891 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007389/0.4734, allocations: 392.2 kB / 0.7597 GB, free: 1.453 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.583e-06/0.4734, allocations: 256 / 0.7597 GB, free: 1.453 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.191e-05/0.4735, allocations: 7.938 kB / 0.7597 GB, free: 1.445 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.015e-06/0.4735, allocations: 4 kB / 0.7597 GB, free: 1.441 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.522e-05/0.4735, allocations: 3.984 kB / 0.7597 GB, free: 1.438 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.184e-06/0.4735, allocations: 7.953 kB / 0.7597 GB, free: 1.43 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.4735, allocations: 0 / 0.7597 GB, free: 1.43 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002918/0.4738, allocations: 199.4 kB / 0.7599 GB, free: 1.219 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.63e-05/0.4739, allocations: 81.11 kB / 0.76 GB, free: 1.121 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.747e-05/0.474, allocations: 4 kB / 0.76 GB, free: 1.117 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001321/0.4741, allocations: 7.984 kB / 0.76 GB, free: 1.109 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.069e-05/0.4742, allocations: 11.94 kB / 0.76 GB, free: 1.098 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.581e-05/0.4742, allocations: 4 kB / 0.76 GB, free: 1.094 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.432e-05/0.4743, allocations: 91.22 kB / 0.7601 GB, free: 1.004 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.01e-07/0.4743, allocations: 4 kB / 0.7601 GB, free: 1 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003091/0.4746, allocations: 19.98 kB / 0.7601 GB, free: 0.9805 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.0006801/0.4753, allocations: 0.7371 MB / 0.7608 GB, free: 224 kB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002491/0.4756, allocations: 71.92 kB / 0.7609 GB, free: 152 kB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.459e-06/0.4756, allocations: 4.125 kB / 0.7609 GB, free: 148 kB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001038/0.4757, allocations: 36.31 kB / 0.7609 GB, free: 112 kB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002794/0.476, allocations: 12.17 kB / 0.7609 GB, free: 100 kB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006518/0.4767, allocations: 155 kB / 0.7611 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002989/0.477, allocations: 0.6887 MB / 0.7618 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.489e-05/0.477, allocations: 12.55 kB / 0.7618 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.907e-05/0.4771, allocations: 19.44 kB / 0.7618 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of SimCode: time 1.062e-06/0.4771, allocations: 0 / 0.7618 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02232/0.4995, allocations: 1.655 MB / 0.7634 GB, free: 13.57 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003092/0.4998, allocations: 154 kB / 0.7636 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.197/2.697, allocations: 4.062 kB / 0.7636 GB, free: 13.35 MB / 0.6511 GB