Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.UnitDelay.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Discrete.Examples.UnitDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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_8.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.UnitDelay") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.88/1.88, allocations: 291.7 MB / 306.8 MB, free: 7.672 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.001024/0.001024, allocations: 181.5 kB / 375.4 MB, free: 5.102 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.445/1.445, allocations: 225.7 MB / 0.6538 GB, free: 13.59 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.0008333/0.0008332, allocations: 98.97 kB / 0.7699 GB, free: 50.39 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004555/0.0004556, allocations: 12 kB / 0.8956 GB, free: 11.87 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7439/0.7444, allocations: 118.1 MB / 1.011 GB, free: 58.08 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Examples.UnitDelay): time 0.0009074/0.7454, allocations: 381.8 kB / 1.011 GB, free: 58.07 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001338/0.7467, allocations: 1.024 MB / 1.012 GB, free: 58.02 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.142e-05/0.7468, allocations: 8.906 kB / 1.012 GB, free: 58.02 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.477e-05/0.7468, allocations: 0 / 1.012 GB, free: 58.02 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 7.465e-05/0.7469, allocations: 4.719 kB / 1.012 GB, free: 58.01 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.000237/0.7471, allocations: 30.45 kB / 1.012 GB, free: 58.01 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 7.632e-05/0.7472, allocations: 39.28 kB / 1.012 GB, free: 58 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001267/0.7473, allocations: 13.95 kB / 1.012 GB, free: 58 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 6.546e-05/0.7474, allocations: 19.91 kB / 1.012 GB, free: 58 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 4.778e-05/0.7475, allocations: 15.39 kB / 1.012 GB, free: 58 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.415e-05/0.7475, allocations: 2.531 kB / 1.012 GB, free: 58 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 6.626e-05/0.7476, allocations: 12.69 kB / 1.012 GB, free: 58 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.743e-05/0.7476, allocations: 10.28 kB / 1.012 GB, free: 58 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 3.808e-05/0.7476, allocations: 28.77 kB / 1.012 GB, free: 57.96 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 9.575e-05/0.7477, allocations: 35.22 kB / 1.012 GB, free: 57.96 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.7477, allocations: 0 / 1.012 GB, free: 57.96 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.693e-06/0.7478, allocations: 4.469 kB / 1.012 GB, free: 57.96 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.7478, allocations: 3.188 kB / 1.012 GB, free: 57.96 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.0004706/0.7482, allocations: 354.1 kB / 1.013 GB, free: 57.6 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.7483, allocations: 10.59 kB / 1.013 GB, free: 57.6 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.968e-05/0.7483, allocations: 6.219 kB / 1.013 GB, free: 57.6 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.213e-05/0.7484, allocations: 167.8 kB / 1.013 GB, free: 57.4 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.349e-05/0.7485, allocations: 8.438 kB / 1.013 GB, free: 57.4 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.201e-05/0.7485, allocations: 4.312 kB / 1.013 GB, free: 57.39 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001878/0.7487, allocations: 69.25 kB / 1.013 GB, free: 57.36 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/0.7487, allocations: 192 / 1.013 GB, free: 57.36 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.7487, allocations: 4.547 kB / 1.013 GB, free: 57.36 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-06/0.7487, allocations: 0.6875 kB / 1.013 GB, free: 57.36 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001862/0.7489, allocations: 52.28 kB / 1.013 GB, free: 57.36 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004126/0.7493, allocations: 272.5 kB / 1.013 GB, free: 57.09 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001383/0.7495, allocations: 58.39 kB / 1.013 GB, free: 57.07 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.188e-05/0.7496, allocations: 34.81 kB / 1.013 GB, free: 57.06 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.904e-05/0.7496, allocations: 2.156 kB / 1.013 GB, free: 57.06 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001972/0.7498, allocations: 77.41 kB / 1.014 GB, free: 57.01 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=5): time 1.443e-06/0.7498, allocations: 0 / 1.014 GB, free: 57.01 MB / 0.7136 GB Notification: Performance of matching and sorting (n=5): time 0.0003744/0.7502, allocations: 126.1 kB / 1.014 GB, free: 56.97 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.171e-05/0.7503, allocations: 51.41 kB / 1.014 GB, free: 56.91 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.434e-05/0.7503, allocations: 108.1 kB / 1.014 GB, free: 56.81 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.225e-05/0.7503, allocations: 27.48 kB / 1.014 GB, free: 56.78 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.75e-05/0.7504, allocations: 92.78 kB / 1.014 GB, free: 56.7 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.736e-05/0.7504, allocations: 13.94 kB / 1.014 GB, free: 56.69 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.879e-06/0.7504, allocations: 3.938 kB / 1.014 GB, free: 56.69 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 5.348e-05/0.7505, allocations: 311.6 kB / 1.014 GB, free: 56.38 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.865e-05/0.7506, allocations: 29.55 kB / 1.014 GB, free: 56.38 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.528e-05/0.7507, allocations: 60.84 kB / 1.014 GB, free: 56.34 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000181/0.7509, allocations: 87.38 kB / 1.014 GB, free: 56.3 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.7509, allocations: 3.938 kB / 1.014 GB, free: 56.3 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002253/0.7511, allocations: 108 kB / 1.015 GB, free: 56.27 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.7511, allocations: 7.094 kB / 1.015 GB, free: 56.27 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.7511, allocations: 0.8125 kB / 1.015 GB, free: 56.27 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.7512, allocations: 0 / 1.015 GB, free: 56.27 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001105/0.7513, allocations: 19.66 kB / 1.015 GB, free: 56.27 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.7513, allocations: 0 / 1.015 GB, free: 56.27 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.616e-05/0.7514, allocations: 19.02 kB / 1.015 GB, free: 56.26 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.378e-06/0.7514, allocations: 4.062 kB / 1.015 GB, free: 56.26 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 6.753e-05/0.7515, allocations: 122.2 kB / 1.015 GB, free: 56.14 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.859e-06/0.7515, allocations: 4.156 kB / 1.015 GB, free: 56.14 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000243/0.7517, allocations: 99.55 kB / 1.015 GB, free: 56.11 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.7517, allocations: 3.953 kB / 1.015 GB, free: 56.11 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.7517, allocations: 4.875 kB / 1.015 GB, free: 56.1 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.7518, allocations: 2.875 kB / 1.015 GB, free: 56.1 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003315/0.7521, allocations: 353.8 kB / 1.015 GB, free: 55.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.7521, allocations: 0 / 1.015 GB, free: 55.8 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.552e-05/0.7522, allocations: 13.64 kB / 1.015 GB, free: 55.8 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.7522, allocations: 0 / 1.015 GB, free: 55.8 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.7522, allocations: 2.406 kB / 1.015 GB, free: 55.8 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.7522, allocations: 1.625 kB / 1.015 GB, free: 55.8 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.7522, allocations: 0 / 1.015 GB, free: 55.8 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002305/0.7524, allocations: 203.8 kB / 1.015 GB, free: 55.66 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.616e-05/0.7525, allocations: 89.14 kB / 1.015 GB, free: 55.56 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.669e-05/0.7525, allocations: 0 / 1.015 GB, free: 55.56 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.67e-05/0.7526, allocations: 11.33 kB / 1.015 GB, free: 55.56 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.735e-05/0.7526, allocations: 5.156 kB / 1.015 GB, free: 55.56 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.281e-06/0.7526, allocations: 3.938 kB / 1.015 GB, free: 55.55 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.964e-05/0.7527, allocations: 90.69 kB / 1.016 GB, free: 55.48 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7527, allocations: 0.6875 kB / 1.016 GB, free: 55.48 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002064/0.7529, allocations: 10.78 kB / 1.016 GB, free: 55.48 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.0001329/0.753, allocations: 114.4 kB / 1.016 GB, free: 55.39 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002476/0.7533, allocations: 67.38 kB / 1.016 GB, free: 55.39 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.7533, allocations: 384 / 1.016 GB, free: 55.39 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 9.585e-05/0.7534, allocations: 37.75 kB / 1.016 GB, free: 55.38 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002249/0.7536, allocations: 2.875 kB / 1.016 GB, free: 55.38 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002747/0.7539, allocations: 138.5 kB / 1.016 GB, free: 55.27 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000123/0.754, allocations: 0.6878 MB / 1.017 GB, free: 54.57 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.837e-05/0.7541, allocations: 6.562 kB / 1.017 GB, free: 54.56 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.107e-05/0.7541, allocations: 13.39 kB / 1.017 GB, free: 54.55 MB / 0.7136 GB Notification: Performance of SimCode: time 2.11e-07/0.7541, allocations: 0 / 1.017 GB, free: 54.55 MB / 0.7136 GB Notification: Performance of Templates: time 0.002809/0.7569, allocations: 0.6398 MB / 1.017 GB, free: 54.52 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.UnitDelay.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.UnitDelay.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.UnitDelay.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.UnitDelay.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.UnitDelay.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.UnitDelay -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.UnitDelay.pipe 2>&1)