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.01431/0.01431, allocations: 110.6 kB / 15.05 MB, free: 5.961 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.001734/0.001734, allocations: 184.1 kB / 15.94 MB, free: 5.926 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.238/2.238, allocations: 194.6 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.444/2.444, allocations: 236.2 MB / 492.6 MB, free: 11.32 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008347/0.0008349, allocations: 15.98 kB / 0.587 GB, free: 2.129 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6263/0.6272, allocations: 98.71 MB / 0.6834 GB, free: 16.64 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1845/0.8117, allocations: 124.5 MB / 0.8049 GB, free: 1.691 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000248/0.812, allocations: 75.95 kB / 0.805 GB, free: 1.617 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.00246/0.8145, allocations: 0.7443 MB / 0.8057 GB, free: 0.8672 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.949e-06/0.8146, allocations: 0 / 0.8057 GB, free: 0.8672 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.218e-06/0.8146, allocations: 0 / 0.8057 GB, free: 0.8672 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.0004612/0.815, allocations: 355.1 kB / 0.8061 GB, free: 484 kB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.8151, allocations: 8.031 kB / 0.8061 GB, free: 476 kB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.246e-05/0.8151, allocations: 4 kB / 0.8061 GB, free: 472 kB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001409/0.8153, allocations: 167 kB / 0.8062 GB, free: 264 kB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.465e-05/0.8153, allocations: 4 kB / 0.8062 GB, free: 260 kB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.657e-05/0.8153, allocations: 4 kB / 0.8062 GB, free: 256 kB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002082/0.8156, allocations: 57.67 kB / 0.8063 GB, free: 192 kB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.8156, allocations: 3.938 kB / 0.8063 GB, free: 188 kB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.8156, allocations: 0 / 0.8063 GB, free: 188 kB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.106e-06/0.8156, allocations: 4 kB / 0.8063 GB, free: 184 kB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000209/0.8158, allocations: 47.95 kB / 0.8063 GB, free: 136 kB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004971/0.8163, allocations: 280.8 kB / 0.8066 GB, free: 15.81 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001771/0.8165, allocations: 46.56 kB / 0.8067 GB, free: 15.75 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.034e-05/0.8166, allocations: 0 / 0.8067 GB, free: 15.75 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002295/0.8168, allocations: 75.41 kB / 0.8067 GB, free: 15.67 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 2.257e-06/0.8168, allocations: 3.938 kB / 0.8067 GB, free: 15.66 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.000467/0.8173, allocations: 121.6 kB / 0.8069 GB, free: 15.54 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.161e-05/0.8174, allocations: 55.36 kB / 0.8069 GB, free: 15.47 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.724e-05/0.8175, allocations: 101 kB / 0.807 GB, free: 15.37 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.979e-05/0.8175, allocations: 29.7 kB / 0.807 GB, free: 15.33 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.415e-05/0.8176, allocations: 88.14 kB / 0.8071 GB, free: 15.24 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.426e-05/0.8176, allocations: 7.812 kB / 0.8071 GB, free: 15.23 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.782e-06/0.8176, allocations: 3.938 kB / 0.8071 GB, free: 15.23 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001539/0.8178, allocations: 318.8 kB / 0.8074 GB, free: 14.91 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001075/0.8179, allocations: 19.98 kB / 0.8074 GB, free: 14.89 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001272/0.8181, allocations: 50.55 kB / 0.8075 GB, free: 14.83 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001132/0.8182, allocations: 27.92 kB / 0.8075 GB, free: 14.8 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.8182, allocations: 4 kB / 0.8075 GB, free: 14.8 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003029/0.8185, allocations: 97.59 kB / 0.8076 GB, free: 14.7 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.8186, allocations: 4 kB / 0.8076 GB, free: 14.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.8186, allocations: 0 / 0.8076 GB, free: 14.7 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.967e-05/0.8186, allocations: 8.094 kB / 0.8076 GB, free: 14.69 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001063/0.8187, allocations: 11.98 kB / 0.8076 GB, free: 14.68 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.963e-06/0.8187, allocations: 0 / 0.8076 GB, free: 14.68 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.252e-05/0.8188, allocations: 19.88 kB / 0.8077 GB, free: 14.66 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.555e-06/0.8188, allocations: 0 / 0.8077 GB, free: 14.66 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 0.00011/0.819, allocations: 117.8 kB / 0.8078 GB, free: 14.53 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.931e-05/0.819, allocations: 7.906 kB / 0.8078 GB, free: 14.52 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.299e-05/0.819, allocations: 7.906 kB / 0.8078 GB, free: 14.51 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.598e-06/0.8191, allocations: 0 / 0.8078 GB, free: 14.51 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.8191, allocations: 0 / 0.8078 GB, free: 14.51 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.77e-06/0.8191, allocations: 0 / 0.8078 GB, free: 14.51 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005818/0.8197, allocations: 342.5 kB / 0.8081 GB, free: 14.12 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.583e-06/0.8197, allocations: 4 kB / 0.8081 GB, free: 14.11 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.304e-05/0.8198, allocations: 11.92 kB / 0.8081 GB, free: 14.1 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.013e-06/0.8198, allocations: 4 kB / 0.8081 GB, free: 14.1 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.039e-06/0.8198, allocations: 0 / 0.8081 GB, free: 14.1 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.8198, allocations: 0 / 0.8081 GB, free: 14.1 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.21e-06/0.8198, allocations: 3.953 kB / 0.8081 GB, free: 14.09 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003458/0.8202, allocations: 191.5 kB / 0.8083 GB, free: 13.89 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.325e-05/0.8203, allocations: 84.95 kB / 0.8084 GB, free: 13.79 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.697e-05/0.8203, allocations: 0 / 0.8084 GB, free: 13.79 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001148/0.8204, allocations: 11.98 kB / 0.8084 GB, free: 13.78 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.155e-05/0.8205, allocations: 4 kB / 0.8084 GB, free: 13.77 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.114e-05/0.8205, allocations: 3.953 kB / 0.8084 GB, free: 13.77 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.859e-05/0.8206, allocations: 91.27 kB / 0.8085 GB, free: 13.68 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.42e-07/0.8206, allocations: 0 / 0.8085 GB, free: 13.68 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003117/0.8209, allocations: 4 kB / 0.8085 GB, free: 13.68 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.000138/0.821, allocations: 107.3 kB / 0.8086 GB, free: 13.56 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002981/0.8213, allocations: 59.95 kB / 0.8087 GB, free: 13.5 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.768e-06/0.8214, allocations: 0 / 0.8087 GB, free: 13.5 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.000138/0.8215, allocations: 31.97 kB / 0.8087 GB, free: 13.47 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000228/0.8218, allocations: 20.06 kB / 0.8087 GB, free: 13.45 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003756/0.8221, allocations: 130.6 kB / 0.8088 GB, free: 13.3 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003475/0.8225, allocations: 0.6848 MB / 0.8095 GB, free: 12.59 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.351e-05/0.8226, allocations: 0 / 0.8095 GB, free: 12.59 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.22e-05/0.8226, allocations: 11.44 kB / 0.8095 GB, free: 12.58 MB / 0.6355 GB Notification: Performance of SimCode: time 1.498e-06/0.8226, allocations: 0 / 0.8095 GB, free: 12.58 MB / 0.6355 GB Notification: Performance of Templates: time 0.003025/0.8256, allocations: 483 kB / 0.81 GB, free: 12.11 MB / 0.6355 GB