Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.447/1.447, allocations: 255.9 MB / 271.2 MB, free: 8.871 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.0009823/0.0009823, allocations: 199.3 kB / 330.8 MB, free: 460 kB / 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 1.811/1.811, allocations: 225.7 MB / 0.6016 GB, free: 1.578 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.000845/0.0008451, allocations: 95.62 kB / 0.709 GB, free: 6.988 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0003774/0.0003775, allocations: 12 kB / 0.8261 GB, free: 115.6 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2408/0.2411, allocations: 109.2 MB / 0.9328 GB, free: 6.25 MB / 0.573 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean): time 0.002303/0.2435, allocations: 1.698 MB / 0.9344 GB, free: 4.543 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.001007/0.2446, allocations: 0.6796 MB / 0.9351 GB, free: 3.84 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.021e-05/0.2446, allocations: 4 kB / 0.9351 GB, free: 3.836 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 3.057e-05/0.2447, allocations: 15.8 kB / 0.9351 GB, free: 3.82 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.0001234/0.2448, allocations: 39.69 kB / 0.9351 GB, free: 3.781 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004122/0.2452, allocations: 131.8 kB / 0.9353 GB, free: 3.652 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.0002392/0.2455, allocations: 315.1 kB / 0.9356 GB, free: 3.344 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001674/0.2457, allocations: 44.39 kB / 0.9356 GB, free: 3.297 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001626/0.2458, allocations: 111.6 kB / 0.9357 GB, free: 3.188 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001605/0.246, allocations: 135.4 kB / 0.9359 GB, free: 3.055 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 3.513e-05/0.246, allocations: 16 kB / 0.9359 GB, free: 3.039 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 3.251e-05/0.2461, allocations: 12 kB / 0.9359 GB, free: 3.027 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 5.478e-05/0.2461, allocations: 63.73 kB / 0.9359 GB, free: 2.965 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0001137/0.2463, allocations: 153 kB / 0.9361 GB, free: 2.809 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.0002267/0.2465, allocations: 275.3 kB / 0.9363 GB, free: 2.539 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.2465, allocations: 3.938 kB / 0.9364 GB, free: 2.535 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.094e-06/0.2465, allocations: 0 / 0.9364 GB, free: 2.535 MB / 0.573 GB Notification: Performance of Transformations before backend: time 6.132e-06/0.2465, allocations: 4 kB / 0.9364 GB, free: 2.531 MB / 0.573 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.001054/0.2476, allocations: 0.6079 MB / 0.9369 GB, free: 1.871 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/0.2476, allocations: 15.98 kB / 0.937 GB, free: 1.855 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.569e-05/0.2477, allocations: 28.66 kB / 0.937 GB, free: 1.828 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001121/0.2478, allocations: 200.8 kB / 0.9372 GB, free: 1.59 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001561/0.248, allocations: 264.3 kB / 0.9374 GB, free: 1.277 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.913e-05/0.2481, allocations: 28.38 kB / 0.9375 GB, free: 1.25 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004247/0.2485, allocations: 273.8 kB / 0.9377 GB, free: 0.9688 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.77e-05/0.2485, allocations: 3.906 kB / 0.9377 GB, free: 0.9648 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.529e-05/0.2485, allocations: 8 kB / 0.9377 GB, free: 0.957 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.984e-06/0.2486, allocations: 4 kB / 0.9377 GB, free: 0.9531 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003747/0.2489, allocations: 193.6 kB / 0.9379 GB, free: 0.7656 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009525/0.2499, allocations: 0.7814 MB / 0.9387 GB, free: 15.93 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005107/0.2504, allocations: 207.7 kB / 0.9389 GB, free: 15.7 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002644/0.2507, allocations: 134.5 kB / 0.939 GB, free: 15.55 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 4.4e-05/0.2507, allocations: 23.89 kB / 0.939 GB, free: 15.53 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005625/0.2513, allocations: 307.7 kB / 0.9393 GB, free: 15.21 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=48): time 1.844e-06/0.2513, allocations: 4 kB / 0.9393 GB, free: 15.2 MB / 0.5886 GB Notification: Performance of matching and sorting (n=48): time 0.001032/0.2524, allocations: 499.3 kB / 0.9398 GB, free: 14.71 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.135e-05/0.2525, allocations: 122.8 kB / 0.9399 GB, free: 14.57 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001629/0.2526, allocations: 179.3 kB / 0.9401 GB, free: 14.38 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 4.426e-05/0.2527, allocations: 41.7 kB / 0.9401 GB, free: 14.33 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 8.514e-05/0.2528, allocations: 117.3 kB / 0.9402 GB, free: 14.21 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001309/0.2529, allocations: 142 kB / 0.9404 GB, free: 14.07 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.591e-05/0.2529, allocations: 12 kB / 0.9404 GB, free: 14.06 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001798/0.2531, allocations: 338.8 kB / 0.9407 GB, free: 13.72 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003087/0.2534, allocations: 157.2 kB / 0.9409 GB, free: 13.57 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003513/0.2538, allocations: 260.7 kB / 0.9411 GB, free: 13.28 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006314/0.2544, allocations: 398.1 kB / 0.9415 GB, free: 12.85 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.2545, allocations: 0 / 0.9415 GB, free: 12.85 MB / 0.5886 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008394/0.2553, allocations: 0.5007 MB / 0.942 GB, free: 12.34 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.462e-05/0.2553, allocations: 11.91 kB / 0.942 GB, free: 12.33 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/0.2553, allocations: 0 / 0.942 GB, free: 12.33 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.161e-05/0.2554, allocations: 8 kB / 0.942 GB, free: 12.32 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003917/0.2558, allocations: 95.83 kB / 0.9421 GB, free: 12.23 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.423e-05/0.2558, allocations: 11.92 kB / 0.9421 GB, free: 12.22 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002759/0.2561, allocations: 75.56 kB / 0.9422 GB, free: 12.14 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.483e-05/0.2561, allocations: 20 kB / 0.9422 GB, free: 12.12 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000184/0.2563, allocations: 161.1 kB / 0.9424 GB, free: 11.96 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.779e-05/0.2564, allocations: 31.64 kB / 0.9424 GB, free: 11.93 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.434e-05/0.2564, allocations: 33.88 kB / 0.9424 GB, free: 11.9 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.376e-06/0.2565, allocations: 4 kB / 0.9424 GB, free: 11.9 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.706e-06/0.2565, allocations: 4 kB / 0.9424 GB, free: 11.89 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.089e-05/0.2565, allocations: 8.062 kB / 0.9424 GB, free: 11.89 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003836/0.2569, allocations: 357.2 kB / 0.9428 GB, free: 11.49 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/0.2569, allocations: 0 / 0.9428 GB, free: 11.49 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004147/0.2573, allocations: 75.84 kB / 0.9428 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.566e-06/0.2573, allocations: 0 / 0.9428 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.909e-05/0.2574, allocations: 19.98 kB / 0.9429 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.2574, allocations: 4 kB / 0.9429 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.2574, allocations: 0 / 0.9429 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001034/0.2584, allocations: 0.6018 MB / 0.9435 GB, free: 10.76 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 7.032e-05/0.2585, allocations: 104.7 kB / 0.9436 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.972e-05/0.2586, allocations: 11.98 kB / 0.9436 GB, free: 10.63 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002294/0.2588, allocations: 43.97 kB / 0.9436 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001638/0.259, allocations: 55.92 kB / 0.9437 GB, free: 10.53 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.01e-05/0.259, allocations: 15.98 kB / 0.9437 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001026/0.2591, allocations: 125.2 kB / 0.9438 GB, free: 10.39 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2591, allocations: 0 / 0.9438 GB, free: 10.39 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003139/0.2594, allocations: 83.91 kB / 0.9439 GB, free: 10.31 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 (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.0002265/0.2597, allocations: 139.5 kB / 0.944 GB, free: 10.17 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0007275/0.2604, allocations: 392.5 kB / 0.9444 GB, free: 9.789 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.2604, allocations: 0 / 0.9444 GB, free: 9.789 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0003839/0.2608, allocations: 204.9 kB / 0.9446 GB, free: 9.59 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003726/0.2612, allocations: 51.8 kB / 0.9446 GB, free: 9.539 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001145/0.2624, allocations: 0.7312 MB / 0.9453 GB, free: 8.773 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003822/0.2627, allocations: 0.7608 MB / 0.9461 GB, free: 7.988 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0001661/0.2629, allocations: 38.95 kB / 0.9461 GB, free: 7.953 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001127/0.263, allocations: 35.44 kB / 0.9462 GB, free: 7.918 MB / 0.5886 GB Notification: Performance of SimCode: time 5.81e-07/0.2631, allocations: 3.938 kB / 0.9462 GB, free: 7.914 MB / 0.5886 GB Notification: Performance of Templates: time 0.007078/0.2701, allocations: 3.413 MB / 0.9495 GB, free: 4.523 MB / 0.5886 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe 2>&1)