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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Discrete_Examples_TriggeredSampler",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.0134/0.01341, allocations: 107.5 kB / 15.06 MB, free: 5.555 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.001305/0.001305, allocations: 181.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.955/1.955, allocations: 194.6 MB / 211.3 MB, free: 11.04 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.577/2.577, allocations: 236.2 MB / 492.6 MB, free: 11.32 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004807/0.0004807, allocations: 12 kB / 0.587 GB, free: 2.059 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7656/0.7661, allocations: 98.72 MB / 0.6834 GB, free: 16.62 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler): time 0.001893/0.7681, allocations: 1.162 MB / 0.6846 GB, free: 15.76 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0005839/0.7687, allocations: 215.7 kB / 0.6848 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.86e-05/0.7688, allocations: 7.938 kB / 0.6848 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 2.059e-05/0.7688, allocations: 1.688 kB / 0.6848 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 9.61e-05/0.7689, allocations: 15.05 kB / 0.6848 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001781/0.7691, allocations: 17.23 kB / 0.6848 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 9.423e-05/0.7692, allocations: 38.83 kB / 0.6849 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001164/0.7693, allocations: 15.2 kB / 0.6849 GB, free: 15.56 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 7.82e-05/0.7694, allocations: 26.73 kB / 0.6849 GB, free: 15.54 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 5.902e-05/0.7695, allocations: 24.89 kB / 0.6849 GB, free: 15.53 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 2.292e-05/0.7695, allocations: 2.625 kB / 0.6849 GB, free: 15.53 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 1.687e-05/0.7696, allocations: 2.344 kB / 0.6849 GB, free: 15.53 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 2.626e-05/0.7696, allocations: 13.2 kB / 0.6849 GB, free: 15.52 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 4.215e-05/0.7696, allocations: 35.09 kB / 0.685 GB, free: 15.49 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0001118/0.7698, allocations: 39.22 kB / 0.685 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.374e-06/0.7698, allocations: 0 / 0.685 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.813e-06/0.7698, allocations: 0 / 0.685 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.209e-06/0.7698, allocations: 0 / 0.685 GB, free: 15.48 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.0006574/0.7705, allocations: 379.4 kB / 0.6854 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.671e-05/0.7705, allocations: 9.344 kB / 0.6854 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.538e-05/0.7706, allocations: 37.98 kB / 0.6854 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.654e-05/0.7706, allocations: 12.22 kB / 0.6854 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001272/0.7708, allocations: 180.8 kB / 0.6856 GB, free: 14.86 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.934e-05/0.7708, allocations: 10.28 kB / 0.6856 GB, free: 14.85 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.462e-05/0.7708, allocations: 9.969 kB / 0.6856 GB, free: 14.84 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003083/0.7711, allocations: 77.38 kB / 0.6857 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.7712, allocations: 0 / 0.6857 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.572e-05/0.7712, allocations: 0.6562 kB / 0.6857 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-06/0.7712, allocations: 1.562 kB / 0.6857 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003578/0.7716, allocations: 65.58 kB / 0.6858 GB, free: 14.79 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005881/0.7722, allocations: 304.2 kB / 0.6861 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003516/0.7726, allocations: 76.2 kB / 0.6861 GB, free: 14.45 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 4.044e-05/0.7726, allocations: 1.531 kB / 0.6861 GB, free: 14.45 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004902/0.7731, allocations: 90.78 kB / 0.6862 GB, free: 14.39 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=8): time 4.047e-06/0.7732, allocations: 5.438 kB / 0.6862 GB, free: 14.39 MB / 0.5261 GB Notification: Performance of matching and sorting (n=8): time 0.001075/0.7742, allocations: 152.6 kB / 0.6864 GB, free: 14.33 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.888e-05/0.7743, allocations: 62.94 kB / 0.6864 GB, free: 14.26 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001548/0.7745, allocations: 123.6 kB / 0.6865 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.75e-05/0.7746, allocations: 27.08 kB / 0.6866 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 6.692e-05/0.7746, allocations: 92.05 kB / 0.6867 GB, free: 14.02 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 5.008e-05/0.7747, allocations: 21.25 kB / 0.6867 GB, free: 14.01 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.589e-05/0.7747, allocations: 4.109 kB / 0.6867 GB, free: 14 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.637e-05/0.7749, allocations: 319.7 kB / 0.687 GB, free: 13.69 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002798/0.7751, allocations: 38.78 kB / 0.687 GB, free: 13.68 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000318/0.7755, allocations: 64.28 kB / 0.6871 GB, free: 13.63 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002995/0.7758, allocations: 38.53 kB / 0.6871 GB, free: 13.62 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/0.7758, allocations: 1.922 kB / 0.6871 GB, free: 13.62 MB / 0.5261 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0007801/0.7766, allocations: 128 kB / 0.6872 GB, free: 13.56 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.386e-05/0.7767, allocations: 6.203 kB / 0.6873 GB, free: 13.56 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.163e-05/0.7767, allocations: 2.219 kB / 0.6873 GB, free: 13.56 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.612e-05/0.7768, allocations: 5.422 kB / 0.6873 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002623/0.777, allocations: 17.73 kB / 0.6873 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.742e-05/0.7771, allocations: 6.094 kB / 0.6873 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002682/0.7774, allocations: 28.64 kB / 0.6873 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.161e-05/0.7774, allocations: 3.609 kB / 0.6873 GB, free: 13.54 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 0.0001577/0.7776, allocations: 124.3 kB / 0.6874 GB, free: 13.41 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.472e-05/0.7776, allocations: 4.297 kB / 0.6874 GB, free: 13.41 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007331/0.7784, allocations: 133.5 kB / 0.6876 GB, free: 13.35 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/0.7784, allocations: 5.156 kB / 0.6876 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.007e-06/0.7784, allocations: 4.891 kB / 0.6876 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.7785, allocations: 0 / 0.6876 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001157/0.7796, allocations: 401.9 kB / 0.688 GB, free: 13 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.753e-06/0.7797, allocations: 2.031 kB / 0.688 GB, free: 13 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001679/0.7798, allocations: 11.98 kB / 0.688 GB, free: 13 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.175e-06/0.7799, allocations: 0 / 0.688 GB, free: 13 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.312e-05/0.7799, allocations: 5.891 kB / 0.688 GB, free: 13 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.644e-06/0.7799, allocations: 1.25 kB / 0.688 GB, free: 13 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/0.78, allocations: 7.875 kB / 0.688 GB, free: 12.99 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007602/0.7807, allocations: 231.4 kB / 0.6882 GB, free: 12.82 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 5.092e-05/0.7808, allocations: 80.5 kB / 0.6883 GB, free: 12.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.481e-05/0.7809, allocations: 2.125 kB / 0.6883 GB, free: 12.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002958/0.7812, allocations: 27.69 kB / 0.6883 GB, free: 12.72 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.611e-05/0.7813, allocations: 10.03 kB / 0.6883 GB, free: 12.71 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.877e-05/0.7813, allocations: 3.703 kB / 0.6883 GB, free: 12.71 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 8.156e-05/0.7814, allocations: 89.47 kB / 0.6884 GB, free: 12.64 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6.31e-07/0.7814, allocations: 0 / 0.6884 GB, free: 12.64 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0005823/0.782, allocations: 21 kB / 0.6884 GB, free: 12.63 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 0.001101/0.7831, allocations: 0.7494 MB / 0.6892 GB, free: 11.95 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0006938/0.7839, allocations: 88.44 kB / 0.6892 GB, free: 11.93 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.584e-06/0.784, allocations: 0 / 0.6892 GB, free: 11.93 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003426/0.7843, allocations: 51.39 kB / 0.6893 GB, free: 11.91 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004774/0.7848, allocations: 17.88 kB / 0.6893 GB, free: 11.91 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002687/0.7875, allocations: 1.189 MB / 0.6905 GB, free: 10.86 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002106/0.7878, allocations: 0.6919 MB / 0.6911 GB, free: 10.17 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 8.685e-05/0.7879, allocations: 8.5 kB / 0.6912 GB, free: 10.16 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.068e-05/0.788, allocations: 20.67 kB / 0.6912 GB, free: 10.15 MB / 0.5261 GB Notification: Performance of SimCode: time 1.243e-06/0.788, allocations: 3.938 kB / 0.6912 GB, free: 10.14 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.024/0.812, allocations: 1.687 MB / 0.6928 GB, free: 9.926 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003019/0.8124, allocations: 196.5 kB / 0.693 GB, free: 9.688 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.583/3.395, allocations: 3.938 kB / 0.693 GB, free: 9.684 MB / 0.5261 GB