Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.Discrete.Examples.BooleanDelay.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.Discrete.Examples.BooleanDelay") translateModel(Buildings.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.Discrete.Examples.BooleanDelay") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.849/1.849, allocations: 292.6 MB / 307.8 MB, free: 7.117 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.001417/0.001418, allocations: 185 kB / 376.5 MB, free: 4.453 MB / 298.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.511/1.511, allocations: 225.7 MB / 0.655 GB, free: 13.18 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.001058/0.001058, allocations: 98.41 kB / 0.7711 GB, free: 50.31 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004258/0.0004259, allocations: 12.84 kB / 0.897 GB, free: 11.59 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9007/0.9011, allocations: 118.2 MB / 1.012 GB, free: 57.57 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Discrete.Examples.BooleanDelay): time 0.002168/0.9033, allocations: 1.132 MB / 1.013 GB, free: 57.54 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0007952/0.9042, allocations: 400.9 kB / 1.014 GB, free: 57.51 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.811e-05/0.9042, allocations: 3 kB / 1.014 GB, free: 57.51 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.886e-05/0.9043, allocations: 8.672 kB / 1.014 GB, free: 57.5 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001148/0.9044, allocations: 7.5 kB / 1.014 GB, free: 57.5 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.000181/0.9046, allocations: 16.27 kB / 1.014 GB, free: 57.5 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 9.014e-05/0.9047, allocations: 46.86 kB / 1.014 GB, free: 57.49 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001263/0.9048, allocations: 10.16 kB / 1.014 GB, free: 57.49 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 7.116e-05/0.9049, allocations: 16.81 kB / 1.014 GB, free: 57.48 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 8.03e-05/0.905, allocations: 21.48 kB / 1.014 GB, free: 57.48 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.548e-05/0.905, allocations: 0 / 1.014 GB, free: 57.48 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 1.246e-05/0.905, allocations: 2.844 kB / 1.014 GB, free: 57.48 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.907e-05/0.9051, allocations: 7.984 kB / 1.014 GB, free: 57.48 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 7.965e-05/0.9052, allocations: 43.45 kB / 1.014 GB, free: 57.45 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001243/0.9053, allocations: 29.62 kB / 1.014 GB, free: 57.45 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 8.726e-06/0.9053, allocations: 3.938 kB / 1.014 GB, free: 57.44 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.627e-06/0.9053, allocations: 0 / 1.014 GB, free: 57.44 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.351e-05/0.9053, allocations: 0 / 1.014 GB, free: 57.44 MB / 0.7136 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.0006023/0.906, allocations: 393.4 kB / 1.014 GB, free: 57.05 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.906, allocations: 8.125 kB / 1.014 GB, free: 57.05 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.266e-05/0.9061, allocations: 7.938 kB / 1.014 GB, free: 57.05 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001064/0.9062, allocations: 168.7 kB / 1.015 GB, free: 56.86 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.78e-05/0.9062, allocations: 4.719 kB / 1.015 GB, free: 56.86 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.727e-05/0.9062, allocations: 3.312 kB / 1.015 GB, free: 56.86 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001189/0.9063, allocations: 54.44 kB / 1.015 GB, free: 56.82 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.888e-06/0.9064, allocations: 3.469 kB / 1.015 GB, free: 56.82 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.9064, allocations: 3.5 kB / 1.015 GB, free: 56.82 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.9064, allocations: 3.688 kB / 1.015 GB, free: 56.82 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.927e-05/0.9065, allocations: 19.38 kB / 1.015 GB, free: 56.82 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003892/0.9068, allocations: 276.9 kB / 1.015 GB, free: 56.54 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.342e-05/0.9069, allocations: 43.98 kB / 1.015 GB, free: 56.52 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.605e-05/0.907, allocations: 19.7 kB / 1.015 GB, free: 56.51 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.2e-05/0.907, allocations: 0.5 kB / 1.015 GB, free: 56.51 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001742/0.9072, allocations: 110.6 kB / 1.015 GB, free: 56.43 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=9): time 1.483e-06/0.9072, allocations: 0 / 1.015 GB, free: 56.43 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9): time 0.0002742/0.9075, allocations: 143.2 kB / 1.015 GB, free: 56.36 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.887e-05/0.9075, allocations: 81.7 kB / 1.015 GB, free: 56.26 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.56e-05/0.9076, allocations: 117.3 kB / 1.015 GB, free: 56.16 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.47e-05/0.9077, allocations: 30.3 kB / 1.016 GB, free: 56.13 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.422e-05/0.9077, allocations: 85.61 kB / 1.016 GB, free: 56.05 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.954e-05/0.9077, allocations: 18.69 kB / 1.016 GB, free: 56.04 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.898e-06/0.9077, allocations: 0 / 1.016 GB, free: 56.04 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.627e-05/0.9078, allocations: 324.6 kB / 1.016 GB, free: 55.72 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.977e-05/0.9079, allocations: 15.17 kB / 1.016 GB, free: 55.72 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.259e-05/0.9079, allocations: 38.48 kB / 1.016 GB, free: 55.7 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.665e-05/0.908, allocations: 110.6 kB / 1.016 GB, free: 55.61 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.908, allocations: 3.938 kB / 1.016 GB, free: 55.61 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001438/0.9082, allocations: 125.8 kB / 1.016 GB, free: 55.54 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.349e-05/0.9082, allocations: 33.05 kB / 1.016 GB, free: 55.51 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.615e-06/0.9082, allocations: 2.906 kB / 1.016 GB, free: 55.51 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.9082, allocations: 0 / 1.016 GB, free: 55.51 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.727e-05/0.9083, allocations: 3 kB / 1.016 GB, free: 55.51 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.722e-06/0.9083, allocations: 1.594 kB / 1.016 GB, free: 55.51 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.577e-05/0.9084, allocations: 14.77 kB / 1.016 GB, free: 55.51 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.147e-06/0.9084, allocations: 6.625 kB / 1.016 GB, free: 55.51 MB / 0.7136 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001127/0.9085, allocations: 152.1 kB / 1.016 GB, free: 55.36 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.671e-05/0.9085, allocations: 8.422 kB / 1.016 GB, free: 55.35 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.505e-05/0.9086, allocations: 8.438 kB / 1.016 GB, free: 55.35 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.9086, allocations: 1.5 kB / 1.016 GB, free: 55.35 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.283e-06/0.9086, allocations: 3.328 kB / 1.016 GB, free: 55.35 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.9086, allocations: 0 / 1.016 GB, free: 55.35 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003507/0.909, allocations: 400.4 kB / 1.017 GB, free: 55.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.909, allocations: 3.281 kB / 1.017 GB, free: 55.02 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.187e-05/0.909, allocations: 4.906 kB / 1.017 GB, free: 55.02 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.909, allocations: 3.969 kB / 1.017 GB, free: 55.02 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.631e-05/0.909, allocations: 0 / 1.017 GB, free: 55.02 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.9091, allocations: 3.938 kB / 1.017 GB, free: 55.01 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.9091, allocations: 3.656 kB / 1.017 GB, free: 55.01 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002184/0.9093, allocations: 237.2 kB / 1.017 GB, free: 54.84 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.787e-05/0.9093, allocations: 81.95 kB / 1.017 GB, free: 54.74 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.467e-05/0.9094, allocations: 10.33 kB / 1.017 GB, free: 54.74 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001011/0.9095, allocations: 11.72 kB / 1.017 GB, free: 54.74 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.679e-05/0.9095, allocations: 8.5 kB / 1.017 GB, free: 54.74 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.76e-05/0.9095, allocations: 8.094 kB / 1.017 GB, free: 54.74 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.214e-05/0.9096, allocations: 86.62 kB / 1.017 GB, free: 54.66 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9096, allocations: 0 / 1.017 GB, free: 54.66 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002322/0.9098, allocations: 17.66 kB / 1.017 GB, free: 54.66 MB / 0.7136 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 (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.0001297/0.91, allocations: 104 kB / 1.017 GB, free: 54.58 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001821/0.9102, allocations: 120.8 kB / 1.017 GB, free: 54.51 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.9102, allocations: 0.625 kB / 1.017 GB, free: 54.51 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 8.032e-05/0.9102, allocations: 92.33 kB / 1.018 GB, free: 54.45 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002876/0.9105, allocations: 18.91 kB / 1.018 GB, free: 54.45 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003501/0.9109, allocations: 162.5 kB / 1.018 GB, free: 54.32 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001525/0.9111, allocations: 0.6899 MB / 1.018 GB, free: 53.62 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.866e-05/0.9111, allocations: 3.25 kB / 1.018 GB, free: 53.62 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.02e-05/0.9111, allocations: 13.22 kB / 1.018 GB, free: 53.61 MB / 0.7136 GB Notification: Performance of SimCode: time 2.01e-07/0.9111, allocations: 2.531 kB / 1.018 GB, free: 53.61 MB / 0.7136 GB Notification: Performance of Templates: time 0.003268/0.9144, allocations: 0.7431 MB / 1.019 GB, free: 53.6 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.Discrete.Examples.BooleanDelay.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.Discrete.Examples.BooleanDelay.sim & ./Buildings_maint.8.0.x_Buildings.Controls.Discrete.Examples.BooleanDelay -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1)