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.Logical.Sources.Validation.SampleTrigger.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.Logical.Sources.Validation.SampleTrigger,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTrigger",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.01003/0.01003, allocations: 90 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.001133/0.001134, allocations: 174.8 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.009/2.009, allocations: 205.5 MB / 222.2 MB, free: 13.72 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.347/2.347, allocations: 252.8 MB / 0.511 GB, free: 8.316 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004638/0.000464, allocations: 13.34 kB / 0.6244 GB, free: 28.41 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2341/0.2346, allocations: 106.2 MB / 0.7281 GB, free: 10.12 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.00193/0.2366, allocations: 1.112 MB / 0.7292 GB, free: 8.996 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0005059/0.2371, allocations: 185.1 kB / 0.7294 GB, free: 8.812 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.1e-05/0.2372, allocations: 0 / 0.7294 GB, free: 8.812 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 1.805e-05/0.2372, allocations: 7.938 kB / 0.7294 GB, free: 8.805 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 7.097e-05/0.2373, allocations: 7.938 kB / 0.7294 GB, free: 8.797 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001426/0.2374, allocations: 15.92 kB / 0.7294 GB, free: 8.781 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 6.989e-05/0.2375, allocations: 19.97 kB / 0.7294 GB, free: 8.762 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 9.245e-05/0.2376, allocations: 11.98 kB / 0.7294 GB, free: 8.75 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 6.14e-05/0.2377, allocations: 11.92 kB / 0.7294 GB, free: 8.738 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 4.665e-05/0.2377, allocations: 15.92 kB / 0.7294 GB, free: 8.723 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.716e-05/0.2378, allocations: 4 kB / 0.7294 GB, free: 8.719 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 1.166e-05/0.2378, allocations: 0 / 0.7294 GB, free: 8.719 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.302e-05/0.2378, allocations: 4 kB / 0.7294 GB, free: 8.715 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 4.07e-05/0.2379, allocations: 33.7 kB / 0.7295 GB, free: 8.676 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 6.612e-05/0.2379, allocations: 19.95 kB / 0.7295 GB, free: 8.656 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.455e-06/0.238, allocations: 0 / 0.7295 GB, free: 8.656 MB / 0.5573 GB Notification: Performance of FrontEnd: time 3.887e-06/0.238, allocations: 0 / 0.7295 GB, free: 8.656 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 8.045e-06/0.238, allocations: 7.938 kB / 0.7295 GB, free: 8.648 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005456/0.2385, allocations: 347.5 kB / 0.7298 GB, free: 8.262 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.2386, allocations: 16.03 kB / 0.7299 GB, free: 8.246 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.81e-05/0.2387, allocations: 30.56 kB / 0.7299 GB, free: 8.207 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.054e-05/0.2387, allocations: 4 kB / 0.7299 GB, free: 8.203 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001237/0.2388, allocations: 175 kB / 0.7301 GB, free: 7.992 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.2388, allocations: 0 / 0.7301 GB, free: 7.992 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.178e-05/0.2389, allocations: 4 kB / 0.7301 GB, free: 7.988 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002462/0.2391, allocations: 61.66 kB / 0.7301 GB, free: 7.922 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.467e-06/0.2391, allocations: 0 / 0.7301 GB, free: 7.922 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.2392, allocations: 8 kB / 0.7301 GB, free: 7.914 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.2392, allocations: 0 / 0.7301 GB, free: 7.914 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003046/0.2395, allocations: 47.91 kB / 0.7302 GB, free: 7.867 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004586/0.24, allocations: 272.8 kB / 0.7304 GB, free: 7.551 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002185/0.2402, allocations: 46.56 kB / 0.7305 GB, free: 7.496 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.691e-05/0.2402, allocations: 8.094 kB / 0.7305 GB, free: 7.488 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002694/0.2405, allocations: 75.31 kB / 0.7306 GB, free: 7.402 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=4): time 1.794e-06/0.2405, allocations: 3.938 kB / 0.7306 GB, free: 7.398 MB / 0.5573 GB Notification: Performance of matching and sorting (n=4): time 0.0005832/0.2411, allocations: 113.6 kB / 0.7307 GB, free: 7.281 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.678e-05/0.2412, allocations: 63.34 kB / 0.7307 GB, free: 7.207 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.441e-05/0.2413, allocations: 101.9 kB / 0.7308 GB, free: 7.098 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.626e-05/0.2413, allocations: 25.7 kB / 0.7308 GB, free: 7.066 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 5.806e-05/0.2414, allocations: 96.03 kB / 0.7309 GB, free: 6.969 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.65e-05/0.2414, allocations: 7.906 kB / 0.7309 GB, free: 6.961 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.701e-06/0.2415, allocations: 0 / 0.7309 GB, free: 6.961 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001254/0.2416, allocations: 310.8 kB / 0.7312 GB, free: 6.648 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001534/0.2418, allocations: 31.97 kB / 0.7313 GB, free: 6.617 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001714/0.2419, allocations: 46.5 kB / 0.7313 GB, free: 6.562 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001552/0.2421, allocations: 31.92 kB / 0.7313 GB, free: 6.531 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.2421, allocations: 0 / 0.7313 GB, free: 6.531 MB / 0.5573 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003847/0.2425, allocations: 97.66 kB / 0.7314 GB, free: 6.43 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/0.2426, allocations: 7.984 kB / 0.7314 GB, free: 6.422 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/0.2426, allocations: 0 / 0.7314 GB, free: 6.422 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.2426, allocations: 0 / 0.7314 GB, free: 6.422 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000127/0.2427, allocations: 12 kB / 0.7315 GB, free: 6.41 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.678e-06/0.2427, allocations: 3.953 kB / 0.7315 GB, free: 6.406 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.607e-05/0.2429, allocations: 11.98 kB / 0.7315 GB, free: 6.395 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.635e-05/0.2429, allocations: 4.031 kB / 0.7315 GB, free: 6.391 MB / 0.5573 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 0.0001053/0.243, allocations: 113.8 kB / 0.7316 GB, free: 6.27 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.806e-05/0.243, allocations: 3.906 kB / 0.7316 GB, free: 6.266 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.797e-05/0.2431, allocations: 15.89 kB / 0.7316 GB, free: 6.242 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.992e-06/0.2431, allocations: 0 / 0.7316 GB, free: 6.242 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.2431, allocations: 3.938 kB / 0.7316 GB, free: 6.238 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.2431, allocations: 3.953 kB / 0.7316 GB, free: 6.234 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006671/0.2438, allocations: 334.7 kB / 0.7319 GB, free: 5.852 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.552e-06/0.2438, allocations: 4 kB / 0.7319 GB, free: 5.848 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.008e-05/0.2439, allocations: 12.22 kB / 0.7319 GB, free: 5.836 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.995e-06/0.2439, allocations: 4 kB / 0.732 GB, free: 5.832 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.328e-05/0.244, allocations: 4 kB / 0.732 GB, free: 5.828 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.891e-06/0.244, allocations: 3.953 kB / 0.732 GB, free: 5.824 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.244, allocations: 4 kB / 0.732 GB, free: 5.82 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004376/0.2444, allocations: 187.3 kB / 0.7321 GB, free: 5.621 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 5.503e-05/0.2445, allocations: 85.05 kB / 0.7322 GB, free: 5.52 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.382e-05/0.2445, allocations: 11.98 kB / 0.7322 GB, free: 5.508 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001258/0.2447, allocations: 8 kB / 0.7322 GB, free: 5.5 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.142e-05/0.2447, allocations: 7.938 kB / 0.7323 GB, free: 5.492 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.628e-06/0.2448, allocations: 0 / 0.7323 GB, free: 5.492 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 6.399e-05/0.2448, allocations: 87.28 kB / 0.7323 GB, free: 5.406 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.51e-07/0.2448, allocations: 0 / 0.7323 GB, free: 5.406 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0003129/0.2452, allocations: 4 kB / 0.7323 GB, free: 5.402 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: 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.0007712/0.2459, allocations: 0.7318 MB / 0.7331 GB, free: 4.645 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0003782/0.2463, allocations: 63.95 kB / 0.7331 GB, free: 4.582 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.2464, allocations: 0 / 0.7331 GB, free: 4.582 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001796/0.2465, allocations: 40.09 kB / 0.7332 GB, free: 4.543 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002441/0.2468, allocations: 11.89 kB / 0.7332 GB, free: 4.531 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005558/0.2474, allocations: 158.3 kB / 0.7333 GB, free: 4.34 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003047/0.2477, allocations: 0.6809 MB / 0.734 GB, free: 3.633 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 3.807e-05/0.2478, allocations: 4 kB / 0.734 GB, free: 3.629 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.417e-05/0.2478, allocations: 19.42 kB / 0.734 GB, free: 3.609 MB / 0.5573 GB Notification: Performance of SimCode: time 5.91e-07/0.2478, allocations: 0 / 0.734 GB, free: 3.609 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01773/0.2656, allocations: 1.242 MB / 0.7352 GB, free: 2.484 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003523/0.266, allocations: 204.7 kB / 0.7354 GB, free: 2.242 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.265/2.531, allocations: 0 / 0.7354 GB, free: 2.242 MB / 0.5573 GB