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.Sources.Validation.SampleTrigger.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.Sources.Validation.SampleTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01531/0.01531, allocations: 108.2 kB / 15.06 MB, free: 6.039 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.001871/0.00187, allocations: 180.1 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 2.064/2.064, allocations: 194.5 MB / 211.3 MB, free: 11.04 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.407/2.407, allocations: 236.2 MB / 492.6 MB, free: 11.36 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004729/0.0004731, allocations: 12 kB / 0.587 GB, free: 2.16 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5475/0.548, allocations: 98.7 MB / 0.6834 GB, free: 16.63 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.00142/0.5495, allocations: 1.103 MB / 0.6844 GB, free: 15.81 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0003891/0.5499, allocations: 182.2 kB / 0.6846 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.365e-05/0.5499, allocations: 1.719 kB / 0.6846 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 1.423e-05/0.55, allocations: 0.7031 kB / 0.6846 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 6.342e-05/0.55, allocations: 5.906 kB / 0.6846 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001217/0.5502, allocations: 20.81 kB / 0.6846 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 6.978e-05/0.5503, allocations: 18 kB / 0.6847 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 8.048e-05/0.5503, allocations: 6.828 kB / 0.6847 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 6.042e-05/0.5504, allocations: 14.66 kB / 0.6847 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 4.421e-05/0.5505, allocations: 15.17 kB / 0.6847 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.965e-05/0.5505, allocations: 5.531 kB / 0.6847 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 1.067e-05/0.5505, allocations: 1.438 kB / 0.6847 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 1.429e-05/0.5505, allocations: 2.75 kB / 0.6847 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 2.757e-05/0.5506, allocations: 31.14 kB / 0.6847 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 6.653e-05/0.5507, allocations: 27.78 kB / 0.6848 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.14e-06/0.5507, allocations: 0 / 0.6848 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.08e-06/0.5507, allocations: 7.875 kB / 0.6848 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.277e-06/0.5507, allocations: 0 / 0.6848 GB, free: 15.59 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003901/0.5511, allocations: 350.5 kB / 0.6851 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.5512, allocations: 8.656 kB / 0.6851 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.309e-05/0.5512, allocations: 6.641 kB / 0.6851 GB, free: 15.22 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.545e-05/0.5513, allocations: 166.7 kB / 0.6853 GB, free: 15.02 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.536e-05/0.5513, allocations: 4.969 kB / 0.6853 GB, free: 15.02 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.394e-05/0.5513, allocations: 6.719 kB / 0.6853 GB, free: 15.02 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001986/0.5515, allocations: 56.27 kB / 0.6853 GB, free: 14.98 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.479e-06/0.5516, allocations: 1.562 kB / 0.6853 GB, free: 14.98 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.5516, allocations: 0 / 0.6853 GB, free: 14.98 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.613e-06/0.5516, allocations: 0 / 0.6853 GB, free: 14.98 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002055/0.5518, allocations: 53.58 kB / 0.6854 GB, free: 14.97 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000367/0.5522, allocations: 270.2 kB / 0.6856 GB, free: 14.68 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001656/0.5524, allocations: 49.17 kB / 0.6857 GB, free: 14.65 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.962e-05/0.5524, allocations: 0 / 0.6857 GB, free: 14.65 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002141/0.5526, allocations: 68.45 kB / 0.6858 GB, free: 14.6 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=4): time 2.409e-06/0.5527, allocations: 5.25 kB / 0.6858 GB, free: 14.6 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4): time 0.00045/0.5531, allocations: 118.5 kB / 0.6859 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.79e-05/0.5532, allocations: 57.5 kB / 0.6859 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7e-05/0.5532, allocations: 110.6 kB / 0.686 GB, free: 14.38 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.134e-05/0.5533, allocations: 25.7 kB / 0.6861 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.846e-05/0.5533, allocations: 91.94 kB / 0.6861 GB, free: 14.25 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.941e-05/0.5533, allocations: 9.625 kB / 0.6862 GB, free: 14.25 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.689e-06/0.5534, allocations: 0 / 0.6862 GB, free: 14.25 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.549e-05/0.5534, allocations: 317.7 kB / 0.6865 GB, free: 13.93 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001134/0.5535, allocations: 25.31 kB / 0.6865 GB, free: 13.93 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001197/0.5537, allocations: 46.08 kB / 0.6865 GB, free: 13.89 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001155/0.5538, allocations: 30.7 kB / 0.6866 GB, free: 13.89 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.879e-06/0.5538, allocations: 7.938 kB / 0.6866 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002993/0.5541, allocations: 90.94 kB / 0.6867 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.5542, allocations: 6.453 kB / 0.6867 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.38e-06/0.5542, allocations: 1.5 kB / 0.6867 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.5542, allocations: 4.094 kB / 0.6867 GB, free: 13.83 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000114/0.5543, allocations: 13.12 kB / 0.6867 GB, free: 13.83 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.767e-06/0.5543, allocations: 1.922 kB / 0.6867 GB, free: 13.83 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.408e-05/0.5544, allocations: 12.66 kB / 0.6867 GB, free: 13.83 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.102e-05/0.5545, allocations: 2.406 kB / 0.6867 GB, free: 13.83 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: 4 ($PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,samTri.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 6.717e-05/0.5545, allocations: 117 kB / 0.6868 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.698e-05/0.5546, allocations: 10.91 kB / 0.6868 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.799e-05/0.5546, allocations: 5.125 kB / 0.6868 GB, free: 13.69 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.48e-06/0.5546, allocations: 0.875 kB / 0.6868 GB, free: 13.69 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.033e-06/0.5546, allocations: 5.031 kB / 0.6868 GB, free: 13.68 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.767e-06/0.5546, allocations: 0.7031 kB / 0.6868 GB, free: 13.68 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004815/0.5551, allocations: 351.7 kB / 0.6872 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.693e-06/0.5551, allocations: 0.75 kB / 0.6872 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.916e-05/0.5552, allocations: 10.08 kB / 0.6872 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.405e-06/0.5552, allocations: 5.5 kB / 0.6872 GB, free: 13.35 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.925e-06/0.5553, allocations: 0.7031 kB / 0.6872 GB, free: 13.35 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.557e-06/0.5553, allocations: 1.094 kB / 0.6872 GB, free: 13.35 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.742e-06/0.5553, allocations: 3.953 kB / 0.6872 GB, free: 13.35 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002971/0.5556, allocations: 195.5 kB / 0.6874 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 2.187e-05/0.5556, allocations: 79.12 kB / 0.6874 GB, free: 13.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/0.5557, allocations: 1.828 kB / 0.6874 GB, free: 13.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001152/0.5558, allocations: 12.89 kB / 0.6875 GB, free: 13.1 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.459e-05/0.5558, allocations: 7.375 kB / 0.6875 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.826e-06/0.5559, allocations: 5.375 kB / 0.6875 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.764e-05/0.5559, allocations: 82.25 kB / 0.6875 GB, free: 13.02 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7.27e-07/0.5559, allocations: 1.344 kB / 0.6875 GB, free: 13.02 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003077/0.5562, allocations: 5.031 kB / 0.6876 GB, free: 13.02 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: 3 (samTri.y,$whenCondition1,triggeredSampler.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001089/0.5564, allocations: 106 kB / 0.6877 GB, free: 12.93 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002803/0.5566, allocations: 61.52 kB / 0.6877 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.5567, allocations: 0 / 0.6877 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001301/0.5568, allocations: 29.97 kB / 0.6877 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002259/0.557, allocations: 13.22 kB / 0.6878 GB, free: 12.9 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003074/0.5574, allocations: 132.2 kB / 0.6879 GB, free: 12.78 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000127/0.5575, allocations: 0.6845 MB / 0.6885 GB, free: 12.09 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 3.351e-05/0.5576, allocations: 5.766 kB / 0.6886 GB, free: 12.08 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.926e-05/0.5576, allocations: 17.66 kB / 0.6886 GB, free: 12.07 MB / 0.5261 GB Notification: Performance of SimCode: time 1.398e-06/0.5576, allocations: 0 / 0.6886 GB, free: 12.07 MB / 0.5261 GB Notification: Performance of Templates: time 0.002971/0.5606, allocations: 475.6 kB / 0.689 GB, free: 12 MB / 0.5261 GB