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.Continuous.Validation.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.Controls.OBC.CDL.Continuous.Validation.MovingMean,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.891/1.891, allocations: 291.7 MB / 306.8 MB, free: 7.695 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.001148/0.001148, allocations: 187.9 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.401/1.401, allocations: 225.7 MB / 0.6538 GB, free: 13.63 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.0009696/0.0009693, allocations: 99.69 kB / 0.7699 GB, free: 50.34 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004294/0.0004295, allocations: 12.84 kB / 0.8956 GB, free: 11.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.704/0.7044, allocations: 118.1 MB / 1.011 GB, free: 57.86 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean): time 0.002037/0.7065, allocations: 1.619 MB / 1.013 GB, free: 57.78 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0008795/0.7074, allocations: 0.6002 MB / 1.013 GB, free: 57.71 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.063e-05/0.7075, allocations: 3.781 kB / 1.013 GB, free: 57.71 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.954e-05/0.7075, allocations: 15.8 kB / 1.013 GB, free: 57.7 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001285/0.7077, allocations: 29.88 kB / 1.013 GB, free: 57.69 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003535/0.708, allocations: 122.9 kB / 1.013 GB, free: 57.69 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0002435/0.7083, allocations: 290.7 kB / 1.014 GB, free: 57.64 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000156/0.7084, allocations: 46.66 kB / 1.014 GB, free: 57.64 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001718/0.7086, allocations: 108.7 kB / 1.014 GB, free: 57.62 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001475/0.7088, allocations: 139.8 kB / 1.014 GB, free: 57.6 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 4.319e-05/0.7088, allocations: 14.91 kB / 1.014 GB, free: 57.6 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 3.661e-05/0.7089, allocations: 12.25 kB / 1.014 GB, free: 57.6 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 6.329e-05/0.7089, allocations: 62.67 kB / 1.014 GB, free: 57.59 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 5.574e-05/0.709, allocations: 65.3 kB / 1.014 GB, free: 57.55 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001918/0.7092, allocations: 207 kB / 1.014 GB, free: 57.54 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.7092, allocations: 2.844 kB / 1.014 GB, free: 57.54 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.394e-06/0.7092, allocations: 0 / 1.014 GB, free: 57.54 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.81e-06/0.7092, allocations: 0 / 1.014 GB, free: 57.54 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.00107/0.7103, allocations: 0.6115 MB / 1.015 GB, free: 57.12 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.7103, allocations: 9.594 kB / 1.015 GB, free: 57.12 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.13e-05/0.7104, allocations: 29.69 kB / 1.015 GB, free: 57.11 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001148/0.7106, allocations: 206.7 kB / 1.015 GB, free: 56.88 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001635/0.7107, allocations: 269.1 kB / 1.015 GB, free: 56.6 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.608e-05/0.7108, allocations: 28.39 kB / 1.015 GB, free: 56.6 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004674/0.7113, allocations: 267.4 kB / 1.016 GB, free: 56.54 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.034e-05/0.7113, allocations: 4.406 kB / 1.016 GB, free: 56.53 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.039e-05/0.7113, allocations: 18.19 kB / 1.016 GB, free: 56.53 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.7113, allocations: 5.844 kB / 1.016 GB, free: 56.53 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004739/0.7118, allocations: 181.3 kB / 1.016 GB, free: 56.53 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009626/0.7128, allocations: 0.7794 MB / 1.016 GB, free: 56.07 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004567/0.7133, allocations: 216 kB / 1.017 GB, free: 56 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000259/0.7135, allocations: 133.1 kB / 1.017 GB, free: 55.97 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 4.623e-05/0.7136, allocations: 12.16 kB / 1.017 GB, free: 55.97 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000524/0.7141, allocations: 326.8 kB / 1.017 GB, free: 55.88 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=48): time 1.974e-06/0.7141, allocations: 0 / 1.017 GB, free: 55.88 MB / 0.7136 GB Notification: Performance of matching and sorting (n=48): time 0.0009545/0.7151, allocations: 498.8 kB / 1.018 GB, free: 55.83 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.899e-05/0.7152, allocations: 114.2 kB / 1.018 GB, free: 55.7 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001347/0.7153, allocations: 169.8 kB / 1.018 GB, free: 55.6 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.367e-05/0.7153, allocations: 42.83 kB / 1.018 GB, free: 55.57 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.733e-05/0.7154, allocations: 121.8 kB / 1.018 GB, free: 55.48 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 9.56e-05/0.7155, allocations: 152.5 kB / 1.018 GB, free: 55.39 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.373e-05/0.7155, allocations: 10.69 kB / 1.018 GB, free: 55.39 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001127/0.7157, allocations: 343.2 kB / 1.019 GB, free: 55.07 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002829/0.7159, allocations: 147.5 kB / 1.019 GB, free: 55.07 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003182/0.7163, allocations: 261 kB / 1.019 GB, free: 54.98 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005617/0.7168, allocations: 400.5 kB / 1.019 GB, free: 54.87 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.7169, allocations: 1.375 kB / 1.019 GB, free: 54.87 MB / 0.7136 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0007414/0.7176, allocations: 0.4935 MB / 1.02 GB, free: 54.8 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.7176, allocations: 7.219 kB / 1.02 GB, free: 54.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.7176, allocations: 1.438 kB / 1.02 GB, free: 54.8 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.489e-05/0.7177, allocations: 6.406 kB / 1.02 GB, free: 54.8 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003578/0.718, allocations: 106.2 kB / 1.02 GB, free: 54.8 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.158e-05/0.7181, allocations: 6.719 kB / 1.02 GB, free: 54.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002595/0.7183, allocations: 63.47 kB / 1.02 GB, free: 54.78 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.021e-05/0.7184, allocations: 25.84 kB / 1.02 GB, free: 54.78 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 27 ($whenCondition5,$PRE.movingMean_1.mode,movingMean_1.mode,$whenCondition6,$PRE.movingMean_2.mode,movingMean_2.mode,$whenCondition7,$PRE.movingMean_3.mode,movingMean_3.mode,$whenCondition8,$PRE.movingMean_4.mode,movingMean_4.mode,$whenCondition9,$PRE.movingMean_5.mode,movingMean_5.mode,$whenCondition3,$PRE.movingMean_6.mode,movingMean_6.mode,$whenCondition4,$PRE.movingMean_7.mode,movingMean_7.mode,$whenCondition1,$PRE.movingMean_8.mode,movingMean_8.mode,$whenCondition2,$PRE.movingMean_9.mode,movingMean_9.mode) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 75 * 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.000137/0.7185, allocations: 163.2 kB / 1.02 GB, free: 54.66 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.125e-05/0.7186, allocations: 30.28 kB / 1.02 GB, free: 54.64 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.867e-05/0.7186, allocations: 27.06 kB / 1.02 GB, free: 54.64 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.783e-06/0.7186, allocations: 6.562 kB / 1.02 GB, free: 54.64 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.648e-06/0.7186, allocations: 0.75 kB / 1.02 GB, free: 54.64 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.107e-06/0.7187, allocations: 5.328 kB / 1.02 GB, free: 54.64 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003119/0.719, allocations: 364.7 kB / 1.021 GB, free: 54.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.719, allocations: 0 / 1.021 GB, free: 54.43 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003866/0.7194, allocations: 86.06 kB / 1.021 GB, free: 54.42 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.7194, allocations: 0.9375 kB / 1.021 GB, free: 54.42 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.365e-05/0.7194, allocations: 15.42 kB / 1.021 GB, free: 54.42 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.948e-06/0.7194, allocations: 6.875 kB / 1.021 GB, free: 54.41 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.7194, allocations: 0 / 1.021 GB, free: 54.41 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009584/0.7204, allocations: 0.5914 MB / 1.021 GB, free: 54.3 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.18e-05/0.7205, allocations: 114.5 kB / 1.021 GB, free: 54.18 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.831e-05/0.7205, allocations: 13.53 kB / 1.021 GB, free: 54.18 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002277/0.7207, allocations: 41.56 kB / 1.021 GB, free: 54.18 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.978e-05/0.7209, allocations: 39.16 kB / 1.021 GB, free: 54.18 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.759e-05/0.7209, allocations: 20.64 kB / 1.021 GB, free: 54.18 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 7.966e-05/0.721, allocations: 126.6 kB / 1.022 GB, free: 54.1 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.21e-07/0.721, allocations: 0 / 1.022 GB, free: 54.1 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003047/0.7213, allocations: 82.59 kB / 1.022 GB, free: 54.1 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 9 (movingMean_1.mu,movingMean_2.mu,movingMean_3.mu,movingMean_4.mu,movingMean_5.mu,movingMean_6.mu,movingMean_7.mu,movingMean_8.mu,movingMean_9.mu) * Number of discrete variables: 18 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,movingMean_1.mode,movingMean_2.mode,movingMean_3.mode,movingMean_4.mode,movingMean_5.mode,$whenCondition4,$whenCondition3,movingMean_6.mode,movingMean_7.mode,$whenCondition2,$whenCondition1,movingMean_8.mode,movingMean_9.mode) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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.0001677/0.7215, allocations: 123.6 kB / 1.022 GB, free: 54.01 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0006887/0.7222, allocations: 392.3 kB / 1.022 GB, free: 53.98 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.7222, allocations: 0 / 1.022 GB, free: 53.98 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0003383/0.7225, allocations: 193.2 kB / 1.022 GB, free: 53.97 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000326/0.7229, allocations: 46.09 kB / 1.022 GB, free: 53.96 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009997/0.7239, allocations: 0.7177 MB / 1.023 GB, free: 53.57 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001581/0.724, allocations: 0.7645 MB / 1.024 GB, free: 52.87 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001658/0.7242, allocations: 40.05 kB / 1.024 GB, free: 52.87 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.784e-05/0.7243, allocations: 32.45 kB / 1.024 GB, free: 52.86 MB / 0.7136 GB Notification: Performance of SimCode: time 2.4e-07/0.7243, allocations: 0 / 1.024 GB, free: 52.86 MB / 0.7136 GB Notification: Performance of Templates: time 0.005802/0.7301, allocations: 3.034 MB / 1.027 GB, free: 52.75 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe 2>&1)