Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean.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.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.721/1.721, allocations: 291.7 MB / 306.8 MB, free: 7.699 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.001273/0.001273, allocations: 185.5 kB / 375.4 MB, free: 5.113 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.509/1.509, allocations: 225.7 MB / 0.6538 GB, free: 13.53 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.0007878/0.0007877, allocations: 98.61 kB / 0.7699 GB, free: 50.49 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004049/0.0004051, allocations: 8 kB / 0.8956 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6562/0.6567, allocations: 118.1 MB / 1.011 GB, free: 58.03 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean): time 0.001225/0.6579, allocations: 1.1 MB / 1.012 GB, free: 58 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0004117/0.6584, allocations: 256.9 kB / 1.012 GB, free: 57.98 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.605e-05/0.6584, allocations: 0 / 1.012 GB, free: 57.98 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 4.412e-05/0.6585, allocations: 4.844 kB / 1.012 GB, free: 57.97 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 8.666e-05/0.6585, allocations: 10.55 kB / 1.012 GB, free: 57.97 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 9.567e-05/0.6587, allocations: 37.55 kB / 1.012 GB, free: 57.96 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 6.529e-05/0.6587, allocations: 47.34 kB / 1.012 GB, free: 57.96 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 8.715e-05/0.6588, allocations: 12.31 kB / 1.012 GB, free: 57.96 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 8.543e-05/0.6589, allocations: 25.75 kB / 1.012 GB, free: 57.95 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000103/0.659, allocations: 26.23 kB / 1.012 GB, free: 57.95 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.841e-05/0.659, allocations: 5.562 kB / 1.012 GB, free: 57.95 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 1.607e-05/0.6591, allocations: 2.906 kB / 1.012 GB, free: 57.95 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 3.137e-05/0.6591, allocations: 8.625 kB / 1.012 GB, free: 57.95 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 4.351e-05/0.6592, allocations: 36.02 kB / 1.012 GB, free: 57.91 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 8.916e-05/0.6593, allocations: 47.95 kB / 1.012 GB, free: 57.91 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.6593, allocations: 1.422 kB / 1.012 GB, free: 57.91 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.453e-06/0.6593, allocations: 0.5625 kB / 1.012 GB, free: 57.91 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.549e-06/0.6593, allocations: 0 / 1.012 GB, free: 57.91 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.000455/0.6597, allocations: 377.6 kB / 1.013 GB, free: 57.52 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.6598, allocations: 16.62 kB / 1.013 GB, free: 57.51 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.779e-05/0.6598, allocations: 8.094 kB / 1.013 GB, free: 57.51 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001403/0.66, allocations: 183.5 kB / 1.013 GB, free: 57.3 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/0.66, allocations: 8.438 kB / 1.013 GB, free: 57.3 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.349e-05/0.66, allocations: 3.969 kB / 1.013 GB, free: 57.3 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001976/0.6602, allocations: 73.45 kB / 1.013 GB, free: 57.27 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.6602, allocations: 192 / 1.013 GB, free: 57.27 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.442e-05/0.6603, allocations: 9.406 kB / 1.013 GB, free: 57.27 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.6603, allocations: 0 / 1.013 GB, free: 57.27 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001148/0.6604, allocations: 45.84 kB / 1.013 GB, free: 57.27 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003756/0.6608, allocations: 286.2 kB / 1.013 GB, free: 57 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001117/0.6609, allocations: 72.17 kB / 1.014 GB, free: 56.98 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.666e-05/0.661, allocations: 59.16 kB / 1.014 GB, free: 56.97 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.721e-05/0.661, allocations: 2 kB / 1.014 GB, free: 56.97 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001861/0.6612, allocations: 124.4 kB / 1.014 GB, free: 56.89 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=11): time 1.363e-06/0.6612, allocations: 0 / 1.014 GB, free: 56.89 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.0003702/0.6616, allocations: 201.4 kB / 1.014 GB, free: 56.81 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.945e-05/0.6617, allocations: 121.5 kB / 1.014 GB, free: 56.69 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.545e-05/0.6617, allocations: 107.9 kB / 1.014 GB, free: 56.59 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.44e-05/0.6617, allocations: 35.62 kB / 1.014 GB, free: 56.56 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.711e-05/0.6618, allocations: 87.33 kB / 1.014 GB, free: 56.48 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.607e-05/0.6618, allocations: 31.47 kB / 1.014 GB, free: 56.46 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.881e-06/0.6618, allocations: 9.406 kB / 1.014 GB, free: 56.46 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 5.561e-05/0.6619, allocations: 316.7 kB / 1.015 GB, free: 56.14 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.934e-05/0.662, allocations: 38.48 kB / 1.015 GB, free: 56.14 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.964e-05/0.6621, allocations: 103.4 kB / 1.015 GB, free: 56.07 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001887/0.6623, allocations: 214.4 kB / 1.015 GB, free: 55.92 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.6623, allocations: 6.969 kB / 1.015 GB, free: 55.91 MB / 0.7136 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002665/0.6626, allocations: 207 kB / 1.015 GB, free: 55.83 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.295e-05/0.6626, allocations: 35.08 kB / 1.015 GB, free: 55.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.6626, allocations: 3.062 kB / 1.015 GB, free: 55.8 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.6626, allocations: 7.109 kB / 1.015 GB, free: 55.8 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000106/0.6627, allocations: 22.53 kB / 1.015 GB, free: 55.8 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.678e-06/0.6627, allocations: 6.312 kB / 1.015 GB, free: 55.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.603e-05/0.6628, allocations: 16.31 kB / 1.015 GB, free: 55.79 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.301e-05/0.6628, allocations: 12.56 kB / 1.015 GB, free: 55.79 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 18 ($PRE.movMea.iSample,movMea.iSample,$PRE.movMea.counter,movMea.counter,$PRE.movMea.ySample[4],movMea.ySample[4],$PRE.movMea.ySample[3],movMea.ySample[3],$PRE.movMea.ySample[2],movMea.ySample[2],$PRE.movMea.ySample[1],movMea.ySample[1],$PRE.movMea.index,movMea.index,$PRE.movMea.y,movMea.y,$whenCondition1,movMea.sampleTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 19 * 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.0001057/0.663, allocations: 170.1 kB / 1.015 GB, free: 55.64 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.719e-05/0.663, allocations: 10.2 kB / 1.015 GB, free: 55.64 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.055e-05/0.663, allocations: 7.812 kB / 1.015 GB, free: 55.63 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-06/0.663, allocations: 3.969 kB / 1.015 GB, free: 55.63 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.663, allocations: 0 / 1.015 GB, free: 55.63 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.848e-06/0.663, allocations: 9.609 kB / 1.015 GB, free: 55.63 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.741e-05/0.6631, allocations: 195.3 kB / 1.016 GB, free: 55.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.6631, allocations: 0 / 1.016 GB, free: 55.43 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.85e-05/0.6632, allocations: 2.906 kB / 1.016 GB, free: 55.43 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.6632, allocations: 0 / 1.016 GB, free: 55.43 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.237e-05/0.6632, allocations: 6.078 kB / 1.016 GB, free: 55.43 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.6632, allocations: 6.5 kB / 1.016 GB, free: 55.43 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.6632, allocations: 1.25 kB / 1.016 GB, free: 55.43 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002935/0.6635, allocations: 234 kB / 1.016 GB, free: 55.33 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.318e-05/0.6636, allocations: 84.25 kB / 1.016 GB, free: 55.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.878e-05/0.6636, allocations: 5.875 kB / 1.016 GB, free: 55.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.779e-05/0.6637, allocations: 6.844 kB / 1.016 GB, free: 55.23 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.78e-05/0.6637, allocations: 7.609 kB / 1.016 GB, free: 55.23 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.064e-05/0.6637, allocations: 6.562 kB / 1.016 GB, free: 55.23 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.174e-05/0.6638, allocations: 87.44 kB / 1.016 GB, free: 55.16 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6638, allocations: 0 / 1.016 GB, free: 55.16 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002194/0.664, allocations: 20.88 kB / 1.016 GB, free: 55.16 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: 10 ($whenCondition1,movMea.y,movMea.sampleTrigger,movMea.iSample,movMea.counter,movMea.index,movMea.ySample[1],movMea.ySample[2],movMea.ySample[3],movMea.ySample[4]) * Number of discrete states: 9 (movMea.iSample,movMea.y,movMea.counter,movMea.ySample[4],movMea.ySample[3],movMea.ySample[2],movMea.ySample[1],movMea.index,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 0.000114/0.6641, allocations: 126.1 kB / 1.016 GB, free: 55.07 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003113/0.6644, allocations: 174.3 kB / 1.016 GB, free: 55 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.6644, allocations: 1.75 kB / 1.016 GB, free: 55 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.000177/0.6646, allocations: 189.9 kB / 1.017 GB, free: 54.93 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001722/0.6648, allocations: 9.438 kB / 1.017 GB, free: 54.93 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003407/0.6652, allocations: 196.3 kB / 1.017 GB, free: 54.8 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000119/0.6653, allocations: 0.6893 MB / 1.017 GB, free: 54.1 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.829e-05/0.6653, allocations: 14.47 kB / 1.017 GB, free: 54.1 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.565e-05/0.6654, allocations: 16.38 kB / 1.017 GB, free: 54.09 MB / 0.7136 GB Notification: Performance of SimCode: time 2.2e-07/0.6654, allocations: 0 / 1.017 GB, free: 54.09 MB / 0.7136 GB Notification: Performance of Templates: time 0.002576/0.668, allocations: 0.8661 MB / 1.018 GB, free: 54.05 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean.makefile (rm -f Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean.pipe ; mkfifo Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean.pipe >> ../files/Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean.sim & ./Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean.pipe 2>&1)