Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.Discrete.Examples.BooleanDelay.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.Discrete.Examples.BooleanDelay,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_Discrete_Examples_BooleanDelay",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.01566/0.01566, allocations: 106.9 kB / 15.05 MB, free: 5.934 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.001635/0.001635, allocations: 183.9 kB / 15.95 MB, free: 5.898 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 2.166/2.166, allocations: 194.5 MB / 211.2 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.403/2.403, allocations: 236.1 MB / 492.6 MB, free: 11.37 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005275/0.0005276, allocations: 16 kB / 0.587 GB, free: 2.078 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7082/0.7088, allocations: 98.71 MB / 0.6834 GB, free: 16.91 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2498/0.9587, allocations: 125.2 MB / 0.8057 GB, free: 1.129 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003042/0.959, allocations: 83.83 kB / 0.8057 GB, free: 1.047 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.004978/0.964, allocations: 1.157 MB / 0.8069 GB, free: 15.89 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.675e-06/0.9641, allocations: 0 / 0.8069 GB, free: 15.89 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.167e-06/0.9641, allocations: 0 / 0.8069 GB, free: 15.89 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006737/0.9648, allocations: 392.9 kB / 0.8072 GB, free: 15.45 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.793e-05/0.9648, allocations: 15.97 kB / 0.8073 GB, free: 15.43 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.862e-05/0.9649, allocations: 38.56 kB / 0.8073 GB, free: 15.39 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.687e-05/0.9649, allocations: 4 kB / 0.8073 GB, free: 15.38 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001621/0.9651, allocations: 174.9 kB / 0.8075 GB, free: 15.17 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.716e-05/0.9651, allocations: 4 kB / 0.8075 GB, free: 15.17 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.831e-05/0.9652, allocations: 7.984 kB / 0.8075 GB, free: 15.16 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000154/0.9653, allocations: 49.62 kB / 0.8075 GB, free: 15.11 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.337e-06/0.9653, allocations: 0 / 0.8075 GB, free: 15.11 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.546e-05/0.9654, allocations: 4 kB / 0.8075 GB, free: 15.1 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.9654, allocations: 0 / 0.8075 GB, free: 15.1 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.218e-05/0.9655, allocations: 15.98 kB / 0.8075 GB, free: 15.09 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004795/0.966, allocations: 272.9 kB / 0.8078 GB, free: 14.77 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001204/0.9661, allocations: 42.56 kB / 0.8078 GB, free: 14.72 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.098e-05/0.9661, allocations: 0 / 0.8078 GB, free: 14.72 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002121/0.9664, allocations: 105.2 kB / 0.8079 GB, free: 14.6 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=9): time 5.39e-06/0.9664, allocations: 4 kB / 0.8079 GB, free: 14.59 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9): time 0.0004409/0.9668, allocations: 220.3 kB / 0.8082 GB, free: 14.35 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.298e-05/0.9669, allocations: 81.06 kB / 0.8082 GB, free: 14.25 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001082/0.967, allocations: 109 kB / 0.8083 GB, free: 14.14 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.129e-05/0.9671, allocations: 25.7 kB / 0.8084 GB, free: 14.11 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.31e-05/0.9671, allocations: 84.14 kB / 0.8084 GB, free: 14.02 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.993e-05/0.9672, allocations: 16.09 kB / 0.8085 GB, free: 14 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.933e-06/0.9672, allocations: 0 / 0.8085 GB, free: 14 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001573/0.9674, allocations: 322.8 kB / 0.8088 GB, free: 13.68 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.158e-05/0.9674, allocations: 19.94 kB / 0.8088 GB, free: 13.66 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.08e-05/0.9675, allocations: 34.56 kB / 0.8088 GB, free: 13.62 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.651e-05/0.9676, allocations: 49.67 kB / 0.8089 GB, free: 13.56 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.9676, allocations: 4 kB / 0.8089 GB, free: 13.56 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002447/0.9679, allocations: 127.2 kB / 0.809 GB, free: 13.42 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.881e-05/0.9679, allocations: 29.7 kB / 0.809 GB, free: 13.39 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.968, allocations: 8.062 kB / 0.809 GB, free: 13.38 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.968, allocations: 0 / 0.809 GB, free: 13.38 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.399e-05/0.968, allocations: 4 kB / 0.809 GB, free: 13.38 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/0.9681, allocations: 8.312 kB / 0.809 GB, free: 13.37 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001022/0.9682, allocations: 11.95 kB / 0.809 GB, free: 13.36 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.337e-05/0.9682, allocations: 4 kB / 0.8091 GB, free: 13.35 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: 11 ($PRE.del.firstTrigger,del.firstTrigger,$whenCondition2,$whenCondition1,$whenCondition3,del.y,del.sampleTrigger,del.ySample,booleanPulse.y,$PRE.booleanPulse.pulsStart,booleanPulse.pulsStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 1 * 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.0001403/0.9684, allocations: 154.5 kB / 0.8092 GB, free: 13.19 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.318e-05/0.9684, allocations: 7.906 kB / 0.8092 GB, free: 13.18 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.965e-05/0.9685, allocations: 16.38 kB / 0.8092 GB, free: 13.16 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/0.9685, allocations: 0 / 0.8092 GB, free: 13.16 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.9685, allocations: 0 / 0.8092 GB, free: 13.16 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.9685, allocations: 0 / 0.8092 GB, free: 13.16 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005816/0.9691, allocations: 396.2 kB / 0.8096 GB, free: 12.71 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.9691, allocations: 0 / 0.8096 GB, free: 12.71 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.524e-05/0.9691, allocations: 7.938 kB / 0.8096 GB, free: 12.7 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.049e-06/0.9691, allocations: 3.984 kB / 0.8096 GB, free: 12.7 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.505e-05/0.9692, allocations: 4 kB / 0.8096 GB, free: 12.69 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.9692, allocations: 4 kB / 0.8096 GB, free: 12.69 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.9692, allocations: 4.031 kB / 0.8096 GB, free: 12.68 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003447/0.9696, allocations: 231.6 kB / 0.8098 GB, free: 12.44 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.93e-05/0.9696, allocations: 77.11 kB / 0.8099 GB, free: 12.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.249e-05/0.9697, allocations: 12 kB / 0.8099 GB, free: 12.33 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001598/0.9698, allocations: 16.08 kB / 0.8099 GB, free: 12.32 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.623e-05/0.9699, allocations: 19.88 kB / 0.81 GB, free: 12.3 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.829e-05/0.9699, allocations: 0 / 0.81 GB, free: 12.3 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.299e-05/0.97, allocations: 87.28 kB / 0.81 GB, free: 12.21 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.7e-07/0.97, allocations: 0 / 0.81 GB, free: 12.21 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003032/0.9703, allocations: 12 kB / 0.8101 GB, free: 12.2 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: 9 (del.sampleTrigger,$whenCondition2,$whenCondition1,$whenCondition3,del.y,del.firstTrigger,del.ySample,booleanPulse.y,booleanPulse.pulsStart) * Number of discrete states: 3 (del.ySample,del.y,$whenCondition3) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * 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.0006594/0.971, allocations: 0.7726 MB / 0.8108 GB, free: 11.39 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002501/0.9713, allocations: 119.3 kB / 0.8109 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.9713, allocations: 4 kB / 0.8109 GB, free: 11.26 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001378/0.9714, allocations: 87.39 kB / 0.811 GB, free: 11.16 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002847/0.9717, allocations: 11.98 kB / 0.811 GB, free: 11.15 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001265/0.973, allocations: 0.7897 MB / 0.8118 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003513/0.9734, allocations: 0.6887 MB / 0.8125 GB, free: 9.59 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.509e-05/0.9734, allocations: 11.98 kB / 0.8125 GB, free: 9.578 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.873e-05/0.9735, allocations: 11.44 kB / 0.8125 GB, free: 9.57 MB / 0.6355 GB Notification: Performance of SimCode: time 8.11e-07/0.9735, allocations: 0 / 0.8125 GB, free: 9.57 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02076/0.9943, allocations: 1.574 MB / 0.814 GB, free: 8.102 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000344/0.9947, allocations: 186.6 kB / 0.8142 GB, free: 7.859 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.595/3.59, allocations: 0 / 0.8142 GB, free: 7.859 MB / 0.6355 GB