Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.Discrete.Examples.BooleanDelay.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.Discrete.Examples.BooleanDelay") translateModel(Buildings.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.Discrete.Examples.BooleanDelay") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.61/1.61, allocations: 306.1 MB / 321.4 MB, free: 10.75 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009814/0.0009814, allocations: 179.5 kB / 393.1 MB, free: 4.094 MB / 314.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.378/1.378, allocations: 225.7 MB / 0.6743 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007986/0.0007986, allocations: 87.89 kB / 0.7935 GB, free: 40.1 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003441/0.0003441, allocations: 8 kB / 0.9224 GB, free: 8.695 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5718/0.5721, allocations: 121.3 MB / 1.041 GB, free: 58.31 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Discrete.Examples.BooleanDelay): time 0.001494/0.5737, allocations: 1.148 MB / 1.042 GB, free: 57.55 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.000708/0.5744, allocations: 489.9 kB / 1.042 GB, free: 57.18 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.392e-05/0.5745, allocations: 0 / 1.042 GB, free: 57.18 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.71e-05/0.5745, allocations: 2.719 kB / 1.042 GB, free: 57.18 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 8.648e-05/0.5746, allocations: 10.25 kB / 1.042 GB, free: 57.17 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001554/0.5747, allocations: 14.25 kB / 1.042 GB, free: 57.16 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 8.026e-05/0.5748, allocations: 51.05 kB / 1.043 GB, free: 57.14 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 9.576e-05/0.5749, allocations: 11.31 kB / 1.043 GB, free: 57.14 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 5.671e-05/0.575, allocations: 18.61 kB / 1.043 GB, free: 57.13 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 6.712e-05/0.5751, allocations: 15.55 kB / 1.043 GB, free: 57.12 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.622e-05/0.5751, allocations: 3.969 kB / 1.043 GB, free: 57.12 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 1.027e-05/0.5751, allocations: 0 / 1.043 GB, free: 57.12 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.433e-05/0.5751, allocations: 10 kB / 1.043 GB, free: 57.12 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 5.256e-05/0.5752, allocations: 51.59 kB / 1.043 GB, free: 57.07 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 9.511e-05/0.5753, allocations: 33.61 kB / 1.043 GB, free: 57.06 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.5753, allocations: 1.25 kB / 1.043 GB, free: 57.06 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.853e-06/0.5753, allocations: 4.734 kB / 1.043 GB, free: 57.05 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.938e-06/0.5753, allocations: 0 / 1.043 GB, free: 57.05 MB / 0.698 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.0005071/0.5758, allocations: 393.5 kB / 1.043 GB, free: 56.66 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.5759, allocations: 9.25 kB / 1.043 GB, free: 56.66 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.585e-05/0.5759, allocations: 4.344 kB / 1.043 GB, free: 56.66 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.992e-05/0.576, allocations: 175.1 kB / 1.043 GB, free: 56.46 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.675e-05/0.5761, allocations: 8.312 kB / 1.043 GB, free: 56.45 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.18e-05/0.5761, allocations: 1.688 kB / 1.043 GB, free: 56.45 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001085/0.5762, allocations: 52.45 kB / 1.043 GB, free: 56.41 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.365e-06/0.5762, allocations: 1.266 kB / 1.043 GB, free: 56.41 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.5762, allocations: 1.781 kB / 1.043 GB, free: 56.41 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.5762, allocations: 1.281 kB / 1.043 GB, free: 56.41 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.637e-05/0.5763, allocations: 23.09 kB / 1.043 GB, free: 56.41 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003356/0.5766, allocations: 273.5 kB / 1.044 GB, free: 56.12 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.874e-05/0.5767, allocations: 45.64 kB / 1.044 GB, free: 56.09 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.806e-05/0.5768, allocations: 26.45 kB / 1.044 GB, free: 56.07 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.542e-05/0.5768, allocations: 2.281 kB / 1.044 GB, free: 56.07 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001751/0.577, allocations: 98.92 kB / 1.044 GB, free: 55.98 MB / 0.698 GB Notification: Performance of pre-optimization done (n=9): time 1.473e-06/0.577, allocations: 3.938 kB / 1.044 GB, free: 55.98 MB / 0.698 GB Notification: Performance of matching and sorting (n=9): time 0.0002484/0.5772, allocations: 134.6 kB / 1.044 GB, free: 55.89 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.034e-05/0.5773, allocations: 87.25 kB / 1.044 GB, free: 55.79 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.255e-05/0.5774, allocations: 110 kB / 1.044 GB, free: 55.69 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.117e-05/0.5774, allocations: 25.7 kB / 1.044 GB, free: 55.66 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.248e-05/0.5774, allocations: 89.97 kB / 1.044 GB, free: 55.57 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.921e-05/0.5774, allocations: 19.16 kB / 1.044 GB, free: 55.56 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.718e-06/0.5774, allocations: 1.188 kB / 1.044 GB, free: 55.56 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.232e-05/0.5775, allocations: 325.8 kB / 1.044 GB, free: 55.24 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.949e-05/0.5775, allocations: 10.19 kB / 1.045 GB, free: 55.23 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.995e-05/0.5776, allocations: 42.41 kB / 1.045 GB, free: 55.2 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.437e-05/0.5777, allocations: 109.5 kB / 1.045 GB, free: 55.1 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.5777, allocations: 0.5312 kB / 1.045 GB, free: 55.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000147/0.5778, allocations: 130.7 kB / 1.045 GB, free: 55.01 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.743e-05/0.5779, allocations: 36.64 kB / 1.045 GB, free: 54.97 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.5779, allocations: 4.688 kB / 1.045 GB, free: 54.97 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.5779, allocations: 0.7188 kB / 1.045 GB, free: 54.97 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.341e-05/0.578, allocations: 10.97 kB / 1.045 GB, free: 54.96 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.578, allocations: 3.562 kB / 1.045 GB, free: 54.96 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.402e-05/0.578, allocations: 10.3 kB / 1.045 GB, free: 54.96 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-06/0.5781, allocations: 4.812 kB / 1.045 GB, free: 54.96 MB / 0.698 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.pulseStart,booleanPulse.pulseStart) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.829e-05/0.5781, allocations: 153.2 kB / 1.045 GB, free: 54.8 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.441e-05/0.5782, allocations: 15 kB / 1.045 GB, free: 54.8 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.399e-05/0.5782, allocations: 9.922 kB / 1.045 GB, free: 54.79 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.5782, allocations: 0 / 1.045 GB, free: 54.79 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.5782, allocations: 0 / 1.045 GB, free: 54.79 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.5782, allocations: 0 / 1.045 GB, free: 54.79 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003261/0.5785, allocations: 400.6 kB / 1.045 GB, free: 54.43 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.5786, allocations: 0 / 1.045 GB, free: 54.43 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.979e-06/0.5786, allocations: 5.375 kB / 1.045 GB, free: 54.43 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.5786, allocations: 0 / 1.045 GB, free: 54.43 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.141e-05/0.5786, allocations: 12.56 kB / 1.045 GB, free: 54.42 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.5786, allocations: 4 kB / 1.045 GB, free: 54.42 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.5786, allocations: 3.938 kB / 1.045 GB, free: 54.41 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001675/0.5788, allocations: 231.1 kB / 1.046 GB, free: 54.22 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.435e-05/0.5788, allocations: 85.89 kB / 1.046 GB, free: 54.12 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.996e-05/0.5788, allocations: 4.875 kB / 1.046 GB, free: 54.12 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/0.5789, allocations: 7.891 kB / 1.046 GB, free: 54.12 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.77e-05/0.579, allocations: 18.59 kB / 1.046 GB, free: 54.11 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.651e-05/0.579, allocations: 7.094 kB / 1.046 GB, free: 54.11 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.249e-05/0.5791, allocations: 94.97 kB / 1.046 GB, free: 54.02 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5791, allocations: 0 / 1.046 GB, free: 54.02 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002056/0.5793, allocations: 11.84 kB / 1.046 GB, free: 54.02 MB / 0.698 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.pulseStart) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001207/0.5794, allocations: 107.6 kB / 1.046 GB, free: 53.93 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001974/0.5796, allocations: 119.4 kB / 1.046 GB, free: 53.84 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.5796, allocations: 4.125 kB / 1.046 GB, free: 53.84 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 8.851e-05/0.5797, allocations: 88.02 kB / 1.046 GB, free: 53.77 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002868/0.58, allocations: 9.922 kB / 1.046 GB, free: 53.77 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003353/0.5803, allocations: 159.9 kB / 1.046 GB, free: 53.63 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001422/0.5805, allocations: 0.6907 MB / 1.047 GB, free: 52.93 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.736e-05/0.5805, allocations: 4.578 kB / 1.047 GB, free: 52.93 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.527e-05/0.5806, allocations: 9.562 kB / 1.047 GB, free: 52.92 MB / 0.698 GB Notification: Performance of SimCode: time 1.233e-06/0.5806, allocations: 0 / 1.047 GB, free: 52.92 MB / 0.698 GB Notification: Performance of Templates: time 0.003103/0.5837, allocations: 0.7647 MB / 1.048 GB, free: 52.84 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Controls.Discrete.Examples.BooleanDelay.makefile (rm -f Buildings_latest_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo Buildings_latest_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/Buildings_latest_Buildings.Controls.Discrete.Examples.BooleanDelay.sim & ./Buildings_latest_Buildings.Controls.Discrete.Examples.BooleanDelay -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1)