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.01086/0.01086, allocations: 107.7 kB / 15.05 MB, free: 5.984 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.001169/0.001169, allocations: 183.5 kB / 15.94 MB, free: 5.941 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.971/1.971, allocations: 194.6 MB / 211.3 MB, free: 11.08 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.259/2.259, allocations: 236.1 MB / 492.6 MB, free: 11.35 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004993/0.0004992, allocations: 16 kB / 0.587 GB, free: 2.059 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6606/0.6612, allocations: 98.71 MB / 0.6834 GB, free: 16.65 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2284/0.8896, allocations: 124.8 MB / 0.8053 GB, free: 1.379 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002749/0.89, allocations: 75.94 kB / 0.8054 GB, free: 1.305 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.004631/0.8946, allocations: 1.12 MB / 0.8065 GB, free: 184 kB / 0.6198 GB Notification: Performance of FrontEnd: time 2.104e-06/0.8947, allocations: 0 / 0.8065 GB, free: 184 kB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.454e-06/0.8947, allocations: 4 kB / 0.8065 GB, free: 180 kB / 0.6198 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.0007312/0.8954, allocations: 391.1 kB / 0.8069 GB, free: 15.75 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.044e-05/0.8955, allocations: 8.031 kB / 0.8069 GB, free: 15.74 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.942e-05/0.8956, allocations: 38.56 kB / 0.8069 GB, free: 15.69 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.154e-05/0.8956, allocations: 11.89 kB / 0.8069 GB, free: 15.68 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000168/0.8958, allocations: 170.9 kB / 0.8071 GB, free: 15.47 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.856e-05/0.8958, allocations: 0 / 0.8071 GB, free: 15.47 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.72e-05/0.8959, allocations: 11.94 kB / 0.8071 GB, free: 15.46 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003144/0.8962, allocations: 81.59 kB / 0.8072 GB, free: 15.38 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.8962, allocations: 0 / 0.8072 GB, free: 15.38 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.575e-05/0.8962, allocations: 4 kB / 0.8072 GB, free: 15.37 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.8963, allocations: 4 kB / 0.8072 GB, free: 15.37 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003476/0.8966, allocations: 63.94 kB / 0.8072 GB, free: 15.3 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006278/0.8973, allocations: 304.7 kB / 0.8075 GB, free: 14.96 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002782/0.8976, allocations: 74.55 kB / 0.8076 GB, free: 14.88 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.993e-05/0.8976, allocations: 0 / 0.8076 GB, free: 14.88 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003373/0.898, allocations: 91.41 kB / 0.8077 GB, free: 14.77 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=8): time 2.224e-06/0.898, allocations: 0 / 0.8077 GB, free: 14.77 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8): time 0.0007135/0.8987, allocations: 161.5 kB / 0.8078 GB, free: 14.61 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.715e-05/0.8988, allocations: 55.39 kB / 0.8079 GB, free: 14.54 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001209/0.8989, allocations: 117 kB / 0.808 GB, free: 14.42 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.442e-05/0.899, allocations: 33.7 kB / 0.808 GB, free: 14.38 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.611e-05/0.899, allocations: 88.14 kB / 0.8081 GB, free: 14.29 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.664e-05/0.8991, allocations: 19.8 kB / 0.8081 GB, free: 14.27 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.235e-06/0.8991, allocations: 0 / 0.8081 GB, free: 14.27 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001305/0.8993, allocations: 314.8 kB / 0.8084 GB, free: 13.95 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001817/0.8994, allocations: 31.97 kB / 0.8085 GB, free: 13.92 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002131/0.8997, allocations: 72.31 kB / 0.8085 GB, free: 13.84 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001989/0.8999, allocations: 43.92 kB / 0.8086 GB, free: 13.79 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.8999, allocations: 0 / 0.8086 GB, free: 13.79 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004923/0.9004, allocations: 125.5 kB / 0.8087 GB, free: 13.66 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.703e-05/0.9004, allocations: 12.12 kB / 0.8087 GB, free: 13.65 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.9005, allocations: 0 / 0.8087 GB, free: 13.65 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.934e-05/0.9005, allocations: 4.031 kB / 0.8087 GB, free: 13.65 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001979/0.9007, allocations: 31.88 kB / 0.8087 GB, free: 13.62 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.9007, allocations: 0 / 0.8087 GB, free: 13.62 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000175/0.9009, allocations: 23.83 kB / 0.8088 GB, free: 13.59 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.537e-05/0.9009, allocations: 4 kB / 0.8088 GB, free: 13.59 MB / 0.6355 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.0001283/0.9011, allocations: 125.8 kB / 0.8089 GB, free: 13.46 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.23e-05/0.9011, allocations: 4 kB / 0.8089 GB, free: 13.45 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005372/0.9016, allocations: 138.2 kB / 0.809 GB, free: 13.31 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.9017, allocations: 4 kB / 0.809 GB, free: 13.3 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.9017, allocations: 3.953 kB / 0.809 GB, free: 13.3 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.9017, allocations: 0 / 0.809 GB, free: 13.3 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008386/0.9025, allocations: 402.4 kB / 0.8094 GB, free: 12.85 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.111e-05/0.9026, allocations: 4 kB / 0.8094 GB, free: 12.85 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001214/0.9027, allocations: 15.98 kB / 0.8094 GB, free: 12.83 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.9027, allocations: 0 / 0.8094 GB, free: 12.83 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.681e-05/0.9027, allocations: 7.953 kB / 0.8094 GB, free: 12.82 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.9028, allocations: 0 / 0.8094 GB, free: 12.82 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.9028, allocations: 0 / 0.8094 GB, free: 12.82 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005003/0.9033, allocations: 215.4 kB / 0.8096 GB, free: 12.6 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.318e-05/0.9034, allocations: 89.09 kB / 0.8097 GB, free: 12.49 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.202e-05/0.9034, allocations: 3.938 kB / 0.8097 GB, free: 12.49 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000193/0.9036, allocations: 26.42 kB / 0.8098 GB, free: 12.46 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.692e-05/0.9037, allocations: 7.984 kB / 0.8098 GB, free: 12.46 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.257e-06/0.9037, allocations: 0 / 0.8098 GB, free: 12.46 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 8.014e-05/0.9038, allocations: 99.58 kB / 0.8099 GB, free: 12.36 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.31e-07/0.9038, allocations: 0 / 0.8099 GB, free: 12.36 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003088/0.9041, allocations: 12 kB / 0.8099 GB, free: 12.35 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: 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.0008388/0.9049, allocations: 0.7592 MB / 0.8106 GB, free: 11.56 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004564/0.9054, allocations: 91.88 kB / 0.8107 GB, free: 11.47 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/0.9054, allocations: 0 / 0.8107 GB, free: 11.47 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002242/0.9057, allocations: 39.92 kB / 0.8107 GB, free: 11.43 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002934/0.906, allocations: 29.59 kB / 0.8108 GB, free: 11.4 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001876/0.9079, allocations: 1.192 MB / 0.8119 GB, free: 10.15 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003027/0.9082, allocations: 0.6887 MB / 0.8126 GB, free: 9.438 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 6.249e-05/0.9083, allocations: 7.984 kB / 0.8126 GB, free: 9.43 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.06e-05/0.9084, allocations: 19.44 kB / 0.8126 GB, free: 9.41 MB / 0.6355 GB Notification: Performance of SimCode: time 1.303e-06/0.9084, allocations: 4 kB / 0.8126 GB, free: 9.406 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02402/0.9324, allocations: 1.674 MB / 0.8143 GB, free: 7.848 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002891/0.9328, allocations: 202.9 kB / 0.8145 GB, free: 7.598 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.36/3.293, allocations: 4 kB / 0.8145 GB, free: 7.594 MB / 0.6355 GB