Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.436/2.436, allocations: 251.1 MB / 266.1 MB, free: 11.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001585/0.001585, allocations: 178 kB / 325.6 MB, free: 2.828 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.511/2.511, allocations: 205.4 MB / 0.5766 GB, free: 21.14 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001124/0.001124, allocations: 106.2 kB / 0.6811 GB, free: 14.01 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004668/0.0004668, allocations: 11.44 kB / 0.7951 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2322/0.2327, allocations: 106.3 MB / 0.8989 GB, free: 65.92 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.001616/0.2344, allocations: 1.112 MB / 0.9 GB, free: 64.79 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004462/0.2349, allocations: 185.3 kB / 0.9002 GB, free: 64.61 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.6e-05/0.235, allocations: 0 / 0.9002 GB, free: 64.61 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.442e-05/0.235, allocations: 0 / 0.9002 GB, free: 64.61 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001125/0.2352, allocations: 3.984 kB / 0.9002 GB, free: 64.6 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001553/0.2353, allocations: 15.92 kB / 0.9002 GB, free: 64.59 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.089e-05/0.2354, allocations: 27.91 kB / 0.9002 GB, free: 64.56 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.752e-05/0.2355, allocations: 11.94 kB / 0.9002 GB, free: 64.55 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.007e-05/0.2356, allocations: 11.98 kB / 0.9002 GB, free: 64.54 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.498e-05/0.2357, allocations: 15.92 kB / 0.9003 GB, free: 64.52 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.678e-05/0.2357, allocations: 0 / 0.9003 GB, free: 64.52 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.394e-05/0.2357, allocations: 4 kB / 0.9003 GB, free: 64.52 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.437e-05/0.2357, allocations: 3.938 kB / 0.9003 GB, free: 64.51 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.841e-05/0.2358, allocations: 29.7 kB / 0.9003 GB, free: 64.48 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.908e-05/0.2359, allocations: 27.94 kB / 0.9003 GB, free: 64.45 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.325e-06/0.2359, allocations: 0 / 0.9003 GB, free: 64.45 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.843e-06/0.2359, allocations: 4 kB / 0.9003 GB, free: 64.45 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.2359, allocations: 0 / 0.9003 GB, free: 64.45 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.0004726/0.2364, allocations: 351.2 kB / 0.9007 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.2364, allocations: 8.031 kB / 0.9007 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.033e-05/0.2365, allocations: 7.906 kB / 0.9007 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.549e-05/0.2366, allocations: 163 kB / 0.9008 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.697e-05/0.2366, allocations: 4 kB / 0.9008 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.262e-05/0.2366, allocations: 4 kB / 0.9008 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002383/0.2369, allocations: 65.61 kB / 0.9009 GB, free: 63.76 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.2369, allocations: 0 / 0.9009 GB, free: 63.76 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.2369, allocations: 0 / 0.9009 GB, free: 63.76 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.2369, allocations: 0 / 0.9009 GB, free: 63.76 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002734/0.2372, allocations: 51.95 kB / 0.9009 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003997/0.2376, allocations: 268.8 kB / 0.9012 GB, free: 63.4 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001992/0.2378, allocations: 55.41 kB / 0.9013 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/0.2379, allocations: 0 / 0.9013 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002448/0.2381, allocations: 71.47 kB / 0.9013 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 1.884e-06/0.2381, allocations: 0 / 0.9013 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4): time 0.000554/0.2387, allocations: 117.8 kB / 0.9014 GB, free: 63.13 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.654e-05/0.2388, allocations: 63.23 kB / 0.9015 GB, free: 63.06 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.825e-05/0.2388, allocations: 109.8 kB / 0.9016 GB, free: 62.94 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.313e-05/0.2389, allocations: 25.7 kB / 0.9016 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.042e-05/0.2389, allocations: 100.1 kB / 0.9017 GB, free: 62.81 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.05e-05/0.2389, allocations: 11.8 kB / 0.9017 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.16e-06/0.2389, allocations: 0 / 0.9017 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.934e-05/0.239, allocations: 322.8 kB / 0.902 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001612/0.2392, allocations: 19.98 kB / 0.9021 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001525/0.2394, allocations: 46.55 kB / 0.9021 GB, free: 62.4 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001455/0.2395, allocations: 23.98 kB / 0.9021 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.2395, allocations: 0 / 0.9021 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003446/0.2399, allocations: 101.6 kB / 0.9022 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.2399, allocations: 4 kB / 0.9022 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.2399, allocations: 0 / 0.9022 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.857e-05/0.24, allocations: 4 kB / 0.9022 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001285/0.2401, allocations: 20.02 kB / 0.9022 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.2401, allocations: 0 / 0.9022 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.172e-05/0.2402, allocations: 19.88 kB / 0.9023 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.047e-06/0.2402, allocations: 0 / 0.9023 GB, free: 62.22 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 7.588e-05/0.2403, allocations: 113.8 kB / 0.9024 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.488e-05/0.2403, allocations: 7.906 kB / 0.9024 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.111e-05/0.2404, allocations: 3.906 kB / 0.9024 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.2404, allocations: 0 / 0.9024 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.2404, allocations: 4.125 kB / 0.9024 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.042e-06/0.2404, allocations: 7.984 kB / 0.9024 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005414/0.241, allocations: 346.5 kB / 0.9027 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.241, allocations: 0 / 0.9027 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.363e-05/0.2411, allocations: 12 kB / 0.9027 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.2411, allocations: 0 / 0.9027 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.2411, allocations: 3.984 kB / 0.9027 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.2411, allocations: 0 / 0.9027 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.2411, allocations: 3.953 kB / 0.9027 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003546/0.2415, allocations: 187.5 kB / 0.9029 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.632e-05/0.2415, allocations: 81.02 kB / 0.903 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.853e-05/0.2416, allocations: 0 / 0.903 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001262/0.2417, allocations: 11.98 kB / 0.903 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.51e-05/0.2418, allocations: 3.953 kB / 0.903 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.247e-05/0.2418, allocations: 11.92 kB / 0.903 GB, free: 61.33 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.687e-05/0.2418, allocations: 99.45 kB / 0.9031 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.71e-07/0.2419, allocations: 0 / 0.9031 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003015/0.2422, allocations: 4 kB / 0.9031 GB, free: 61.23 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 0.0001134/0.2423, allocations: 101.6 kB / 0.9032 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003441/0.2426, allocations: 59.95 kB / 0.9033 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.2427, allocations: 0 / 0.9033 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001655/0.2428, allocations: 35.91 kB / 0.9033 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002387/0.2431, allocations: 8 kB / 0.9033 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003723/0.2435, allocations: 128.9 kB / 0.9034 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001382/0.2436, allocations: 0.6887 MB / 0.9041 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.609e-05/0.2437, allocations: 4 kB / 0.9041 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.28e-05/0.2437, allocations: 7.438 kB / 0.9041 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of SimCode: time 7.32e-07/0.2437, allocations: 0 / 0.9041 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of Templates: time 0.003012/0.2467, allocations: 481.3 kB / 0.9046 GB, free: 59.68 MB / 0.6042 GB