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.004244/0.004244, allocations: 234.7 kB / 15.8 MB, free: 6.281 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.001145/0.001145, allocations: 184.2 kB / 16.69 MB, free: 5.449 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 4.156/4.156, allocations: 389.1 MB / 406.5 MB, free: 11.86 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.304/4.304, allocations: 472.3 MB / 0.9024 GB, free: 18.74 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005107/0.000511, allocations: 14.72 kB / 1.008 GB, free: 13.39 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2245/0.2251, allocations: 98.72 MB / 1.105 GB, free: 10.71 MB / 0.573 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.002138/0.2273, allocations: 1.102 MB / 1.106 GB, free: 9.602 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.00056/0.2279, allocations: 176.9 kB / 1.106 GB, free: 9.426 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.032e-05/0.228, allocations: 0.5 kB / 1.106 GB, free: 9.426 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 3.477e-05/0.228, allocations: 3.938 kB / 1.106 GB, free: 9.422 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 8.281e-05/0.2281, allocations: 12.5 kB / 1.106 GB, free: 9.41 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001603/0.2283, allocations: 8.438 kB / 1.106 GB, free: 9.402 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 9.499e-05/0.2284, allocations: 36.61 kB / 1.106 GB, free: 9.367 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.2285, allocations: 13.3 kB / 1.106 GB, free: 9.355 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 6.893e-05/0.2286, allocations: 11.94 kB / 1.106 GB, free: 9.344 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 5.359e-05/0.2287, allocations: 11.92 kB / 1.106 GB, free: 9.332 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 1.721e-05/0.2287, allocations: 0.8125 kB / 1.106 GB, free: 9.332 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 1.34e-05/0.2287, allocations: 0 / 1.106 GB, free: 9.332 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 1.685e-05/0.2287, allocations: 8 kB / 1.106 GB, free: 9.324 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 4.024e-05/0.2288, allocations: 26.45 kB / 1.106 GB, free: 9.293 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 8.598e-05/0.2289, allocations: 31.92 kB / 1.106 GB, free: 9.262 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 7.283e-06/0.2289, allocations: 0.7188 kB / 1.106 GB, free: 9.262 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.953e-06/0.2289, allocations: 4.5 kB / 1.106 GB, free: 9.258 MB / 0.573 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.2289, allocations: 3.938 kB / 1.106 GB, free: 9.254 MB / 0.573 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.0006009/0.2295, allocations: 349.4 kB / 1.106 GB, free: 8.867 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/0.2296, allocations: 12.69 kB / 1.106 GB, free: 8.855 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.775e-05/0.2297, allocations: 16.86 kB / 1.106 GB, free: 8.84 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001393/0.2298, allocations: 163.1 kB / 1.107 GB, free: 8.641 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.679e-05/0.2298, allocations: 0.625 kB / 1.107 GB, free: 8.641 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.995e-05/0.2299, allocations: 4 kB / 1.107 GB, free: 8.637 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002763/0.2302, allocations: 64.06 kB / 1.107 GB, free: 8.57 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.2302, allocations: 1.562 kB / 1.107 GB, free: 8.57 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.2302, allocations: 0 / 1.107 GB, free: 8.57 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.436e-06/0.2302, allocations: 3.953 kB / 1.107 GB, free: 8.566 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002934/0.2305, allocations: 49.59 kB / 1.107 GB, free: 8.52 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005299/0.2311, allocations: 261.3 kB / 1.107 GB, free: 8.219 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002193/0.2313, allocations: 50.55 kB / 1.107 GB, free: 8.16 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001656/0.2315, allocations: 30.25 kB / 1.107 GB, free: 8.129 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.424e-05/0.2315, allocations: 4 kB / 1.107 GB, free: 8.125 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002928/0.2318, allocations: 76.89 kB / 1.107 GB, free: 8.039 MB / 0.573 GB Notification: Performance of pre-optimization done (n=4): time 2.525e-06/0.2318, allocations: 0.9688 kB / 1.107 GB, free: 8.039 MB / 0.573 GB Notification: Performance of matching and sorting (n=4): time 0.0006166/0.2325, allocations: 120.4 kB / 1.107 GB, free: 7.918 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.199e-05/0.2325, allocations: 52.84 kB / 1.107 GB, free: 7.855 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000106/0.2326, allocations: 113.8 kB / 1.107 GB, free: 7.734 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 2.058e-05/0.2327, allocations: 25.7 kB / 1.107 GB, free: 7.703 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 6.866e-05/0.2328, allocations: 86.11 kB / 1.107 GB, free: 7.617 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 2.638e-05/0.2328, allocations: 11.89 kB / 1.107 GB, free: 7.605 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.24e-06/0.2328, allocations: 0 / 1.107 GB, free: 7.605 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001377/0.2329, allocations: 310.8 kB / 1.108 GB, free: 7.293 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001538/0.2331, allocations: 25.7 kB / 1.108 GB, free: 7.27 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001787/0.2333, allocations: 54.48 kB / 1.108 GB, free: 7.207 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001928/0.2335, allocations: 23.98 kB / 1.108 GB, free: 7.184 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.2335, allocations: 0 / 1.108 GB, free: 7.184 MB / 0.573 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003893/0.2339, allocations: 101.5 kB / 1.108 GB, free: 7.078 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.2e-05/0.234, allocations: 7.125 kB / 1.108 GB, free: 7.074 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/0.234, allocations: 3.953 kB / 1.108 GB, free: 7.07 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.234, allocations: 0 / 1.108 GB, free: 7.07 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001371/0.2342, allocations: 24.08 kB / 1.108 GB, free: 7.047 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.2342, allocations: 0 / 1.108 GB, free: 7.047 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.637e-05/0.2343, allocations: 11.98 kB / 1.108 GB, free: 7.035 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.858e-06/0.2343, allocations: 3.938 kB / 1.108 GB, free: 7.031 MB / 0.573 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 0.0001136/0.2344, allocations: 118 kB / 1.108 GB, free: 6.906 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.808e-05/0.2345, allocations: 7.984 kB / 1.108 GB, free: 6.898 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.608e-05/0.2345, allocations: 3.906 kB / 1.108 GB, free: 6.891 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.201e-06/0.2345, allocations: 7.953 kB / 1.108 GB, free: 6.883 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.2345, allocations: 0 / 1.108 GB, free: 6.883 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 5.581e-05/0.2346, allocations: 88.94 kB / 1.108 GB, free: 6.777 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.008e-05/0.2346, allocations: 4 kB / 1.108 GB, free: 6.773 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.067e-05/0.2347, allocations: 4 kB / 1.108 GB, free: 6.77 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.155e-05/0.2348, allocations: 11.98 kB / 1.108 GB, free: 6.758 MB / 0.573 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004743/0.2353, allocations: 176.9 kB / 1.108 GB, free: 6.578 MB / 0.573 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0004573/0.2357, allocations: 262.8 kB / 1.109 GB, free: 6.305 MB / 0.573 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001747/0.2359, allocations: 35.91 kB / 1.109 GB, free: 6.27 MB / 0.573 GB Notification: Performance of sorting global known variables: time 5.72e-05/0.236, allocations: 83.28 kB / 1.109 GB, free: 6.188 MB / 0.573 GB Notification: Performance of Backend: time 6.82e-07/0.236, allocations: 0 / 1.109 GB, free: 6.188 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.000574/0.2366, allocations: 114.4 kB / 1.109 GB, free: 6.066 MB / 0.573 GB Notification: Performance of SimCode: time 0.0006256/0.2372, allocations: 0.576 MB / 1.109 GB, free: 5.445 MB / 0.573 GB Notification: Performance of Templates: time 0.00367/0.2409, allocations: 0.5546 MB / 1.11 GB, free: 4.895 MB / 0.573 GB