Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.43/2.43, allocations: 255 MB / 269.9 MB, free: 9.629 MB / 218.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.001391/0.001391, allocations: 189.4 kB / 329.5 MB, free: 1.164 MB / 250.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 2.431/2.431, allocations: 225.6 MB / 0.6002 GB, free: 2.129 MB / 426.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.00152/0.00152, allocations: 95.23 kB / 0.7074 GB, free: 7.867 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0007763/0.0007767, allocations: 16.41 kB / 0.8242 GB, free: 124.3 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2637/0.2645, allocations: 109.1 MB / 0.9308 GB, free: 25.08 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart): time 0.003928/0.2686, allocations: 1.687 MB / 0.9324 GB, free: 23.38 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.002161/0.2708, allocations: 0.608 MB / 0.933 GB, free: 22.77 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002244/0.2711, allocations: 4 kB / 0.933 GB, free: 22.77 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 5.452e-05/0.2712, allocations: 19.78 kB / 0.9331 GB, free: 22.75 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0001925/0.2714, allocations: 35.7 kB / 0.9331 GB, free: 22.71 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007007/0.2721, allocations: 115.9 kB / 0.9332 GB, free: 22.6 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0006282/0.2727, allocations: 291.1 kB / 0.9335 GB, free: 22.31 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002591/0.273, allocations: 48.34 kB / 0.9335 GB, free: 22.26 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003541/0.2734, allocations: 111.7 kB / 0.9336 GB, free: 22.15 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003111/0.2737, allocations: 127.5 kB / 0.9338 GB, free: 22.03 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 7.077e-05/0.2738, allocations: 16 kB / 0.9338 GB, free: 22.01 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 7.403e-05/0.2739, allocations: 16 kB / 0.9338 GB, free: 22 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0001041/0.274, allocations: 63.78 kB / 0.9338 GB, free: 21.93 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0001003/0.2742, allocations: 65.58 kB / 0.9339 GB, free: 21.86 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.000349/0.2745, allocations: 203.7 kB / 0.9341 GB, free: 21.66 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 7.293e-06/0.2746, allocations: 0 / 0.9341 GB, free: 21.66 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.334e-06/0.2746, allocations: 0 / 0.9341 GB, free: 21.66 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 7.664e-06/0.2746, allocations: 4 kB / 0.9341 GB, free: 21.66 MB / 0.5886 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.002377/0.277, allocations: 0.6121 MB / 0.9347 GB, free: 21 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.237e-05/0.2771, allocations: 8.031 kB / 0.9347 GB, free: 20.99 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001501/0.2772, allocations: 28.66 kB / 0.9347 GB, free: 20.96 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001999/0.2775, allocations: 193.8 kB / 0.9349 GB, free: 20.73 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003108/0.2778, allocations: 268.3 kB / 0.9352 GB, free: 20.41 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000115/0.2779, allocations: 32.3 kB / 0.9352 GB, free: 20.38 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001106/0.2791, allocations: 273.8 kB / 0.9355 GB, free: 20.1 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.215e-05/0.2791, allocations: 0 / 0.9355 GB, free: 20.1 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.013e-05/0.2792, allocations: 12 kB / 0.9355 GB, free: 20.09 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.323e-05/0.2792, allocations: 7.938 kB / 0.9355 GB, free: 20.08 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001144/0.2804, allocations: 187.8 kB / 0.9357 GB, free: 19.9 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002238/0.2827, allocations: 0.7815 MB / 0.9364 GB, free: 19.06 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001062/0.2838, allocations: 215.7 kB / 0.9366 GB, free: 18.82 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006582/0.2845, allocations: 130.5 kB / 0.9368 GB, free: 18.68 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 7.956e-05/0.2846, allocations: 11.98 kB / 0.9368 GB, free: 18.67 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001111/0.2857, allocations: 327.3 kB / 0.9371 GB, free: 18.33 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=48): time 4.839e-06/0.2857, allocations: 0 / 0.9371 GB, free: 18.33 MB / 0.5886 GB Notification: Performance of matching and sorting (n=48): time 0.002479/0.2882, allocations: 0.4929 MB / 0.9376 GB, free: 17.83 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.044e-05/0.2883, allocations: 114.8 kB / 0.9377 GB, free: 17.7 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002451/0.2886, allocations: 179.4 kB / 0.9379 GB, free: 17.51 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 7.442e-05/0.2887, allocations: 37.7 kB / 0.9379 GB, free: 17.46 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 8.819e-05/0.2888, allocations: 121.2 kB / 0.938 GB, free: 17.34 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002087/0.289, allocations: 146 kB / 0.9381 GB, free: 17.2 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.972e-05/0.2891, allocations: 12 kB / 0.9382 GB, free: 17.19 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001056/0.2892, allocations: 338.8 kB / 0.9385 GB, free: 16.85 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007812/0.29, allocations: 153.2 kB / 0.9386 GB, free: 16.7 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008386/0.2909, allocations: 260.8 kB / 0.9389 GB, free: 16.41 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008404/0.2918, allocations: 167.9 kB / 0.939 GB, free: 16.24 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.057e-06/0.2918, allocations: 0 / 0.939 GB, free: 16.24 MB / 0.5886 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.002113/0.2939, allocations: 0.4897 MB / 0.9395 GB, free: 15.75 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 3.092e-05/0.294, allocations: 7.984 kB / 0.9395 GB, free: 15.74 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-05/0.294, allocations: 8.141 kB / 0.9395 GB, free: 15.73 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.926e-05/0.2941, allocations: 8 kB / 0.9395 GB, free: 15.72 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001068/0.2952, allocations: 99.83 kB / 0.9396 GB, free: 15.62 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.254e-05/0.2952, allocations: 7.984 kB / 0.9396 GB, free: 15.62 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007767/0.296, allocations: 67.59 kB / 0.9397 GB, free: 15.55 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.192e-05/0.2961, allocations: 20 kB / 0.9397 GB, free: 15.53 MB / 0.5886 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.000306/0.2964, allocations: 171.9 kB / 0.9399 GB, free: 15.36 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001052/0.2965, allocations: 31.56 kB / 0.9399 GB, free: 15.32 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001234/0.2967, allocations: 33.86 kB / 0.9399 GB, free: 15.3 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.145e-05/0.2967, allocations: 4 kB / 0.9399 GB, free: 15.29 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-05/0.2967, allocations: 0 / 0.9399 GB, free: 15.29 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.275e-05/0.2968, allocations: 4 kB / 0.94 GB, free: 15.29 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006671/0.2975, allocations: 357.2 kB / 0.9403 GB, free: 14.89 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.595e-06/0.2975, allocations: 4.062 kB / 0.9403 GB, free: 14.89 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001329/0.2988, allocations: 83.83 kB / 0.9404 GB, free: 14.8 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.179e-05/0.2989, allocations: 4 kB / 0.9404 GB, free: 14.8 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.702e-05/0.299, allocations: 11.94 kB / 0.9404 GB, free: 14.79 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.157e-05/0.299, allocations: 7.984 kB / 0.9404 GB, free: 14.78 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.299, allocations: 0 / 0.9404 GB, free: 14.78 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002732/0.3018, allocations: 0.6018 MB / 0.941 GB, free: 14.16 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 8.079e-05/0.3019, allocations: 104.7 kB / 0.9411 GB, free: 14.04 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001127/0.302, allocations: 8 kB / 0.9411 GB, free: 14.03 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007503/0.3028, allocations: 51.95 kB / 0.9411 GB, free: 13.98 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002034/0.303, allocations: 35.95 kB / 0.9412 GB, free: 13.94 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.113e-05/0.3031, allocations: 15.98 kB / 0.9412 GB, free: 13.93 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001606/0.3033, allocations: 133.2 kB / 0.9413 GB, free: 13.8 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6.71e-07/0.3033, allocations: 0 / 0.9413 GB, free: 13.8 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0007094/0.304, allocations: 76 kB / 0.9414 GB, free: 13.72 MB / 0.5886 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.0002525/0.3043, allocations: 128.6 kB / 0.9415 GB, free: 13.59 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.001932/0.3062, allocations: 391.9 kB / 0.9419 GB, free: 13.2 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.3063, allocations: 0 / 0.9419 GB, free: 13.2 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.000951/0.3072, allocations: 179.8 kB / 0.9421 GB, free: 13.03 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006905/0.308, allocations: 52.08 kB / 0.9421 GB, free: 12.98 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002152/0.3101, allocations: 0.7062 MB / 0.9428 GB, free: 12.23 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002601/0.3104, allocations: 0.7686 MB / 0.9436 GB, free: 11.44 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0004158/0.3109, allocations: 30.97 kB / 0.9436 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002434/0.3111, allocations: 35.42 kB / 0.9436 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of SimCode: time 1.242e-06/0.3112, allocations: 0 / 0.9436 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of Templates: time 0.01194/0.3231, allocations: 3.05 MB / 0.9466 GB, free: 8.352 MB / 0.5886 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe 2>&1)