Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.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.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart") 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.881/1.881, allocations: 297.4 MB / 312.6 MB, free: 2.945 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.001323/0.001323, allocations: 190 kB / 382.3 MB, free: 14.85 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.423/1.423, allocations: 225.7 MB / 0.6617 GB, free: 7.254 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.001023/0.001023, allocations: 98.08 kB / 0.7789 GB, free: 46.73 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003936/0.0003936, allocations: 12 kB / 0.9059 GB, free: 4.918 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7867/0.7871, allocations: 119.2 MB / 1.022 GB, free: 57.41 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart): time 0.002375/0.7896, allocations: 1.621 MB / 1.024 GB, free: 56.62 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001036/0.7907, allocations: 0.6982 MB / 1.025 GB, free: 56.15 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.042e-05/0.7907, allocations: 2.75 kB / 1.025 GB, free: 56.15 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 3.05e-05/0.7908, allocations: 12.31 kB / 1.025 GB, free: 56.14 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001173/0.7909, allocations: 30.59 kB / 1.025 GB, free: 56.12 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003883/0.7913, allocations: 132.9 kB / 1.025 GB, free: 56.05 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0003022/0.7916, allocations: 309.1 kB / 1.025 GB, free: 55.92 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001623/0.7918, allocations: 45.91 kB / 1.025 GB, free: 55.9 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001863/0.792, allocations: 107.9 kB / 1.025 GB, free: 55.86 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000208/0.7922, allocations: 137.5 kB / 1.025 GB, free: 55.8 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 4.553e-05/0.7923, allocations: 15.44 kB / 1.025 GB, free: 55.8 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 4.312e-05/0.7923, allocations: 15.28 kB / 1.025 GB, free: 55.8 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 8.171e-05/0.7924, allocations: 60.16 kB / 1.025 GB, free: 55.77 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001469/0.7925, allocations: 146.8 kB / 1.026 GB, free: 55.68 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0003142/0.7929, allocations: 289.6 kB / 1.026 GB, free: 55.59 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.7929, allocations: 3.938 kB / 1.026 GB, free: 55.59 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.934e-06/0.7929, allocations: 2.969 kB / 1.026 GB, free: 55.59 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.412e-06/0.7929, allocations: 0 / 1.026 GB, free: 55.59 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.001222/0.7941, allocations: 0.5965 MB / 1.026 GB, free: 55.15 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.266e-05/0.7942, allocations: 9.625 kB / 1.026 GB, free: 55.15 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.753e-05/0.7943, allocations: 31.86 kB / 1.026 GB, free: 55.14 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001212/0.7944, allocations: 209.4 kB / 1.027 GB, free: 54.91 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001666/0.7946, allocations: 267.8 kB / 1.027 GB, free: 54.62 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.755e-05/0.7946, allocations: 32.73 kB / 1.027 GB, free: 54.61 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005252/0.7952, allocations: 268.5 kB / 1.027 GB, free: 54.48 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.532e-05/0.7952, allocations: 4.219 kB / 1.027 GB, free: 54.48 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.123e-05/0.7953, allocations: 8.688 kB / 1.027 GB, free: 54.47 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.7953, allocations: 6.344 kB / 1.027 GB, free: 54.47 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004251/0.7957, allocations: 193.4 kB / 1.027 GB, free: 54.42 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009409/0.7967, allocations: 0.7812 MB / 1.028 GB, free: 53.83 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004375/0.7971, allocations: 206.1 kB / 1.028 GB, free: 53.71 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002347/0.7973, allocations: 142.2 kB / 1.028 GB, free: 53.64 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.901e-05/0.7974, allocations: 18 kB / 1.028 GB, free: 53.64 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005171/0.7979, allocations: 313.1 kB / 1.029 GB, free: 53.49 MB / 0.698 GB Notification: Performance of pre-optimization done (n=48): time 1.803e-06/0.7979, allocations: 0 / 1.029 GB, free: 53.49 MB / 0.698 GB Notification: Performance of matching and sorting (n=48): time 0.0009841/0.7989, allocations: 0.4956 MB / 1.029 GB, free: 53.31 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.694e-05/0.799, allocations: 116.5 kB / 1.029 GB, free: 53.18 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001274/0.7991, allocations: 170.4 kB / 1.03 GB, free: 53.06 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.979e-05/0.7992, allocations: 41.2 kB / 1.03 GB, free: 53.02 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.023e-05/0.7992, allocations: 121.8 kB / 1.03 GB, free: 52.91 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.469e-05/0.7993, allocations: 149.5 kB / 1.03 GB, free: 52.79 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.092e-05/0.7993, allocations: 16.16 kB / 1.03 GB, free: 52.78 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.652e-05/0.7994, allocations: 336.9 kB / 1.03 GB, free: 52.46 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002873/0.7997, allocations: 152.3 kB / 1.03 GB, free: 52.41 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003416/0.8001, allocations: 253.8 kB / 1.031 GB, free: 52.25 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005788/0.8007, allocations: 406.4 kB / 1.031 GB, free: 52.02 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.8007, allocations: 7.219 kB / 1.031 GB, free: 52.02 MB / 0.698 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0007611/0.8014, allocations: 499.8 kB / 1.031 GB, free: 51.81 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/0.8015, allocations: 9.625 kB / 1.031 GB, free: 51.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.8015, allocations: 3.594 kB / 1.031 GB, free: 51.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.465e-05/0.8015, allocations: 5.156 kB / 1.031 GB, free: 51.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003742/0.8019, allocations: 103.8 kB / 1.032 GB, free: 51.79 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.346e-05/0.8019, allocations: 10.22 kB / 1.032 GB, free: 51.79 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002847/0.8022, allocations: 66.2 kB / 1.032 GB, free: 51.76 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.779e-05/0.8022, allocations: 23.22 kB / 1.032 GB, free: 51.75 MB / 0.698 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001498/0.8024, allocations: 167.6 kB / 1.032 GB, free: 51.61 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.081e-05/0.8024, allocations: 29.66 kB / 1.032 GB, free: 51.59 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.353e-05/0.8025, allocations: 32.53 kB / 1.032 GB, free: 51.57 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/0.8025, allocations: 5.438 kB / 1.032 GB, free: 51.57 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.656e-06/0.8025, allocations: 0 / 1.032 GB, free: 51.57 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/0.8025, allocations: 7.328 kB / 1.032 GB, free: 51.57 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003163/0.8029, allocations: 349.3 kB / 1.032 GB, free: 51.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.8029, allocations: 0 / 1.032 GB, free: 51.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003808/0.8033, allocations: 86.92 kB / 1.032 GB, free: 51.29 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.8033, allocations: 0 / 1.032 GB, free: 51.29 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.338e-05/0.8033, allocations: 12.73 kB / 1.032 GB, free: 51.29 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.8033, allocations: 5.578 kB / 1.032 GB, free: 51.28 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.8033, allocations: 6.312 kB / 1.032 GB, free: 51.28 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009862/0.8043, allocations: 0.6003 MB / 1.033 GB, free: 51 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.291e-05/0.8044, allocations: 114.1 kB / 1.033 GB, free: 50.88 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.473e-05/0.8045, allocations: 8.625 kB / 1.033 GB, free: 50.88 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002394/0.8047, allocations: 47.78 kB / 1.033 GB, free: 50.87 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00016/0.8049, allocations: 56.28 kB / 1.033 GB, free: 50.86 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.988e-05/0.8049, allocations: 12.38 kB / 1.033 GB, free: 50.86 MB / 0.698 GB Notification: Performance of sorting global known variables: time 9.264e-05/0.805, allocations: 131.3 kB / 1.033 GB, free: 50.76 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.805, allocations: 0 / 1.033 GB, free: 50.76 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003015/0.8053, allocations: 75.17 kB / 1.033 GB, free: 50.75 MB / 0.698 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002048/0.8055, allocations: 133.1 kB / 1.033 GB, free: 50.64 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0008194/0.8064, allocations: 388.6 kB / 1.034 GB, free: 50.53 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.706e-06/0.8064, allocations: 0 / 1.034 GB, free: 50.53 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.00039/0.8068, allocations: 206.2 kB / 1.034 GB, free: 50.47 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000335/0.8071, allocations: 52.45 kB / 1.034 GB, free: 50.45 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001041/0.8082, allocations: 0.7248 MB / 1.035 GB, free: 49.98 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002017/0.8084, allocations: 0.7718 MB / 1.036 GB, free: 49.27 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001664/0.8086, allocations: 33.33 kB / 1.036 GB, free: 49.27 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001016/0.8087, allocations: 35.92 kB / 1.036 GB, free: 49.26 MB / 0.698 GB Notification: Performance of SimCode: time 3.8e-07/0.8087, allocations: 0 / 1.036 GB, free: 49.26 MB / 0.698 GB Notification: Performance of Templates: time 0.007104/0.8158, allocations: 3.403 MB / 1.039 GB, free: 49.09 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe 2>&1)