Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean.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.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean") 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.607/1.607, allocations: 297.4 MB / 312.6 MB, free: 2.914 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.000977/0.000977, allocations: 185.4 kB / 382.3 MB, free: 14.8 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.306/1.306, allocations: 225.7 MB / 0.6617 GB, free: 7.195 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.0008381/0.0008382, allocations: 96.98 kB / 0.7789 GB, free: 46.98 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003469/0.0003469, allocations: 8 kB / 0.9059 GB, free: 4.891 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5648/0.5652, allocations: 119.2 MB / 1.022 GB, free: 58.11 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean): time 0.001345/0.5666, allocations: 1.102 MB / 1.023 GB, free: 57.58 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0004996/0.5671, allocations: 356.6 kB / 1.024 GB, free: 57.36 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.486e-05/0.5671, allocations: 1.094 kB / 1.024 GB, free: 57.36 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 7.733e-05/0.5672, allocations: 3.938 kB / 1.024 GB, free: 57.36 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001366/0.5674, allocations: 12.77 kB / 1.024 GB, free: 57.35 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001286/0.5675, allocations: 30.69 kB / 1.024 GB, free: 57.34 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 8.717e-05/0.5676, allocations: 53.53 kB / 1.024 GB, free: 57.32 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 7.826e-05/0.5677, allocations: 7.625 kB / 1.024 GB, free: 57.32 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 8.321e-05/0.5678, allocations: 29.09 kB / 1.024 GB, free: 57.3 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 9.484e-05/0.5679, allocations: 31.78 kB / 1.024 GB, free: 57.29 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.61e-05/0.5679, allocations: 4.906 kB / 1.024 GB, free: 57.29 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 1.269e-05/0.5679, allocations: 2.844 kB / 1.024 GB, free: 57.29 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 3.478e-05/0.568, allocations: 10.36 kB / 1.024 GB, free: 57.29 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 5.452e-05/0.568, allocations: 47.2 kB / 1.024 GB, free: 57.25 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 9.15e-05/0.5681, allocations: 58.56 kB / 1.024 GB, free: 57.23 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.5681, allocations: 0.8438 kB / 1.024 GB, free: 57.23 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.493e-06/0.5681, allocations: 0 / 1.024 GB, free: 57.23 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.888e-06/0.5681, allocations: 2.25 kB / 1.024 GB, free: 57.23 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0003847/0.5685, allocations: 385.9 kB / 1.024 GB, free: 56.83 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.5686, allocations: 13.56 kB / 1.024 GB, free: 56.82 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.256e-05/0.5686, allocations: 5.688 kB / 1.024 GB, free: 56.82 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000131/0.5688, allocations: 193.4 kB / 1.025 GB, free: 56.61 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.464e-05/0.5688, allocations: 1.75 kB / 1.025 GB, free: 56.61 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.784e-05/0.5688, allocations: 5.625 kB / 1.025 GB, free: 56.61 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000154/0.569, allocations: 68.8 kB / 1.025 GB, free: 56.57 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.569, allocations: 3.016 kB / 1.025 GB, free: 56.57 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.569, allocations: 5.469 kB / 1.025 GB, free: 56.56 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.299e-06/0.569, allocations: 1.375 kB / 1.025 GB, free: 56.56 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001128/0.5691, allocations: 49.36 kB / 1.025 GB, free: 56.55 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003454/0.5695, allocations: 289.1 kB / 1.025 GB, free: 56.27 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001072/0.5696, allocations: 72.38 kB / 1.025 GB, free: 56.21 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.573e-05/0.5697, allocations: 59.75 kB / 1.025 GB, free: 56.18 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.896e-05/0.5697, allocations: 0.875 kB / 1.025 GB, free: 56.18 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001866/0.5699, allocations: 124.9 kB / 1.025 GB, free: 56.09 MB / 0.698 GB Notification: Performance of pre-optimization done (n=11): time 1.263e-06/0.5699, allocations: 0 / 1.025 GB, free: 56.09 MB / 0.698 GB Notification: Performance of matching and sorting (n=11): time 0.0003788/0.5703, allocations: 199.8 kB / 1.025 GB, free: 55.98 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.662e-05/0.5704, allocations: 113.1 kB / 1.026 GB, free: 55.86 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.713e-05/0.5704, allocations: 116.4 kB / 1.026 GB, free: 55.75 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.517e-05/0.5704, allocations: 31.19 kB / 1.026 GB, free: 55.71 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.449e-05/0.5705, allocations: 86.72 kB / 1.026 GB, free: 55.63 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.741e-05/0.5705, allocations: 33.89 kB / 1.026 GB, free: 55.61 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.512e-06/0.5705, allocations: 0 / 1.026 GB, free: 55.61 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 4.602e-05/0.5706, allocations: 322.7 kB / 1.026 GB, free: 55.29 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.585e-05/0.5707, allocations: 40.94 kB / 1.026 GB, free: 55.28 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001087/0.5708, allocations: 106 kB / 1.026 GB, free: 55.18 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001999/0.571, allocations: 217.6 kB / 1.026 GB, free: 55 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.571, allocations: 3.938 kB / 1.026 GB, free: 55 MB / 0.698 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002933/0.5713, allocations: 204.6 kB / 1.027 GB, free: 54.88 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.697e-05/0.5714, allocations: 36.94 kB / 1.027 GB, free: 54.85 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.5714, allocations: 3 kB / 1.027 GB, free: 54.85 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.5714, allocations: 4.078 kB / 1.027 GB, free: 54.85 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001152/0.5715, allocations: 28.8 kB / 1.027 GB, free: 54.84 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.5715, allocations: 4.203 kB / 1.027 GB, free: 54.84 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.895e-05/0.5716, allocations: 11.12 kB / 1.027 GB, free: 54.84 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.564e-05/0.5716, allocations: 12.09 kB / 1.027 GB, free: 54.83 MB / 0.698 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000108/0.5717, allocations: 178 kB / 1.027 GB, free: 54.67 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.688e-05/0.5718, allocations: 9.422 kB / 1.027 GB, free: 54.66 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.962e-05/0.5718, allocations: 5.781 kB / 1.027 GB, free: 54.66 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/0.5718, allocations: 2.266 kB / 1.027 GB, free: 54.66 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.5718, allocations: 5.812 kB / 1.027 GB, free: 54.66 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.5718, allocations: 0 / 1.027 GB, free: 54.66 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001042/0.5719, allocations: 197.4 kB / 1.027 GB, free: 54.45 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.5719, allocations: 0.8438 kB / 1.027 GB, free: 54.45 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.208e-05/0.572, allocations: 9.25 kB / 1.027 GB, free: 54.44 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.572, allocations: 1.062 kB / 1.027 GB, free: 54.44 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.386e-05/0.572, allocations: 4.531 kB / 1.027 GB, free: 54.44 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.572, allocations: 0 / 1.027 GB, free: 54.44 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.572, allocations: 5.469 kB / 1.027 GB, free: 54.44 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003026/0.5723, allocations: 227.5 kB / 1.027 GB, free: 54.29 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.229e-05/0.5724, allocations: 91.3 kB / 1.027 GB, free: 54.19 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.012e-05/0.5724, allocations: 9.062 kB / 1.027 GB, free: 54.19 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.166e-05/0.5725, allocations: 4.453 kB / 1.027 GB, free: 54.19 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.455e-05/0.5725, allocations: 11.8 kB / 1.027 GB, free: 54.18 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.401e-05/0.5725, allocations: 5.391 kB / 1.027 GB, free: 54.18 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.077e-05/0.5726, allocations: 88.17 kB / 1.028 GB, free: 54.11 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5726, allocations: 0 / 1.028 GB, free: 54.11 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002013/0.5728, allocations: 19.19 kB / 1.028 GB, free: 54.11 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: 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.499e-05/0.5729, allocations: 126.1 kB / 1.028 GB, free: 54.01 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002489/0.5731, allocations: 171.1 kB / 1.028 GB, free: 53.91 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.5731, allocations: 0 / 1.028 GB, free: 53.91 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001507/0.5733, allocations: 184 kB / 1.028 GB, free: 53.79 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000178/0.5735, allocations: 19.3 kB / 1.028 GB, free: 53.78 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003244/0.5738, allocations: 194.6 kB / 1.028 GB, free: 53.63 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001054/0.5739, allocations: 0.6878 MB / 1.029 GB, free: 52.94 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.723e-05/0.574, allocations: 11.28 kB / 1.029 GB, free: 52.93 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.47e-05/0.574, allocations: 19.56 kB / 1.029 GB, free: 52.91 MB / 0.698 GB Notification: Performance of SimCode: time 2.81e-07/0.574, allocations: 0 / 1.029 GB, free: 52.91 MB / 0.698 GB Notification: Performance of Templates: time 0.002714/0.5767, allocations: 0.8902 MB / 1.03 GB, free: 52.84 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean.makefile (rm -f Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean.pipe ; mkfifo Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean.pipe ; head -c 1048576 < Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean.pipe >> ../files/Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean.sim & ./Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean.pipe 2>&1)