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.0106/0.0106, allocations: 221.3 kB / 15.17 MB, free: 5.93 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.001167/0.001167, allocations: 179.1 kB / 16.06 MB, free: 5.828 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 3.779/3.779, allocations: 389.1 MB / 405.9 MB, free: 11.82 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.286/4.286, allocations: 472.3 MB / 0.9018 GB, free: 9.246 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004915/0.0004918, allocations: 12 kB / 1.008 GB, free: 138.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1297/0.1302, allocations: 98.73 MB / 1.104 GB, free: 42.01 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.001185/0.1315, allocations: 1.096 MB / 1.105 GB, free: 40.9 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003428/0.1318, allocations: 182.6 kB / 1.105 GB, free: 40.72 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.251e-05/0.1319, allocations: 3.938 kB / 1.105 GB, free: 40.72 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.264e-05/0.1319, allocations: 0 / 1.105 GB, free: 40.72 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.037e-05/0.132, allocations: 13.78 kB / 1.105 GB, free: 40.71 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000114/0.1321, allocations: 8 kB / 1.105 GB, free: 40.7 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.911e-05/0.1322, allocations: 31.92 kB / 1.105 GB, free: 40.67 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 7.19e-05/0.1322, allocations: 7.984 kB / 1.105 GB, free: 40.66 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.116e-05/0.1323, allocations: 14.75 kB / 1.105 GB, free: 40.65 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.5e-05/0.1324, allocations: 11.92 kB / 1.105 GB, free: 40.64 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.712e-05/0.1324, allocations: 4 kB / 1.105 GB, free: 40.63 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.004e-05/0.1324, allocations: 0 / 1.105 GB, free: 40.63 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.533e-05/0.1324, allocations: 8 kB / 1.105 GB, free: 40.62 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.777e-05/0.1325, allocations: 29.64 kB / 1.105 GB, free: 40.59 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 5.414e-05/0.1325, allocations: 27.92 kB / 1.105 GB, free: 40.56 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.223e-06/0.1325, allocations: 4 kB / 1.105 GB, free: 40.56 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.398e-06/0.1326, allocations: 3.438 kB / 1.105 GB, free: 40.56 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.407e-06/0.1326, allocations: 0 / 1.105 GB, free: 40.56 MB / 0.6042 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.0003647/0.1329, allocations: 347.5 kB / 1.106 GB, free: 40.17 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.446e-05/0.133, allocations: 8.031 kB / 1.106 GB, free: 40.16 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.345e-05/0.133, allocations: 11.8 kB / 1.106 GB, free: 40.15 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.248e-05/0.1331, allocations: 170.4 kB / 1.106 GB, free: 39.95 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.388e-05/0.1331, allocations: 0 / 1.106 GB, free: 39.95 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.25e-05/0.1332, allocations: 4 kB / 1.106 GB, free: 39.95 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001974/0.1334, allocations: 65.61 kB / 1.106 GB, free: 39.88 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.782e-06/0.1334, allocations: 0.75 kB / 1.106 GB, free: 39.88 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.1334, allocations: 2.297 kB / 1.106 GB, free: 39.88 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.297e-06/0.1334, allocations: 5.141 kB / 1.106 GB, free: 39.87 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001934/0.1336, allocations: 47.27 kB / 1.106 GB, free: 39.83 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003448/0.134, allocations: 257 kB / 1.106 GB, free: 39.53 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001709/0.1342, allocations: 53.98 kB / 1.106 GB, free: 39.47 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001083/0.1343, allocations: 36.88 kB / 1.106 GB, free: 39.43 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.986e-05/0.1343, allocations: 0 / 1.106 GB, free: 39.43 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001995/0.1345, allocations: 78.45 kB / 1.107 GB, free: 39.34 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 2.285e-06/0.1346, allocations: 0 / 1.107 GB, free: 39.34 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4): time 0.0004095/0.135, allocations: 118.4 kB / 1.107 GB, free: 39.23 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.536e-05/0.135, allocations: 55.41 kB / 1.107 GB, free: 39.16 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.189e-05/0.1351, allocations: 121.7 kB / 1.107 GB, free: 39.03 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.162e-05/0.1351, allocations: 25.7 kB / 1.107 GB, free: 39 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.996e-05/0.1352, allocations: 80.14 kB / 1.107 GB, free: 38.92 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.829e-05/0.1352, allocations: 15.89 kB / 1.107 GB, free: 38.9 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.518e-06/0.1352, allocations: 2.344 kB / 1.107 GB, free: 38.9 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.843e-05/0.1353, allocations: 310.8 kB / 1.107 GB, free: 38.59 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001018/0.1354, allocations: 23.98 kB / 1.107 GB, free: 38.57 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001058/0.1355, allocations: 50.61 kB / 1.107 GB, free: 38.51 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001034/0.1356, allocations: 23.98 kB / 1.107 GB, free: 38.49 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.1356, allocations: 3.469 kB / 1.107 GB, free: 38.49 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002603/0.1359, allocations: 97.5 kB / 1.107 GB, free: 38.39 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.1359, allocations: 10.52 kB / 1.107 GB, free: 38.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.1e-06/0.1359, allocations: 0 / 1.107 GB, free: 38.38 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.136, allocations: 0 / 1.107 GB, free: 38.38 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.801e-05/0.1361, allocations: 19.98 kB / 1.107 GB, free: 38.36 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.839e-06/0.1361, allocations: 3.938 kB / 1.107 GB, free: 38.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.876e-05/0.1362, allocations: 15.27 kB / 1.107 GB, free: 38.34 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.654e-06/0.1362, allocations: 1.547 kB / 1.107 GB, free: 38.34 MB / 0.6042 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.256e-05/0.1363, allocations: 117.8 kB / 1.108 GB, free: 38.22 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.4e-05/0.1363, allocations: 0 / 1.108 GB, free: 38.22 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.793e-05/0.1363, allocations: 11.86 kB / 1.108 GB, free: 38.2 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.481e-06/0.1363, allocations: 128 / 1.108 GB, free: 38.2 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.282e-06/0.1363, allocations: 4 kB / 1.108 GB, free: 38.2 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.618e-06/0.1364, allocations: 1.594 kB / 1.108 GB, free: 38.2 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004321/0.1368, allocations: 353.4 kB / 1.108 GB, free: 37.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.71e-06/0.1368, allocations: 0 / 1.108 GB, free: 37.8 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.346e-05/0.1369, allocations: 11.95 kB / 1.108 GB, free: 37.79 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.455e-06/0.1369, allocations: 6.438 kB / 1.108 GB, free: 37.79 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.102e-06/0.1369, allocations: 0 / 1.108 GB, free: 37.79 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.569e-06/0.1369, allocations: 0 / 1.108 GB, free: 37.79 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.786e-06/0.1369, allocations: 3.984 kB / 1.108 GB, free: 37.78 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002709/0.1372, allocations: 183.8 kB / 1.108 GB, free: 37.59 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.207e-05/0.1373, allocations: 85.02 kB / 1.108 GB, free: 37.49 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.737e-05/0.1373, allocations: 3.953 kB / 1.108 GB, free: 37.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001075/0.1374, allocations: 12.67 kB / 1.108 GB, free: 37.47 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.936e-05/0.1375, allocations: 0 / 1.108 GB, free: 37.47 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.134e-06/0.1375, allocations: 3.219 kB / 1.108 GB, free: 37.47 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.637e-05/0.1375, allocations: 91.27 kB / 1.108 GB, free: 37.38 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.248e-06/0.1375, allocations: 3.938 kB / 1.108 GB, free: 37.38 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003029/0.1378, allocations: 7.938 kB / 1.108 GB, free: 37.37 MB / 0.6042 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 9.599e-05/0.138, allocations: 100.1 kB / 1.108 GB, free: 37.26 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002746/0.1382, allocations: 62.67 kB / 1.108 GB, free: 37.2 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.552e-06/0.1383, allocations: 0 / 1.108 GB, free: 37.2 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001241/0.1384, allocations: 39.12 kB / 1.109 GB, free: 37.17 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003362/0.1387, allocations: 8 kB / 1.109 GB, free: 37.16 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002859/0.139, allocations: 135.8 kB / 1.109 GB, free: 37.01 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001172/0.1392, allocations: 0.6848 MB / 1.109 GB, free: 36.3 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.081e-05/0.1392, allocations: 0 / 1.109 GB, free: 36.3 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.592e-05/0.1393, allocations: 11.44 kB / 1.109 GB, free: 36.29 MB / 0.6042 GB Notification: Performance of SimCode: time 1.394e-06/0.1393, allocations: 0 / 1.109 GB, free: 36.29 MB / 0.6042 GB Notification: Performance of Templates: time 0.002716/0.142, allocations: 486.9 kB / 1.11 GB, free: 35.84 MB / 0.6042 GB