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.Discrete.Examples.TriggeredSampler.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.Discrete.Examples.TriggeredSampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01546/0.01546, allocations: 108.7 kB / 15.06 MB, free: 5.559 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.001819/0.001818, allocations: 180.8 kB / 15.95 MB, free: 5.52 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 1.852/1.852, allocations: 194.5 MB / 211.3 MB, free: 11.31 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.466/2.466, allocations: 236.1 MB / 492.6 MB, free: 11.37 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004702/0.0004704, allocations: 12 kB / 0.587 GB, free: 2.172 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6512/0.6517, allocations: 98.71 MB / 0.6833 GB, free: 16.77 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler): time 0.001413/0.6532, allocations: 1.163 MB / 0.6845 GB, free: 15.9 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0004773/0.6537, allocations: 218.4 kB / 0.6847 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.147e-05/0.6537, allocations: 5.125 kB / 0.6847 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 2.046e-05/0.6538, allocations: 1.312 kB / 0.6847 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 7.346e-05/0.6539, allocations: 14.38 kB / 0.6847 GB, free: 15.74 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001449/0.654, allocations: 18.34 kB / 0.6847 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 8.28e-05/0.6541, allocations: 38.69 kB / 0.6848 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 9.567e-05/0.6542, allocations: 18.84 kB / 0.6848 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 6.821e-05/0.6543, allocations: 27.98 kB / 0.6848 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 6.538e-05/0.6544, allocations: 19.8 kB / 0.6848 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.968e-05/0.6544, allocations: 2.969 kB / 0.6848 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 1.539e-05/0.6544, allocations: 2.531 kB / 0.6848 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 2.135e-05/0.6545, allocations: 12.83 kB / 0.6848 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 3.257e-05/0.6545, allocations: 34.86 kB / 0.6849 GB, free: 15.63 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 8.879e-05/0.6546, allocations: 39.27 kB / 0.6849 GB, free: 15.63 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.841e-06/0.6546, allocations: 0 / 0.6849 GB, free: 15.63 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.641e-06/0.6546, allocations: 0.9844 kB / 0.6849 GB, free: 15.63 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.6546, allocations: 4 kB / 0.6849 GB, free: 15.62 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.000514/0.6552, allocations: 375 kB / 0.6853 GB, free: 15.26 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.6552, allocations: 9.625 kB / 0.6853 GB, free: 15.26 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.154e-05/0.6553, allocations: 7.328 kB / 0.6853 GB, free: 15.26 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.745e-05/0.6554, allocations: 192.7 kB / 0.6855 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.743e-05/0.6554, allocations: 6.562 kB / 0.6855 GB, free: 15.03 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.989e-05/0.6554, allocations: 5.25 kB / 0.6855 GB, free: 15.03 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002291/0.6557, allocations: 77.95 kB / 0.6856 GB, free: 14.99 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.6557, allocations: 0 / 0.6856 GB, free: 14.99 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/0.6557, allocations: 0 / 0.6856 GB, free: 14.99 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.449e-06/0.6557, allocations: 2.078 kB / 0.6856 GB, free: 14.99 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002562/0.656, allocations: 65.92 kB / 0.6856 GB, free: 14.97 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004786/0.6565, allocations: 307.5 kB / 0.6859 GB, free: 14.68 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002159/0.6567, allocations: 68.47 kB / 0.686 GB, free: 14.64 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.854e-05/0.6568, allocations: 5.344 kB / 0.686 GB, free: 14.64 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002638/0.657, allocations: 98.77 kB / 0.6861 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=8): time 2.87e-06/0.6571, allocations: 1.719 kB / 0.6861 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of matching and sorting (n=8): time 0.0005223/0.6576, allocations: 164.6 kB / 0.6862 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.06e-05/0.6576, allocations: 54.7 kB / 0.6863 GB, free: 14.44 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.593e-05/0.6577, allocations: 119 kB / 0.6864 GB, free: 14.33 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.468e-05/0.6578, allocations: 28.02 kB / 0.6864 GB, free: 14.3 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.164e-05/0.6578, allocations: 96.45 kB / 0.6865 GB, free: 14.2 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.829e-05/0.6579, allocations: 20.78 kB / 0.6866 GB, free: 14.19 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8e-06/0.6579, allocations: 1.172 kB / 0.6866 GB, free: 14.19 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.517e-05/0.6579, allocations: 322.7 kB / 0.6869 GB, free: 13.87 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001361/0.6581, allocations: 37.84 kB / 0.6869 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001508/0.6582, allocations: 64.25 kB / 0.687 GB, free: 13.81 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001575/0.6584, allocations: 40.09 kB / 0.687 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.468e-06/0.6584, allocations: 0 / 0.687 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000376/0.6588, allocations: 129.7 kB / 0.6871 GB, free: 13.74 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/0.6589, allocations: 6.031 kB / 0.6871 GB, free: 13.74 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.197e-06/0.6589, allocations: 1.312 kB / 0.6871 GB, free: 13.74 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.6589, allocations: 2.219 kB / 0.6871 GB, free: 13.74 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001386/0.659, allocations: 26.59 kB / 0.6872 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.217e-06/0.6591, allocations: 1.906 kB / 0.6872 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001299/0.6592, allocations: 28.08 kB / 0.6872 GB, free: 13.72 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.401e-05/0.6592, allocations: 4.094 kB / 0.6872 GB, free: 13.72 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.triSam1.y,triSam1.y,$PRE.triSam.y,triSam.y,$whenCondition1,$whenCondition2,booPul.y,$PRE.booPul.pulseStart,booPul.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.442e-05/0.6593, allocations: 125.2 kB / 0.6873 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.898e-05/0.6594, allocations: 2.891 kB / 0.6873 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003871/0.6597, allocations: 141.3 kB / 0.6874 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.494e-06/0.6598, allocations: 1.281 kB / 0.6874 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.767e-06/0.6598, allocations: 3.953 kB / 0.6874 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.905e-06/0.6598, allocations: 0.7969 kB / 0.6875 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006146/0.6604, allocations: 395.5 kB / 0.6878 GB, free: 13.19 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.559e-06/0.6604, allocations: 0 / 0.6878 GB, free: 13.19 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.745e-05/0.6605, allocations: 12.58 kB / 0.6878 GB, free: 13.19 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.55e-06/0.6606, allocations: 2.438 kB / 0.6878 GB, free: 13.19 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.287e-05/0.6606, allocations: 7.953 kB / 0.6878 GB, free: 13.18 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.073e-06/0.6606, allocations: 5.688 kB / 0.6879 GB, free: 13.18 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.905e-06/0.6606, allocations: 0 / 0.6879 GB, free: 13.18 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003627/0.661, allocations: 226.6 kB / 0.6881 GB, free: 13.01 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 2.806e-05/0.661, allocations: 85.77 kB / 0.6882 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.219e-05/0.6611, allocations: 4.75 kB / 0.6882 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001552/0.6612, allocations: 19.88 kB / 0.6882 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.677e-05/0.6613, allocations: 10.19 kB / 0.6882 GB, free: 12.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.233e-05/0.6613, allocations: 3.391 kB / 0.6882 GB, free: 12.9 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 5.207e-05/0.6614, allocations: 93.8 kB / 0.6883 GB, free: 12.82 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7.02e-07/0.6614, allocations: 0 / 0.6883 GB, free: 12.82 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.000346/0.6617, allocations: 20.55 kB / 0.6883 GB, free: 12.81 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (booPul.y,$whenCondition2,$whenCondition1,booPul.pulseStart,triSam.y,triSam1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.865e-05/0.6618, allocations: 100.9 kB / 0.6884 GB, free: 12.73 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0003532/0.6622, allocations: 88.59 kB / 0.6885 GB, free: 12.71 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.824e-06/0.6622, allocations: 4.062 kB / 0.6885 GB, free: 12.7 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001799/0.6624, allocations: 42.89 kB / 0.6885 GB, free: 12.7 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000253/0.6627, allocations: 11.95 kB / 0.6885 GB, free: 12.69 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004195/0.6631, allocations: 188.5 kB / 0.6887 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001371/0.6633, allocations: 0.6959 MB / 0.6894 GB, free: 11.84 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 4.434e-05/0.6633, allocations: 5.359 kB / 0.6894 GB, free: 11.84 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.444e-05/0.6634, allocations: 10.09 kB / 0.6894 GB, free: 11.84 MB / 0.5261 GB Notification: Performance of SimCode: time 1.701e-06/0.6634, allocations: 1.406 kB / 0.6894 GB, free: 11.84 MB / 0.5261 GB Notification: Performance of Templates: time 0.003625/0.667, allocations: 0.7781 MB / 0.6902 GB, free: 11.74 MB / 0.5261 GB