Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean.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.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_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.1-maint.8.0.x/package.mo): time 2.055/2.055, allocations: 292.6 MB / 307.8 MB, free: 7.164 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.0009461/0.0009462, allocations: 189.4 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.38/1.38, allocations: 225.7 MB / 0.655 GB, free: 13.16 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.0007775/0.0007775, allocations: 99.98 kB / 0.7711 GB, free: 50.22 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0005131/0.0005135, allocations: 16.64 kB / 0.897 GB, free: 11.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6162/0.6167, allocations: 118.2 MB / 1.012 GB, free: 57.73 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean): time 0.0014/0.6182, allocations: 1.104 MB / 1.013 GB, free: 57.7 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0004624/0.6186, allocations: 254.2 kB / 1.014 GB, free: 57.67 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.005e-05/0.6187, allocations: 2.625 kB / 1.014 GB, free: 57.67 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 8.298e-05/0.6188, allocations: 3.938 kB / 1.014 GB, free: 57.67 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001314/0.6189, allocations: 12.38 kB / 1.014 GB, free: 57.66 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.000161/0.6191, allocations: 31.53 kB / 1.014 GB, free: 57.66 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 8.47e-05/0.6192, allocations: 45.27 kB / 1.014 GB, free: 57.65 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 9.237e-05/0.6193, allocations: 17.47 kB / 1.014 GB, free: 57.65 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 7.739e-05/0.6194, allocations: 24.62 kB / 1.014 GB, free: 57.65 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 9.868e-05/0.6195, allocations: 26.41 kB / 1.014 GB, free: 57.64 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.854e-05/0.6195, allocations: 4.594 kB / 1.014 GB, free: 57.64 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 1.483e-05/0.6195, allocations: 2.844 kB / 1.014 GB, free: 57.64 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.84e-05/0.6196, allocations: 12.14 kB / 1.014 GB, free: 57.64 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 6.046e-05/0.6196, allocations: 54.3 kB / 1.014 GB, free: 57.6 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 8.059e-05/0.6197, allocations: 43.61 kB / 1.014 GB, free: 57.6 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.6197, allocations: 3.719 kB / 1.014 GB, free: 57.6 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.693e-06/0.6197, allocations: 0 / 1.014 GB, free: 57.6 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.6197, allocations: 0.5312 kB / 1.014 GB, free: 57.6 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.0004132/0.6202, allocations: 381.3 kB / 1.014 GB, free: 57.21 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.6202, allocations: 7.156 kB / 1.014 GB, free: 57.21 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.389e-05/0.6202, allocations: 10.12 kB / 1.014 GB, free: 57.2 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001269/0.6204, allocations: 180.9 kB / 1.015 GB, free: 57 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.514e-05/0.6204, allocations: 1.906 kB / 1.015 GB, free: 57 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.652e-05/0.6204, allocations: 4.094 kB / 1.015 GB, free: 57 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001615/0.6206, allocations: 77.72 kB / 1.015 GB, free: 56.96 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.814e-06/0.6206, allocations: 3 kB / 1.015 GB, free: 56.96 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.6206, allocations: 3.938 kB / 1.015 GB, free: 56.96 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.6206, allocations: 1.625 kB / 1.015 GB, free: 56.96 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001032/0.6207, allocations: 42.55 kB / 1.015 GB, free: 56.96 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003662/0.6211, allocations: 298.5 kB / 1.015 GB, free: 56.7 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001107/0.6212, allocations: 76.03 kB / 1.015 GB, free: 56.67 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.412e-05/0.6213, allocations: 62.3 kB / 1.015 GB, free: 56.66 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.962e-05/0.6214, allocations: 0 / 1.015 GB, free: 56.66 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001767/0.6216, allocations: 117 kB / 1.015 GB, free: 56.58 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=11): time 1.362e-06/0.6216, allocations: 0 / 1.015 GB, free: 56.58 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.0003543/0.6219, allocations: 201.6 kB / 1.015 GB, free: 56.51 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.455e-05/0.622, allocations: 121.8 kB / 1.016 GB, free: 56.38 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.582e-05/0.622, allocations: 107.6 kB / 1.016 GB, free: 56.29 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.667e-05/0.6221, allocations: 35.8 kB / 1.016 GB, free: 56.25 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.788e-05/0.6221, allocations: 91.23 kB / 1.016 GB, free: 56.17 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.387e-05/0.6221, allocations: 32.09 kB / 1.016 GB, free: 56.15 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.531e-06/0.6221, allocations: 0 / 1.016 GB, free: 56.15 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 5.268e-05/0.6222, allocations: 320.9 kB / 1.016 GB, free: 55.84 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.223e-05/0.6223, allocations: 40.78 kB / 1.016 GB, free: 55.84 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001002/0.6224, allocations: 105.1 kB / 1.016 GB, free: 55.76 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001857/0.6226, allocations: 210.3 kB / 1.016 GB, free: 55.61 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/0.6226, allocations: 6.844 kB / 1.016 GB, free: 55.61 MB / 0.7136 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002678/0.6229, allocations: 209.6 kB / 1.017 GB, free: 55.53 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.324e-05/0.6229, allocations: 28.58 kB / 1.017 GB, free: 55.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.6229, allocations: 3.031 kB / 1.017 GB, free: 55.5 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.6229, allocations: 7.688 kB / 1.017 GB, free: 55.5 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001282/0.6231, allocations: 26.55 kB / 1.017 GB, free: 55.49 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.347e-06/0.6231, allocations: 5.656 kB / 1.017 GB, free: 55.49 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.96e-05/0.6232, allocations: 18.72 kB / 1.017 GB, free: 55.49 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.324e-05/0.6232, allocations: 7.688 kB / 1.017 GB, free: 55.49 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.0001019/0.6233, allocations: 176 kB / 1.017 GB, free: 55.34 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.584e-05/0.6233, allocations: 11.31 kB / 1.017 GB, free: 55.33 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.94e-05/0.6233, allocations: 4.375 kB / 1.017 GB, free: 55.33 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.6233, allocations: 0 / 1.017 GB, free: 55.33 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.6234, allocations: 4.312 kB / 1.017 GB, free: 55.33 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.6234, allocations: 3.328 kB / 1.017 GB, free: 55.33 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.86e-05/0.6235, allocations: 197.3 kB / 1.017 GB, free: 55.13 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.6235, allocations: 1.625 kB / 1.017 GB, free: 55.13 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.796e-05/0.6235, allocations: 2.844 kB / 1.017 GB, free: 55.13 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.6235, allocations: 0.5312 kB / 1.017 GB, free: 55.13 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.365e-05/0.6235, allocations: 10.39 kB / 1.017 GB, free: 55.13 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.6235, allocations: 0.6562 kB / 1.017 GB, free: 55.13 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.6236, allocations: 6.469 kB / 1.017 GB, free: 55.13 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002681/0.6238, allocations: 228.1 kB / 1.017 GB, free: 55.03 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.065e-05/0.6239, allocations: 84.02 kB / 1.017 GB, free: 54.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.678e-05/0.6239, allocations: 9.312 kB / 1.017 GB, free: 54.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.81e-05/0.624, allocations: 8.453 kB / 1.017 GB, free: 54.93 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.603e-05/0.624, allocations: 2.406 kB / 1.017 GB, free: 54.93 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.217e-05/0.624, allocations: 8.844 kB / 1.017 GB, free: 54.93 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.475e-05/0.624, allocations: 84.7 kB / 1.018 GB, free: 54.85 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.3e-07/0.624, allocations: 2.906 kB / 1.018 GB, free: 54.85 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000198/0.6243, allocations: 21.09 kB / 1.018 GB, free: 54.85 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 9.303e-05/0.6244, allocations: 120.7 kB / 1.018 GB, free: 54.77 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002489/0.6246, allocations: 180 kB / 1.018 GB, free: 54.69 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.6246, allocations: 0 / 1.018 GB, free: 54.69 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001347/0.6248, allocations: 184.4 kB / 1.018 GB, free: 54.63 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001697/0.6249, allocations: 14.38 kB / 1.018 GB, free: 54.62 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002995/0.6252, allocations: 196.9 kB / 1.018 GB, free: 54.5 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.543e-05/0.6254, allocations: 0.6907 MB / 1.019 GB, free: 53.8 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.718e-05/0.6254, allocations: 8.391 kB / 1.019 GB, free: 53.8 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.228e-05/0.6254, allocations: 16.09 kB / 1.019 GB, free: 53.79 MB / 0.7136 GB Notification: Performance of SimCode: time 2.11e-07/0.6254, allocations: 0 / 1.019 GB, free: 53.79 MB / 0.7136 GB Notification: Performance of Templates: time 0.002652/0.6281, allocations: 0.8738 MB / 1.02 GB, free: 53.75 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean.makefile (rm -f Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean.sim & ./Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean.pipe 2>&1)