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: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Timer") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.009204/0.009204, allocations: 108.3 kB / 15.06 MB, free: 6.043 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.001165/0.001165, allocations: 182.9 kB / 15.95 MB, free: 5.957 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.6 MB / 211.3 MB, free: 11.05 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.361/2.361, allocations: 236.1 MB / 492.6 MB, free: 11.3 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005/0.0005001, allocations: 12 kB / 0.5869 GB, free: 2.133 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.551/0.5515, allocations: 98.72 MB / 0.6834 GB, free: 16.73 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.00151/0.5531, allocations: 1.065 MB / 0.6844 GB, free: 15.93 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0004765/0.5536, allocations: 216.5 kB / 0.6846 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.338e-05/0.5536, allocations: 0 / 0.6846 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 2.014e-05/0.5537, allocations: 5.156 kB / 0.6846 GB, free: 15.78 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 6.856e-05/0.5538, allocations: 7.297 kB / 0.6846 GB, free: 15.78 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001632/0.5539, allocations: 25.3 kB / 0.6846 GB, free: 15.76 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 9.916e-05/0.554, allocations: 38.58 kB / 0.6847 GB, free: 15.74 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 8.645e-05/0.5541, allocations: 9.734 kB / 0.6847 GB, free: 15.74 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 4.504e-05/0.5542, allocations: 31.61 kB / 0.6847 GB, free: 15.72 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 6.034e-05/0.5543, allocations: 21.16 kB / 0.6847 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.817e-05/0.5543, allocations: 2.406 kB / 0.6847 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 1.368e-05/0.5543, allocations: 2.406 kB / 0.6847 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 2.067e-05/0.5544, allocations: 9.797 kB / 0.6847 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 3.406e-05/0.5544, allocations: 36.77 kB / 0.6848 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 8.72e-05/0.5545, allocations: 38.94 kB / 0.6848 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.5545, allocations: 0 / 0.6848 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.059e-06/0.5545, allocations: 0 / 0.6848 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.194e-06/0.5545, allocations: 4 kB / 0.6848 GB, free: 15.66 MB / 0.5261 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.0004218/0.555, allocations: 361.1 kB / 0.6852 GB, free: 15.29 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.555, allocations: 9.453 kB / 0.6852 GB, free: 15.29 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.206e-05/0.5551, allocations: 7.688 kB / 0.6852 GB, free: 15.29 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001351/0.5552, allocations: 173.9 kB / 0.6853 GB, free: 15.09 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.808e-05/0.5552, allocations: 7.453 kB / 0.6854 GB, free: 15.09 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.219e-05/0.5553, allocations: 5.406 kB / 0.6854 GB, free: 15.09 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001521/0.5554, allocations: 69.3 kB / 0.6854 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.144e-06/0.5555, allocations: 0 / 0.6854 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.347e-05/0.5555, allocations: 1.984 kB / 0.6854 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.15e-06/0.5555, allocations: 1.281 kB / 0.6854 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001018/0.5556, allocations: 28.09 kB / 0.6855 GB, free: 15.03 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004106/0.556, allocations: 293.2 kB / 0.6857 GB, free: 14.73 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001436/0.5562, allocations: 69 kB / 0.6858 GB, free: 14.69 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.261e-05/0.5562, allocations: 1.5 kB / 0.6858 GB, free: 14.69 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002242/0.5564, allocations: 84.03 kB / 0.6859 GB, free: 14.62 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=11): time 2.524e-06/0.5565, allocations: 1.688 kB / 0.6859 GB, free: 14.62 MB / 0.5261 GB Notification: Performance of matching and sorting (n=11): time 0.0003334/0.5568, allocations: 120.1 kB / 0.686 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.274e-05/0.5569, allocations: 67.27 kB / 0.6861 GB, free: 14.49 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.562e-05/0.5569, allocations: 114.8 kB / 0.6862 GB, free: 14.38 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.876e-05/0.557, allocations: 32.02 kB / 0.6862 GB, free: 14.35 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.664e-05/0.557, allocations: 86.48 kB / 0.6863 GB, free: 14.26 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.257e-05/0.5571, allocations: 23.05 kB / 0.6863 GB, free: 14.25 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.712e-06/0.5571, allocations: 0 / 0.6863 GB, free: 14.25 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.648e-05/0.5571, allocations: 320.6 kB / 0.6866 GB, free: 13.93 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.096e-05/0.5572, allocations: 23.41 kB / 0.6866 GB, free: 13.92 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.805e-05/0.5573, allocations: 56.73 kB / 0.6867 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.811e-05/0.5574, allocations: 29.16 kB / 0.6867 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.572e-06/0.5574, allocations: 1.531 kB / 0.6867 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002291/0.5577, allocations: 114.8 kB / 0.6868 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/0.5577, allocations: 7.625 kB / 0.6868 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.692e-06/0.5577, allocations: 0 / 0.6868 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.5577, allocations: 1.375 kB / 0.6868 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001005/0.5578, allocations: 13.42 kB / 0.6869 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.398e-06/0.5579, allocations: 5.516 kB / 0.6869 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.481e-05/0.558, allocations: 16.16 kB / 0.6869 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.156e-05/0.558, allocations: 3.594 kB / 0.6869 GB, free: 13.79 MB / 0.5261 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,booPul.y,$PRE.booPul.pulseStart,booPul.pulseStart,$PRE.resetTimer.entryTime,resetTimer.entryTime,$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 8.415e-05/0.5581, allocations: 121.3 kB / 0.687 GB, free: 13.66 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.232e-05/0.5581, allocations: 12.06 kB / 0.687 GB, free: 13.66 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.081e-05/0.5582, allocations: 10.08 kB / 0.687 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.704e-06/0.5582, allocations: 1.25 kB / 0.687 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.063e-06/0.5582, allocations: 0 / 0.687 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.98e-06/0.5582, allocations: 9.984 kB / 0.687 GB, free: 13.63 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000538/0.5587, allocations: 386.9 kB / 0.6874 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.393e-06/0.5588, allocations: 0 / 0.6874 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.943e-05/0.5588, allocations: 3.812 kB / 0.6874 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.081e-06/0.5588, allocations: 2.125 kB / 0.6874 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.455e-05/0.5589, allocations: 5.891 kB / 0.6874 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.279e-06/0.5589, allocations: 5.203 kB / 0.6874 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.031e-06/0.5589, allocations: 4 kB / 0.6874 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002287/0.5591, allocations: 195.9 kB / 0.6876 GB, free: 13.13 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 2.831e-05/0.5592, allocations: 87.95 kB / 0.6877 GB, free: 13.03 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.5e-05/0.5592, allocations: 2.234 kB / 0.6877 GB, free: 13.03 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000124/0.5593, allocations: 11.58 kB / 0.6877 GB, free: 13.03 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.778e-05/0.5594, allocations: 11.92 kB / 0.6877 GB, free: 13.02 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.352e-05/0.5594, allocations: 11.5 kB / 0.6877 GB, free: 13.02 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.102e-05/0.5595, allocations: 94.92 kB / 0.6878 GB, free: 12.93 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6.58e-07/0.5595, allocations: 0 / 0.6878 GB, free: 12.93 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003251/0.5598, allocations: 18.53 kB / 0.6878 GB, free: 12.93 MB / 0.5261 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 (booPul.y,$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.0001185/0.5599, allocations: 105.3 kB / 0.6879 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002196/0.5602, allocations: 70.06 kB / 0.688 GB, free: 12.82 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.634e-06/0.5602, allocations: 0 / 0.688 GB, free: 12.82 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 9.464e-05/0.5603, allocations: 32.66 kB / 0.688 GB, free: 12.81 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002443/0.5606, allocations: 11.8 kB / 0.688 GB, free: 12.81 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004691/0.561, allocations: 193.6 kB / 0.6882 GB, free: 12.66 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001365/0.5612, allocations: 0.6942 MB / 0.6889 GB, free: 11.96 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 4.955e-05/0.5613, allocations: 13.05 kB / 0.6889 GB, free: 11.95 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.993e-05/0.5613, allocations: 13.09 kB / 0.6889 GB, free: 11.95 MB / 0.5261 GB Notification: Performance of SimCode: time 1.339e-06/0.5613, allocations: 0 / 0.6889 GB, free: 11.95 MB / 0.5261 GB Notification: Performance of Templates: time 0.003731/0.5651, allocations: 0.7647 MB / 0.6897 GB, free: 11.86 MB / 0.5261 GB