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.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.273/2.273, allocations: 254.9 MB / 269.9 MB, free: 9.637 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.001372/0.001371, allocations: 204.3 kB / 329.5 MB, free: 1.152 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.306/2.306, allocations: 225.6 MB / 0.6001 GB, free: 2.156 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.0009473/0.0009473, allocations: 107.3 kB / 0.7074 GB, free: 7.867 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0007413/0.0007415, allocations: 20.48 kB / 0.8242 GB, free: 124.4 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2327/0.2334, allocations: 109.1 MB / 0.9308 GB, free: 25.12 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean): time 0.002299/0.2358, allocations: 1.687 MB / 0.9324 GB, free: 23.43 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001162/0.237, allocations: 0.6119 MB / 0.933 GB, free: 22.81 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.9e-05/0.2371, allocations: 0 / 0.933 GB, free: 22.81 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.766e-05/0.2372, allocations: 15.8 kB / 0.933 GB, free: 22.8 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.000143/0.2373, allocations: 35.7 kB / 0.9331 GB, free: 22.76 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004759/0.2378, allocations: 123.8 kB / 0.9332 GB, free: 22.64 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0003109/0.2381, allocations: 287.1 kB / 0.9335 GB, free: 22.36 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001705/0.2383, allocations: 52.34 kB / 0.9335 GB, free: 22.3 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001777/0.2385, allocations: 107.7 kB / 0.9336 GB, free: 22.2 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002321/0.2388, allocations: 131.5 kB / 0.9338 GB, free: 22.07 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 5.199e-05/0.2388, allocations: 12 kB / 0.9338 GB, free: 22.06 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 5.658e-05/0.2389, allocations: 16 kB / 0.9338 GB, free: 22.04 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 6.402e-05/0.239, allocations: 63.78 kB / 0.9338 GB, free: 21.98 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 6.058e-05/0.239, allocations: 61.58 kB / 0.9339 GB, free: 21.91 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002341/0.2393, allocations: 203.7 kB / 0.9341 GB, free: 21.71 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.2393, allocations: 0 / 0.9341 GB, free: 21.71 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.873e-06/0.2393, allocations: 4 kB / 0.9341 GB, free: 21.71 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.15e-05/0.2393, allocations: 4 kB / 0.9341 GB, free: 21.71 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.001568/0.2409, allocations: 0.6082 MB / 0.9347 GB, free: 21.05 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.2409, allocations: 8.031 kB / 0.9347 GB, free: 21.04 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.552e-05/0.2411, allocations: 36.64 kB / 0.9347 GB, free: 21.01 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001309/0.2412, allocations: 193.8 kB / 0.9349 GB, free: 20.78 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002001/0.2414, allocations: 268.2 kB / 0.9352 GB, free: 20.46 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.156e-05/0.2415, allocations: 28.36 kB / 0.9352 GB, free: 20.43 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006894/0.2422, allocations: 273.8 kB / 0.9355 GB, free: 20.15 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.268e-05/0.2422, allocations: 0 / 0.9355 GB, free: 20.15 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.083e-05/0.2423, allocations: 11.98 kB / 0.9355 GB, free: 20.14 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.298e-06/0.2423, allocations: 4 kB / 0.9355 GB, free: 20.13 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007166/0.243, allocations: 191.8 kB / 0.9357 GB, free: 19.95 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001401/0.2444, allocations: 0.7854 MB / 0.9364 GB, free: 19.1 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006797/0.2451, allocations: 207.7 kB / 0.9366 GB, free: 18.87 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004015/0.2456, allocations: 138.5 kB / 0.9368 GB, free: 18.73 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 6.26e-05/0.2456, allocations: 19.98 kB / 0.9368 GB, free: 18.71 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007327/0.2464, allocations: 315.3 kB / 0.9371 GB, free: 18.38 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=48): time 3.347e-06/0.2464, allocations: 4 kB / 0.9371 GB, free: 18.37 MB / 0.5886 GB Notification: Performance of matching and sorting (n=48): time 0.001585/0.248, allocations: 0.4891 MB / 0.9376 GB, free: 17.88 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.707e-05/0.2481, allocations: 122.8 kB / 0.9377 GB, free: 17.73 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001684/0.2482, allocations: 175.4 kB / 0.9378 GB, free: 17.55 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 5.118e-05/0.2483, allocations: 41.7 kB / 0.9379 GB, free: 17.5 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 6.396e-05/0.2484, allocations: 117.3 kB / 0.938 GB, free: 17.39 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001313/0.2485, allocations: 150 kB / 0.9381 GB, free: 17.24 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.714e-05/0.2486, allocations: 12 kB / 0.9382 GB, free: 17.23 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.952e-05/0.2487, allocations: 338.8 kB / 0.9385 GB, free: 16.89 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004817/0.2492, allocations: 153.2 kB / 0.9386 GB, free: 16.73 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005289/0.2497, allocations: 256.8 kB / 0.9389 GB, free: 16.45 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005169/0.2502, allocations: 171.9 kB / 0.939 GB, free: 16.28 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.011e-06/0.2502, allocations: 0 / 0.939 GB, free: 16.28 MB / 0.5886 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001326/0.2516, allocations: 0.4968 MB / 0.9395 GB, free: 15.78 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.506e-05/0.2516, allocations: 8 kB / 0.9395 GB, free: 15.77 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.878e-06/0.2516, allocations: 0 / 0.9395 GB, free: 15.77 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.926e-05/0.2517, allocations: 8 kB / 0.9395 GB, free: 15.76 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006857/0.2524, allocations: 103.8 kB / 0.9396 GB, free: 15.66 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.693e-05/0.2524, allocations: 8.641 kB / 0.9396 GB, free: 15.65 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004684/0.2529, allocations: 67.66 kB / 0.9397 GB, free: 15.59 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.575e-05/0.253, allocations: 24 kB / 0.9397 GB, free: 15.56 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.0002185/0.2532, allocations: 167.9 kB / 0.9399 GB, free: 15.39 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.74e-05/0.2533, allocations: 31.56 kB / 0.9399 GB, free: 15.36 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.541e-05/0.2534, allocations: 29.88 kB / 0.9399 GB, free: 15.34 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.765e-06/0.2534, allocations: 4 kB / 0.9399 GB, free: 15.33 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.878e-06/0.2534, allocations: 4 kB / 0.94 GB, free: 15.33 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.417e-06/0.2534, allocations: 3.984 kB / 0.94 GB, free: 15.32 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004332/0.2538, allocations: 349.2 kB / 0.9403 GB, free: 14.93 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.2539, allocations: 0 / 0.9403 GB, free: 14.93 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007729/0.2546, allocations: 83.84 kB / 0.9404 GB, free: 14.85 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.355e-06/0.2547, allocations: 3.984 kB / 0.9404 GB, free: 14.85 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.714e-05/0.2547, allocations: 12 kB / 0.9404 GB, free: 14.84 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.28e-06/0.2548, allocations: 4 kB / 0.9404 GB, free: 14.83 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.2548, allocations: 0 / 0.9404 GB, free: 14.83 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001618/0.2564, allocations: 0.5978 MB / 0.941 GB, free: 14.21 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.841e-05/0.2565, allocations: 108.7 kB / 0.9411 GB, free: 14.09 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.238e-05/0.2566, allocations: 20.23 kB / 0.9411 GB, free: 14.07 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004242/0.257, allocations: 39.97 kB / 0.9411 GB, free: 14.03 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001439/0.2572, allocations: 43.88 kB / 0.9412 GB, free: 13.98 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.44e-05/0.2572, allocations: 20 kB / 0.9412 GB, free: 13.96 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001014/0.2573, allocations: 125.2 kB / 0.9413 GB, free: 13.84 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4.01e-07/0.2573, allocations: 0 / 0.9413 GB, free: 13.84 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0004374/0.2578, allocations: 80 kB / 0.9414 GB, free: 13.77 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.0001815/0.258, allocations: 124.7 kB / 0.9415 GB, free: 13.63 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.001157/0.2591, allocations: 390.8 kB / 0.9419 GB, free: 13.25 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.2592, allocations: 4 kB / 0.9419 GB, free: 13.25 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0005482/0.2597, allocations: 180.7 kB / 0.9421 GB, free: 13.07 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004642/0.2602, allocations: 51.91 kB / 0.9421 GB, free: 13.02 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001465/0.2617, allocations: 0.7023 MB / 0.9428 GB, free: 12.28 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002037/0.2619, allocations: 0.7647 MB / 0.9435 GB, free: 11.49 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0002792/0.2622, allocations: 38.97 kB / 0.9436 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001658/0.2624, allocations: 31.44 kB / 0.9436 GB, free: 11.42 MB / 0.5886 GB Notification: Performance of SimCode: time 1.092e-06/0.2624, allocations: 0 / 0.9436 GB, free: 11.42 MB / 0.5886 GB Notification: Performance of Templates: time 0.009559/0.2719, allocations: 3.047 MB / 0.9466 GB, free: 8.402 MB / 0.5886 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe 2>&1)