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.Logical.Sources.Validation.SampleTrigger.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTrigger",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.922/3.922, allocations: 432.6 MB / 445.2 MB, free: 15.8 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.961e-05/3.98e-05, allocations: 8.812 kB / 0.5383 GB, free: 10.26 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2509/0.2509, allocations: 98.72 MB / 0.6347 GB, free: 1.852 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2241/0.4751, allocations: 124.4 MB / 0.7562 GB, free: 5.289 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002836/0.4754, allocations: 71.95 kB / 0.7563 GB, free: 5.219 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002669/0.4781, allocations: 0.7395 MB / 0.757 GB, free: 4.473 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.472e-06/0.4782, allocations: 0 / 0.757 GB, free: 4.473 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.682e-06/0.4782, allocations: 0 / 0.757 GB, free: 4.473 MB / 0.6355 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.0004882/0.4787, allocations: 342.5 kB / 0.7573 GB, free: 4.094 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.102e-05/0.4788, allocations: 8.031 kB / 0.7573 GB, free: 4.086 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.237e-05/0.4788, allocations: 46.53 kB / 0.7574 GB, free: 4.031 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.412e-05/0.4789, allocations: 3.906 kB / 0.7574 GB, free: 4.027 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001638/0.479, allocations: 171 kB / 0.7576 GB, free: 3.82 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.345e-05/0.4791, allocations: 0 / 0.7576 GB, free: 3.82 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.619e-05/0.4791, allocations: 4 kB / 0.7576 GB, free: 3.816 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001414/0.4792, allocations: 49.62 kB / 0.7576 GB, free: 3.762 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.4793, allocations: 0 / 0.7576 GB, free: 3.762 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.4793, allocations: 0 / 0.7576 GB, free: 3.762 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.4793, allocations: 4 kB / 0.7576 GB, free: 3.758 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.06e-05/0.4794, allocations: 12 kB / 0.7576 GB, free: 3.746 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004815/0.4799, allocations: 264.9 kB / 0.7579 GB, free: 3.438 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001005/0.48, allocations: 34.52 kB / 0.7579 GB, free: 3.395 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.351e-05/0.48, allocations: 12.86 kB / 0.7579 GB, free: 3.379 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.41e-05/0.4801, allocations: 0 / 0.7579 GB, free: 3.379 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001239/0.4802, allocations: 63.44 kB / 0.758 GB, free: 3.305 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.884e-06/0.4802, allocations: 0 / 0.758 GB, free: 3.305 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0001954/0.4804, allocations: 61.55 kB / 0.758 GB, free: 3.238 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.015e-05/0.4805, allocations: 59.34 kB / 0.7581 GB, free: 3.168 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.182e-05/0.4806, allocations: 97 kB / 0.7582 GB, free: 3.066 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.722e-05/0.4806, allocations: 25.7 kB / 0.7582 GB, free: 3.035 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.6e-05/0.4807, allocations: 88.12 kB / 0.7583 GB, free: 2.945 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.164e-05/0.4807, allocations: 19.78 kB / 0.7583 GB, free: 2.926 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.17e-06/0.4807, allocations: 0 / 0.7583 GB, free: 2.926 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001156/0.4809, allocations: 314.8 kB / 0.7586 GB, free: 2.609 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.347e-05/0.4809, allocations: 4 kB / 0.7586 GB, free: 2.605 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.882e-05/0.481, allocations: 30.56 kB / 0.7586 GB, free: 2.566 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.398e-05/0.481, allocations: 12 kB / 0.7587 GB, free: 2.555 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.481, allocations: 4 kB / 0.7587 GB, free: 2.551 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001454/0.4812, allocations: 65.53 kB / 0.7587 GB, free: 2.48 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.4812, allocations: 4.781 kB / 0.7587 GB, free: 2.477 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.4812, allocations: 0 / 0.7587 GB, free: 2.477 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.4813, allocations: 4 kB / 0.7587 GB, free: 2.473 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001421/0.4814, allocations: 11.98 kB / 0.7587 GB, free: 2.461 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.091e-05/0.4814, allocations: 8.203 kB / 0.7588 GB, free: 2.453 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.951e-05/0.4815, allocations: 12.09 kB / 0.7588 GB, free: 2.441 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.223e-05/0.4816, allocations: 4 kB / 0.7588 GB, free: 2.438 MB / 0.6355 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 () * 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.724e-05/0.4817, allocations: 105 kB / 0.7589 GB, free: 2.328 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.641e-05/0.4817, allocations: 4 kB / 0.7589 GB, free: 2.324 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.221e-05/0.4817, allocations: 8.016 kB / 0.7589 GB, free: 2.316 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.227e-06/0.4817, allocations: 0 / 0.7589 GB, free: 2.316 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.4817, allocations: 128 / 0.7589 GB, free: 2.316 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.835e-06/0.4818, allocations: 3.953 kB / 0.7589 GB, free: 2.312 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003847/0.4822, allocations: 322.6 kB / 0.7592 GB, free: 1.941 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.4822, allocations: 0 / 0.7592 GB, free: 1.941 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.683e-05/0.4823, allocations: 8 kB / 0.7592 GB, free: 1.934 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.4823, allocations: 0 / 0.7592 GB, free: 1.934 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.514e-05/0.4823, allocations: 7.984 kB / 0.7592 GB, free: 1.926 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.584e-06/0.4823, allocations: 7.938 kB / 0.7592 GB, free: 1.918 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.4823, allocations: 4 kB / 0.7592 GB, free: 1.914 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000175/0.4825, allocations: 157.4 kB / 0.7594 GB, free: 1.746 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.167e-05/0.4826, allocations: 77.11 kB / 0.7594 GB, free: 1.652 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.682e-05/0.4826, allocations: 0 / 0.7594 GB, free: 1.652 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001343/0.4828, allocations: 15.92 kB / 0.7595 GB, free: 1.637 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.399e-05/0.4828, allocations: 3.953 kB / 0.7595 GB, free: 1.633 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.322e-05/0.4828, allocations: 8 kB / 0.7595 GB, free: 1.625 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.567e-05/0.4829, allocations: 87.2 kB / 0.7595 GB, free: 1.539 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.154e-06/0.4829, allocations: 0 / 0.7595 GB, free: 1.539 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002942/0.4832, allocations: 15.94 kB / 0.7596 GB, free: 1.523 MB / 0.6355 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 () * 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.0004779/0.4837, allocations: 0.6851 MB / 0.7602 GB, free: 0.8086 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000138/0.4839, allocations: 31.92 kB / 0.7603 GB, free: 0.7773 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.4839, allocations: 192 / 0.7603 GB, free: 0.7773 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.903e-05/0.4839, allocations: 20 kB / 0.7603 GB, free: 0.7578 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002382/0.4842, allocations: 7.953 kB / 0.7603 GB, free: 0.75 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000432/0.4846, allocations: 102.6 kB / 0.7604 GB, free: 0.6133 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002775/0.4849, allocations: 0.6809 MB / 0.7611 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.524e-05/0.485, allocations: 4.25 kB / 0.7611 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.382e-05/0.4851, allocations: 15.42 kB / 0.7611 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of SimCode: time 9.72e-07/0.4851, allocations: 8 kB / 0.7611 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01959/0.5047, allocations: 1.249 MB / 0.7623 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002905/0.505, allocations: 168.6 kB / 0.7625 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.331/2.836, allocations: 4 kB / 0.7625 GB, free: 14.49 MB / 0.6511 GB