Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.UnitDelay.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.OBC.CDL.Discrete.Examples.UnitDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.UnitDelay") translateModel(Buildings.Controls.OBC.CDL.Discrete.Examples.UnitDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.UnitDelay") 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.751/1.751, allocations: 292.6 MB / 307.8 MB, free: 6.969 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.001237/0.001237, allocations: 193.4 kB / 376.5 MB, free: 4.285 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.535/1.535, allocations: 225.7 MB / 0.655 GB, free: 13.02 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.0008114/0.0008115, allocations: 100.8 kB / 0.7711 GB, free: 50.39 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.000512/0.000512, allocations: 20.61 kB / 0.897 GB, free: 11.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.801/0.8015, allocations: 118.2 MB / 1.012 GB, free: 57.82 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Examples.UnitDelay): time 0.001005/0.8026, allocations: 384.9 kB / 1.013 GB, free: 57.81 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001671/0.8043, allocations: 1.026 MB / 1.014 GB, free: 57.76 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.608e-05/0.8043, allocations: 3.938 kB / 1.014 GB, free: 57.75 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.963e-05/0.8044, allocations: 2.266 kB / 1.014 GB, free: 57.75 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 9.159e-05/0.8045, allocations: 7.094 kB / 1.014 GB, free: 57.75 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003153/0.8048, allocations: 31.22 kB / 1.014 GB, free: 57.75 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001076/0.8049, allocations: 39.95 kB / 1.014 GB, free: 57.74 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001428/0.8051, allocations: 11.53 kB / 1.014 GB, free: 57.74 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 9.653e-05/0.8052, allocations: 13.69 kB / 1.014 GB, free: 57.74 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 7.186e-05/0.8053, allocations: 21.91 kB / 1.014 GB, free: 57.73 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.519e-05/0.8053, allocations: 0 / 1.014 GB, free: 57.73 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 7.539e-05/0.8054, allocations: 16.61 kB / 1.014 GB, free: 57.73 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.249e-05/0.8054, allocations: 7.156 kB / 1.014 GB, free: 57.73 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 6.217e-05/0.8055, allocations: 42.36 kB / 1.014 GB, free: 57.7 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001166/0.8056, allocations: 39.28 kB / 1.014 GB, free: 57.7 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 8.416e-06/0.8056, allocations: 2.812 kB / 1.014 GB, free: 57.7 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.324e-06/0.8056, allocations: 0 / 1.014 GB, free: 57.7 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.602e-06/0.8057, allocations: 0 / 1.014 GB, free: 57.7 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006218/0.8063, allocations: 359.1 kB / 1.014 GB, free: 57.33 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.955e-05/0.8064, allocations: 11.31 kB / 1.014 GB, free: 57.33 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.723e-05/0.8064, allocations: 3.562 kB / 1.014 GB, free: 57.33 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001195/0.8066, allocations: 167 kB / 1.015 GB, free: 57.13 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.858e-05/0.8066, allocations: 2.25 kB / 1.015 GB, free: 57.13 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.53e-05/0.8066, allocations: 11.72 kB / 1.015 GB, free: 57.13 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002619/0.8069, allocations: 60.8 kB / 1.015 GB, free: 57.1 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.8069, allocations: 0.8125 kB / 1.015 GB, free: 57.1 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.906e-05/0.8069, allocations: 9.25 kB / 1.015 GB, free: 57.1 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.807, allocations: 0.7812 kB / 1.015 GB, free: 57.1 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002541/0.8072, allocations: 48.08 kB / 1.015 GB, free: 57.1 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005218/0.8078, allocations: 281.3 kB / 1.015 GB, free: 56.83 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001626/0.8079, allocations: 51.78 kB / 1.015 GB, free: 56.8 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001191/0.8081, allocations: 32.23 kB / 1.015 GB, free: 56.8 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.04e-05/0.8081, allocations: 2.062 kB / 1.015 GB, free: 56.8 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002603/0.8084, allocations: 78.83 kB / 1.015 GB, free: 56.75 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=5): time 1.603e-06/0.8084, allocations: 0.625 kB / 1.015 GB, free: 56.75 MB / 0.7136 GB Notification: Performance of matching and sorting (n=5): time 0.0004817/0.8089, allocations: 120.7 kB / 1.015 GB, free: 56.71 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.186e-05/0.8089, allocations: 62.61 kB / 1.015 GB, free: 56.65 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.926e-05/0.809, allocations: 107.8 kB / 1.015 GB, free: 56.55 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.254e-05/0.809, allocations: 26.33 kB / 1.015 GB, free: 56.52 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.015e-05/0.8091, allocations: 92.23 kB / 1.015 GB, free: 56.43 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.814e-05/0.8091, allocations: 7.812 kB / 1.015 GB, free: 56.43 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.474e-06/0.8091, allocations: 6.656 kB / 1.015 GB, free: 56.43 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.308e-05/0.8092, allocations: 315 kB / 1.016 GB, free: 56.11 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001257/0.8093, allocations: 29.34 kB / 1.016 GB, free: 56.11 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001424/0.8095, allocations: 56.33 kB / 1.016 GB, free: 56.08 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002635/0.8098, allocations: 84.52 kB / 1.016 GB, free: 56.04 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.8098, allocations: 9.719 kB / 1.016 GB, free: 56.04 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003455/0.8101, allocations: 110.8 kB / 1.016 GB, free: 56 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.476e-05/0.8102, allocations: 7.125 kB / 1.016 GB, free: 56 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.635e-06/0.8102, allocations: 0 / 1.016 GB, free: 56 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.254e-05/0.8102, allocations: 2.812 kB / 1.016 GB, free: 56 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001453/0.8104, allocations: 17.17 kB / 1.016 GB, free: 56 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.8104, allocations: 1.594 kB / 1.016 GB, free: 56 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.11e-05/0.8105, allocations: 15.31 kB / 1.016 GB, free: 56 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.499e-05/0.8105, allocations: 7.266 kB / 1.016 GB, free: 56 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 ($PRE.unitDelay1.y,unitDelay1.y,$whenCondition1,unitDelay1.sampleTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001039/0.8106, allocations: 121.6 kB / 1.016 GB, free: 55.88 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.475e-05/0.8107, allocations: 2.938 kB / 1.016 GB, free: 55.88 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003381/0.811, allocations: 100.2 kB / 1.016 GB, free: 55.84 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.581e-06/0.811, allocations: 3.75 kB / 1.016 GB, free: 55.84 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.811, allocations: 2.531 kB / 1.016 GB, free: 55.84 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.8111, allocations: 0 / 1.016 GB, free: 55.84 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004732/0.8115, allocations: 354 kB / 1.017 GB, free: 55.54 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.8115, allocations: 0 / 1.017 GB, free: 55.54 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.869e-05/0.8116, allocations: 12.28 kB / 1.017 GB, free: 55.54 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.417e-06/0.8117, allocations: 1.062 kB / 1.017 GB, free: 55.54 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.26e-05/0.8117, allocations: 7.828 kB / 1.017 GB, free: 55.54 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.8117, allocations: 5.156 kB / 1.017 GB, free: 55.54 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.8117, allocations: 0 / 1.017 GB, free: 55.54 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003068/0.812, allocations: 195.5 kB / 1.017 GB, free: 55.4 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.777e-05/0.812, allocations: 92.72 kB / 1.017 GB, free: 55.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.253e-05/0.8121, allocations: 0 / 1.017 GB, free: 55.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001144/0.8122, allocations: 6.25 kB / 1.017 GB, free: 55.3 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.219e-05/0.8123, allocations: 6.438 kB / 1.017 GB, free: 55.3 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.397e-06/0.8123, allocations: 3.938 kB / 1.017 GB, free: 55.3 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.181e-05/0.8123, allocations: 92 kB / 1.017 GB, free: 55.22 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2e-07/0.8124, allocations: 0.8125 kB / 1.017 GB, free: 55.22 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003518/0.8127, allocations: 9.812 kB / 1.017 GB, free: 55.22 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: 3 (unitDelay1.sampleTrigger,$whenCondition1,unitDelay1.y) * Number of discrete states: 1 (unitDelay1.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001758/0.8129, allocations: 116.8 kB / 1.017 GB, free: 55.13 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003165/0.8132, allocations: 72.38 kB / 1.017 GB, free: 55.12 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.8132, allocations: 4.062 kB / 1.017 GB, free: 55.12 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001391/0.8134, allocations: 30.91 kB / 1.017 GB, free: 55.12 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003609/0.8138, allocations: 7.266 kB / 1.017 GB, free: 55.12 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003683/0.8142, allocations: 132 kB / 1.017 GB, free: 55.01 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000136/0.8143, allocations: 0.6897 MB / 1.018 GB, free: 54.31 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.864e-05/0.8144, allocations: 3.938 kB / 1.018 GB, free: 54.31 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.619e-05/0.8144, allocations: 11.38 kB / 1.018 GB, free: 54.3 MB / 0.7136 GB Notification: Performance of SimCode: time 3.1e-07/0.8144, allocations: 0 / 1.018 GB, free: 54.3 MB / 0.7136 GB Notification: Performance of Templates: time 0.003623/0.818, allocations: 0.647 MB / 1.019 GB, free: 54.27 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.UnitDelay.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.UnitDelay.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.UnitDelay.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.UnitDelay.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.UnitDelay.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.UnitDelay -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.UnitDelay.pipe 2>&1)