Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.conf.json Using package Buildings with version 7.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler,fileNamePrefix="Buildings_7_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.3/package.mo): time 0.01466/0.01467, allocations: 88 kB / 15.04 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.001757/0.001757, allocations: 173.6 kB / 15.92 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo): time 2.155/2.155, allocations: 205.5 MB / 222.2 MB, free: 13.71 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.444/2.444, allocations: 252.8 MB / 0.511 GB, free: 8.336 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006383/0.0006385, allocations: 11.22 kB / 0.6243 GB, free: 28.38 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2331/0.2338, allocations: 106.2 MB / 0.7281 GB, free: 10.13 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler): time 0.002095/0.2359, allocations: 1.171 MB / 0.7292 GB, free: 8.945 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0006425/0.2366, allocations: 236.9 kB / 0.7294 GB, free: 8.711 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.127e-05/0.2367, allocations: 4 kB / 0.7295 GB, free: 8.707 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 2.395e-05/0.2368, allocations: 0 / 0.7295 GB, free: 8.707 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 9.297e-05/0.2369, allocations: 7.922 kB / 0.7295 GB, free: 8.699 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001942/0.2371, allocations: 23.97 kB / 0.7295 GB, free: 8.676 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0001077/0.2372, allocations: 35.95 kB / 0.7295 GB, free: 8.641 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001257/0.2373, allocations: 20.14 kB / 0.7295 GB, free: 8.617 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 7.356e-05/0.2374, allocations: 27.86 kB / 0.7296 GB, free: 8.59 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 6.705e-05/0.2375, allocations: 23.92 kB / 0.7296 GB, free: 8.566 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 2.066e-05/0.2375, allocations: 4 kB / 0.7296 GB, free: 8.562 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 1.617e-05/0.2376, allocations: 0 / 0.7296 GB, free: 8.562 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 3.462e-05/0.2376, allocations: 11.92 kB / 0.7296 GB, free: 8.551 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 4.483e-05/0.2377, allocations: 37.64 kB / 0.7296 GB, free: 8.508 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001/0.2378, allocations: 43.89 kB / 0.7297 GB, free: 8.465 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.2378, allocations: 0 / 0.7297 GB, free: 8.465 MB / 0.5573 GB Notification: Performance of FrontEnd: time 3.767e-06/0.2378, allocations: 7.984 kB / 0.7297 GB, free: 8.457 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.61e-06/0.2378, allocations: 0 / 0.7297 GB, free: 8.457 MB / 0.5573 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.0007765/0.2386, allocations: 379.5 kB / 0.73 GB, free: 8.039 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.063e-05/0.2387, allocations: 12.03 kB / 0.7301 GB, free: 8.027 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.835e-05/0.2387, allocations: 34.55 kB / 0.7301 GB, free: 7.984 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.238e-05/0.2388, allocations: 11.84 kB / 0.7301 GB, free: 7.973 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001589/0.239, allocations: 174.9 kB / 0.7303 GB, free: 7.762 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.64e-05/0.239, allocations: 4 kB / 0.7303 GB, free: 7.758 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.203e-05/0.239, allocations: 11.98 kB / 0.7303 GB, free: 7.746 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002969/0.2393, allocations: 73.66 kB / 0.7304 GB, free: 7.668 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.759e-06/0.2393, allocations: 4 kB / 0.7304 GB, free: 7.664 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/0.2394, allocations: 0 / 0.7304 GB, free: 7.664 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.2394, allocations: 0 / 0.7304 GB, free: 7.664 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003474/0.2397, allocations: 67.89 kB / 0.7304 GB, free: 7.598 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005743/0.2403, allocations: 304.8 kB / 0.7307 GB, free: 7.25 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002722/0.2406, allocations: 70.66 kB / 0.7308 GB, free: 7.172 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.541e-05/0.2407, allocations: 11.88 kB / 0.7308 GB, free: 7.16 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003322/0.241, allocations: 99.31 kB / 0.7309 GB, free: 7.051 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=8): time 2.064e-06/0.241, allocations: 0 / 0.7309 GB, free: 7.051 MB / 0.5573 GB Notification: Performance of matching and sorting (n=8): time 0.0006915/0.2417, allocations: 153.6 kB / 0.731 GB, free: 6.895 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.771e-05/0.2418, allocations: 59.41 kB / 0.7311 GB, free: 6.824 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00012/0.2419, allocations: 118 kB / 0.7312 GB, free: 6.699 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.556e-05/0.242, allocations: 29.7 kB / 0.7312 GB, free: 6.664 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 6.836e-05/0.242, allocations: 96.03 kB / 0.7313 GB, free: 6.566 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 3.499e-05/0.2421, allocations: 19.8 kB / 0.7313 GB, free: 6.547 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.234e-06/0.2421, allocations: 0 / 0.7313 GB, free: 6.547 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001453/0.2423, allocations: 318.8 kB / 0.7316 GB, free: 6.227 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001797/0.2424, allocations: 31.98 kB / 0.7317 GB, free: 6.195 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002309/0.2427, allocations: 68.2 kB / 0.7317 GB, free: 6.113 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001964/0.2429, allocations: 43.97 kB / 0.7318 GB, free: 6.07 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.2429, allocations: 0 / 0.7318 GB, free: 6.07 MB / 0.5573 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004863/0.2434, allocations: 141.5 kB / 0.7319 GB, free: 5.926 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.296e-05/0.2434, allocations: 8 kB / 0.7319 GB, free: 5.918 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.2435, allocations: 0 / 0.7319 GB, free: 5.918 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.2435, allocations: 3.953 kB / 0.7319 GB, free: 5.914 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001829/0.2437, allocations: 23.98 kB / 0.732 GB, free: 5.891 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/0.2437, allocations: 3.938 kB / 0.732 GB, free: 5.887 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001661/0.2439, allocations: 27.86 kB / 0.732 GB, free: 5.859 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.692e-05/0.2439, allocations: 4 kB / 0.732 GB, free: 5.855 MB / 0.5573 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.0001225/0.244, allocations: 124.3 kB / 0.7321 GB, free: 5.727 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.71e-05/0.2441, allocations: 0 / 0.7321 GB, free: 5.727 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005687/0.2446, allocations: 130 kB / 0.7322 GB, free: 5.594 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.2447, allocations: 7.938 kB / 0.7322 GB, free: 5.586 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.016e-06/0.2447, allocations: 3.953 kB / 0.7322 GB, free: 5.582 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.2447, allocations: 0 / 0.7322 GB, free: 5.582 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008343/0.2455, allocations: 402.4 kB / 0.7326 GB, free: 5.133 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.2456, allocations: 0 / 0.7326 GB, free: 5.133 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001143/0.2457, allocations: 19.98 kB / 0.7326 GB, free: 5.113 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.489e-06/0.2457, allocations: 384 / 0.7326 GB, free: 5.113 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.671e-05/0.2457, allocations: 3.953 kB / 0.7326 GB, free: 5.109 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.149e-06/0.2457, allocations: 0 / 0.7326 GB, free: 5.109 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.2457, allocations: 3.938 kB / 0.7327 GB, free: 5.105 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005035/0.2463, allocations: 223.8 kB / 0.7329 GB, free: 4.871 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 6.074e-05/0.2463, allocations: 81.11 kB / 0.7329 GB, free: 4.773 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.354e-05/0.2464, allocations: 0 / 0.7329 GB, free: 4.773 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002322/0.2466, allocations: 23.94 kB / 0.733 GB, free: 4.75 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.157e-05/0.2467, allocations: 7.984 kB / 0.733 GB, free: 4.742 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.283e-05/0.2467, allocations: 3.984 kB / 0.733 GB, free: 4.738 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 7.176e-05/0.2468, allocations: 91.28 kB / 0.7331 GB, free: 4.648 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.61e-07/0.2468, allocations: 0 / 0.7331 GB, free: 4.648 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0003503/0.2472, allocations: 19.84 kB / 0.7331 GB, free: 4.629 MB / 0.5573 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.000892/0.2481, allocations: 0.7632 MB / 0.7338 GB, free: 3.84 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.000466/0.2486, allocations: 87.89 kB / 0.7339 GB, free: 3.754 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.2486, allocations: 0 / 0.7339 GB, free: 3.754 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002146/0.2488, allocations: 44.22 kB / 0.734 GB, free: 3.711 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003077/0.2491, allocations: 19.94 kB / 0.734 GB, free: 3.691 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001887/0.251, allocations: 1.188 MB / 0.7351 GB, free: 2.441 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003403/0.2514, allocations: 0.6926 MB / 0.7358 GB, free: 1.723 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 6.447e-05/0.2515, allocations: 11.95 kB / 0.7358 GB, free: 1.711 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.525e-05/0.2516, allocations: 23.42 kB / 0.7358 GB, free: 1.688 MB / 0.5573 GB Notification: Performance of SimCode: time 1.423e-06/0.2516, allocations: 3.938 kB / 0.7358 GB, free: 1.684 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01962/0.2712, allocations: 1.679 MB / 0.7375 GB, free: 116 kB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002832/0.2716, allocations: 193.6 kB / 0.7377 GB, free: 15.88 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.493/2.765, allocations: 4 kB / 0.7377 GB, free: 15.87 MB / 0.573 GB