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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTrigger",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.01096/0.01096, allocations: 107.7 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.001173/0.001173, allocations: 183.5 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 2.125/2.125, allocations: 194.5 MB / 211.3 MB, free: 11.08 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.341/2.341, allocations: 236.1 MB / 492.6 MB, free: 11.36 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004815/0.0004815, allocations: 16 kB / 0.5871 GB, free: 2.043 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6614/0.6619, allocations: 98.71 MB / 0.6835 GB, free: 16.61 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2251/0.887, allocations: 124.5 MB / 0.805 GB, free: 1.676 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002782/0.8873, allocations: 71.95 kB / 0.8051 GB, free: 1.605 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.002635/0.89, allocations: 0.7368 MB / 0.8058 GB, free: 0.8633 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.973e-06/0.89, allocations: 4 kB / 0.8058 GB, free: 0.8594 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.742e-06/0.89, allocations: 0 / 0.8058 GB, free: 0.8594 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004877/0.8905, allocations: 359.2 kB / 0.8061 GB, free: 472 kB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.8906, allocations: 8.031 kB / 0.8062 GB, free: 464 kB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.45e-05/0.8907, allocations: 30.56 kB / 0.8062 GB, free: 424 kB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.994e-05/0.8907, allocations: 4 kB / 0.8062 GB, free: 420 kB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001202/0.8908, allocations: 174.9 kB / 0.8064 GB, free: 204 kB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.429e-05/0.8908, allocations: 8 kB / 0.8064 GB, free: 196 kB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.85e-05/0.8909, allocations: 4 kB / 0.8064 GB, free: 192 kB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002446/0.8911, allocations: 61.67 kB / 0.8064 GB, free: 124 kB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.8912, allocations: 0 / 0.8064 GB, free: 124 kB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.8912, allocations: 0 / 0.8064 GB, free: 124 kB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.298e-06/0.8912, allocations: 3.984 kB / 0.8064 GB, free: 120 kB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002952/0.8915, allocations: 51.97 kB / 0.8065 GB, free: 68 kB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004751/0.892, allocations: 268.8 kB / 0.8067 GB, free: 15.75 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002048/0.8922, allocations: 50.5 kB / 0.8068 GB, free: 15.7 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.545e-05/0.8922, allocations: 4 kB / 0.8068 GB, free: 15.69 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002505/0.8925, allocations: 71.47 kB / 0.8069 GB, free: 15.61 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.783e-06/0.8925, allocations: 0 / 0.8069 GB, free: 15.61 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0005714/0.8931, allocations: 121.6 kB / 0.807 GB, free: 15.48 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.235e-05/0.8932, allocations: 55.36 kB / 0.807 GB, free: 15.42 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.77e-05/0.8933, allocations: 109 kB / 0.8071 GB, free: 15.3 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.71e-05/0.8933, allocations: 25.7 kB / 0.8072 GB, free: 15.27 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.269e-05/0.8934, allocations: 88.05 kB / 0.8072 GB, free: 15.18 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.252e-05/0.8934, allocations: 11.89 kB / 0.8072 GB, free: 15.17 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.68e-06/0.8934, allocations: 0 / 0.8072 GB, free: 15.17 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001122/0.8935, allocations: 314.8 kB / 0.8075 GB, free: 14.86 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001499/0.8937, allocations: 19.98 kB / 0.8076 GB, free: 14.84 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001702/0.8939, allocations: 50.55 kB / 0.8076 GB, free: 14.78 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000158/0.894, allocations: 27.98 kB / 0.8076 GB, free: 14.75 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.8941, allocations: 7.938 kB / 0.8077 GB, free: 14.74 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003683/0.8944, allocations: 89.59 kB / 0.8077 GB, free: 14.65 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.8945, allocations: 8 kB / 0.8077 GB, free: 14.64 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.8945, allocations: 0 / 0.8077 GB, free: 14.64 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.8945, allocations: 4.094 kB / 0.8077 GB, free: 14.64 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001285/0.8946, allocations: 11.98 kB / 0.8078 GB, free: 14.62 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.8947, allocations: 4 kB / 0.8078 GB, free: 14.62 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001026/0.8948, allocations: 15.88 kB / 0.8078 GB, free: 14.61 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/0.8948, allocations: 7.938 kB / 0.8078 GB, free: 14.6 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: 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 8.921e-05/0.8949, allocations: 113.8 kB / 0.8079 GB, free: 14.48 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.657e-05/0.8949, allocations: 3.906 kB / 0.8079 GB, free: 14.47 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.477e-05/0.895, allocations: 11.91 kB / 0.8079 GB, free: 14.45 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.895, allocations: 0 / 0.8079 GB, free: 14.45 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.895, allocations: 0 / 0.8079 GB, free: 14.45 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.895, allocations: 0 / 0.8079 GB, free: 14.45 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005944/0.8956, allocations: 350.5 kB / 0.8082 GB, free: 14.05 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.195e-06/0.8956, allocations: 0 / 0.8082 GB, free: 14.05 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.2e-05/0.8957, allocations: 8.234 kB / 0.8083 GB, free: 14.05 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.8957, allocations: 0 / 0.8083 GB, free: 14.05 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.211e-05/0.8958, allocations: 0 / 0.8083 GB, free: 14.05 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.997e-06/0.8958, allocations: 11.92 kB / 0.8083 GB, free: 14.04 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.8958, allocations: 3.953 kB / 0.8083 GB, free: 14.03 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004215/0.8962, allocations: 191.4 kB / 0.8084 GB, free: 13.83 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.451e-05/0.8963, allocations: 85.02 kB / 0.8085 GB, free: 13.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.769e-05/0.8963, allocations: 128 / 0.8085 GB, free: 13.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000128/0.8964, allocations: 11.98 kB / 0.8085 GB, free: 13.71 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.462e-05/0.8965, allocations: 11.95 kB / 0.8086 GB, free: 13.7 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.973e-06/0.8965, allocations: 0 / 0.8086 GB, free: 13.7 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.954e-05/0.8966, allocations: 91.25 kB / 0.8086 GB, free: 13.61 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.91e-07/0.8966, allocations: 0 / 0.8086 GB, free: 13.61 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002753/0.8969, allocations: 8 kB / 0.8086 GB, free: 13.61 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: 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.0007792/0.8977, allocations: 0.7266 MB / 0.8094 GB, free: 12.86 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003605/0.8981, allocations: 59.89 kB / 0.8094 GB, free: 12.8 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.8981, allocations: 0 / 0.8094 GB, free: 12.8 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001696/0.8983, allocations: 27.98 kB / 0.8094 GB, free: 12.77 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002268/0.8985, allocations: 11.98 kB / 0.8095 GB, free: 12.76 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005513/0.8991, allocations: 170.3 kB / 0.8096 GB, free: 12.55 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002887/0.8994, allocations: 0.6848 MB / 0.8103 GB, free: 11.84 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.428e-05/0.8994, allocations: 0 / 0.8103 GB, free: 11.84 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.759e-05/0.8995, allocations: 19.38 kB / 0.8103 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of SimCode: time 7.82e-07/0.8995, allocations: 0 / 0.8103 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01938/0.9189, allocations: 1.235 MB / 0.8115 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002815/0.9192, allocations: 199.6 kB / 0.8117 GB, free: 10.48 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.405/3.324, allocations: 8.062 kB / 0.8117 GB, free: 10.47 MB / 0.6355 GB