Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.Discrete.Examples.BooleanDelay.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/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 8.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Discrete.Examples.BooleanDelay") translateModel(Buildings.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Discrete.Examples.BooleanDelay") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.698/1.698, allocations: 297.4 MB / 312.6 MB, free: 2.93 MB / 234.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.0009167/0.0009168, allocations: 182 kB / 382.3 MB, free: 14.84 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.339/1.339, allocations: 225.7 MB / 0.6617 GB, free: 7.176 MB / 490.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008609/0.0008612, allocations: 90.23 kB / 0.7789 GB, free: 46.86 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003607/0.0003608, allocations: 8.812 kB / 0.9058 GB, free: 4.941 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.787/0.7874, allocations: 119.2 MB / 1.022 GB, free: 57.58 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Discrete.Examples.BooleanDelay): time 0.001992/0.7895, allocations: 1.142 MB / 1.023 GB, free: 57.04 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.000812/0.7903, allocations: 499.3 kB / 1.024 GB, free: 56.74 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.559e-05/0.7903, allocations: 0 / 1.024 GB, free: 56.74 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.676e-05/0.7904, allocations: 5.219 kB / 1.024 GB, free: 56.74 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 9.188e-05/0.7905, allocations: 4.953 kB / 1.024 GB, free: 56.74 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.00015/0.7906, allocations: 17.62 kB / 1.024 GB, free: 56.73 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 9.222e-05/0.7907, allocations: 51.83 kB / 1.024 GB, free: 56.71 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001065/0.7908, allocations: 9.297 kB / 1.024 GB, free: 56.71 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 6.666e-05/0.7909, allocations: 18.62 kB / 1.024 GB, free: 56.7 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 7.019e-05/0.791, allocations: 22.69 kB / 1.024 GB, free: 56.69 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.794e-05/0.791, allocations: 2.062 kB / 1.024 GB, free: 56.69 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 1.088e-05/0.791, allocations: 1.312 kB / 1.024 GB, free: 56.69 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.902e-05/0.7911, allocations: 5.812 kB / 1.024 GB, free: 56.69 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 5.887e-05/0.7911, allocations: 48.69 kB / 1.024 GB, free: 56.64 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001034/0.7912, allocations: 37.72 kB / 1.024 GB, free: 56.63 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.7913, allocations: 0 / 1.024 GB, free: 56.63 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.064e-06/0.7913, allocations: 1.156 kB / 1.024 GB, free: 56.63 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.609e-06/0.7913, allocations: 0 / 1.024 GB, free: 56.63 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.0005989/0.7919, allocations: 392 kB / 1.024 GB, free: 56.24 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/0.7919, allocations: 9.906 kB / 1.024 GB, free: 56.24 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.08e-05/0.792, allocations: 9.562 kB / 1.024 GB, free: 56.24 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001065/0.7921, allocations: 168.9 kB / 1.025 GB, free: 56.04 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.849e-05/0.7921, allocations: 4.312 kB / 1.025 GB, free: 56.04 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.238e-05/0.7921, allocations: 4.938 kB / 1.025 GB, free: 56.04 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001338/0.7923, allocations: 54.25 kB / 1.025 GB, free: 56 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.7923, allocations: 1.656 kB / 1.025 GB, free: 56 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.369e-05/0.7923, allocations: 1.375 kB / 1.025 GB, free: 56 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/0.7923, allocations: 1.375 kB / 1.025 GB, free: 56 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.279e-05/0.7924, allocations: 19.97 kB / 1.025 GB, free: 55.99 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003893/0.7928, allocations: 275.6 kB / 1.025 GB, free: 55.7 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 9.431e-05/0.7929, allocations: 44.61 kB / 1.025 GB, free: 55.67 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.066e-05/0.793, allocations: 23.28 kB / 1.025 GB, free: 55.65 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.452e-05/0.793, allocations: 6.359 kB / 1.025 GB, free: 55.65 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000197/0.7932, allocations: 100.9 kB / 1.025 GB, free: 55.56 MB / 0.698 GB Notification: Performance of pre-optimization done (n=9): time 2.334e-06/0.7932, allocations: 3.969 kB / 1.025 GB, free: 55.56 MB / 0.698 GB Notification: Performance of matching and sorting (n=9): time 0.0002809/0.7935, allocations: 143.7 kB / 1.025 GB, free: 55.47 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.208e-05/0.7935, allocations: 81.42 kB / 1.025 GB, free: 55.38 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.298e-05/0.7936, allocations: 111 kB / 1.025 GB, free: 55.27 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.426e-05/0.7937, allocations: 28.19 kB / 1.025 GB, free: 55.24 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.258e-05/0.7937, allocations: 87.09 kB / 1.026 GB, free: 55.15 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.61e-05/0.7937, allocations: 19.95 kB / 1.026 GB, free: 55.14 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.209e-06/0.7937, allocations: 0 / 1.026 GB, free: 55.14 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.797e-05/0.7938, allocations: 323.4 kB / 1.026 GB, free: 54.82 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.338e-05/0.7939, allocations: 15.62 kB / 1.026 GB, free: 54.82 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.465e-05/0.794, allocations: 42.31 kB / 1.026 GB, free: 54.78 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.525e-05/0.7941, allocations: 109.7 kB / 1.026 GB, free: 54.68 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.7941, allocations: 1.188 kB / 1.026 GB, free: 54.68 MB / 0.698 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001535/0.7942, allocations: 122.4 kB / 1.026 GB, free: 54.59 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.584e-05/0.7943, allocations: 39.36 kB / 1.026 GB, free: 54.56 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.7943, allocations: 0 / 1.026 GB, free: 54.56 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.7943, allocations: 4.031 kB / 1.026 GB, free: 54.56 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.706e-05/0.7944, allocations: 6.812 kB / 1.026 GB, free: 54.55 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.285e-06/0.7944, allocations: 1.703 kB / 1.026 GB, free: 54.55 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.095e-05/0.7944, allocations: 16.41 kB / 1.026 GB, free: 54.55 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.018e-05/0.7945, allocations: 3.562 kB / 1.026 GB, free: 54.55 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 9.195e-05/0.7946, allocations: 154.4 kB / 1.026 GB, free: 54.4 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.659e-05/0.7946, allocations: 8.219 kB / 1.026 GB, free: 54.39 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.812e-05/0.7946, allocations: 9.828 kB / 1.026 GB, free: 54.39 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.7946, allocations: 1.719 kB / 1.026 GB, free: 54.39 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.7946, allocations: 0 / 1.026 GB, free: 54.39 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.7946, allocations: 2 kB / 1.026 GB, free: 54.39 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003654/0.795, allocations: 403.4 kB / 1.027 GB, free: 54.02 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.795, allocations: 3.969 kB / 1.027 GB, free: 54.02 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.685e-06/0.795, allocations: 0 / 1.027 GB, free: 54.02 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.389e-06/0.7951, allocations: 3.453 kB / 1.027 GB, free: 54.02 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.292e-05/0.7951, allocations: 5.562 kB / 1.027 GB, free: 54.02 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.7951, allocations: 0 / 1.027 GB, free: 54.02 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.7951, allocations: 4.953 kB / 1.027 GB, free: 54.01 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001859/0.7953, allocations: 237.8 kB / 1.027 GB, free: 53.82 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.751e-05/0.7953, allocations: 84.44 kB / 1.027 GB, free: 53.72 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.246e-05/0.7953, allocations: 6.609 kB / 1.027 GB, free: 53.72 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001002/0.7955, allocations: 10.62 kB / 1.027 GB, free: 53.72 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.638e-05/0.7955, allocations: 8.484 kB / 1.027 GB, free: 53.71 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.857e-05/0.7955, allocations: 11.22 kB / 1.027 GB, free: 53.71 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.789e-05/0.7956, allocations: 92.39 kB / 1.027 GB, free: 53.63 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7956, allocations: 0 / 1.027 GB, free: 53.63 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002185/0.7958, allocations: 16.05 kB / 1.027 GB, free: 53.62 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.0001026/0.7959, allocations: 107.4 kB / 1.027 GB, free: 53.54 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001827/0.7961, allocations: 117.9 kB / 1.027 GB, free: 53.45 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.7961, allocations: 0 / 1.027 GB, free: 53.45 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 9.112e-05/0.7962, allocations: 85.41 kB / 1.028 GB, free: 53.38 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002887/0.7965, allocations: 21.12 kB / 1.028 GB, free: 53.38 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003974/0.7969, allocations: 159.4 kB / 1.028 GB, free: 53.23 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001599/0.7971, allocations: 0.6856 MB / 1.028 GB, free: 52.54 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.31e-05/0.7971, allocations: 9.25 kB / 1.028 GB, free: 52.54 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.582e-05/0.7972, allocations: 10.78 kB / 1.028 GB, free: 52.53 MB / 0.698 GB Notification: Performance of SimCode: time 1.213e-06/0.7972, allocations: 0 / 1.028 GB, free: 52.53 MB / 0.698 GB Notification: Performance of Templates: time 0.003251/0.8004, allocations: 0.7672 MB / 1.029 GB, free: 52.46 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Controls.Discrete.Examples.BooleanDelay.makefile (rm -f Buildings_8_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo Buildings_8_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/Buildings_8_Buildings.Controls.Discrete.Examples.BooleanDelay.sim & ./Buildings_8_Buildings.Controls.Discrete.Examples.BooleanDelay -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1)