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_nonZeroStart.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_nonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_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.3-maint.7.0.x/package.mo): time 1.634/1.634, allocations: 255.9 MB / 271.2 MB, free: 8.891 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.001069/0.001069, allocations: 186.2 kB / 330.8 MB, free: 500 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.699/1.699, allocations: 225.7 MB / 0.6016 GB, free: 1.629 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.0008978/0.000898, allocations: 103.6 kB / 0.709 GB, free: 7.082 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0003889/0.000389, allocations: 12 kB / 0.8261 GB, free: 115.6 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2606/0.2611, allocations: 109.2 MB / 0.9328 GB, free: 6.234 MB / 0.573 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart): time 0.002143/0.2633, allocations: 1.698 MB / 0.9344 GB, free: 4.527 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.0009698/0.2643, allocations: 0.6835 MB / 0.9351 GB, free: 3.82 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.109e-05/0.2644, allocations: 0 / 0.9351 GB, free: 3.82 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 3.973e-05/0.2644, allocations: 11.86 kB / 0.9351 GB, free: 3.809 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.0001194/0.2645, allocations: 31.72 kB / 0.9352 GB, free: 3.777 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003885/0.2649, allocations: 127.8 kB / 0.9353 GB, free: 3.652 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.0002412/0.2652, allocations: 311.1 kB / 0.9356 GB, free: 3.348 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001692/0.2654, allocations: 44.39 kB / 0.9356 GB, free: 3.301 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001498/0.2655, allocations: 115.5 kB / 0.9357 GB, free: 3.188 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001606/0.2657, allocations: 135.5 kB / 0.9359 GB, free: 3.055 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 3.58e-05/0.2657, allocations: 16 kB / 0.9359 GB, free: 3.039 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 3.4e-05/0.2658, allocations: 16 kB / 0.9359 GB, free: 3.023 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 5.664e-05/0.2658, allocations: 59.73 kB / 0.9359 GB, free: 2.965 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0001098/0.2659, allocations: 149.1 kB / 0.9361 GB, free: 2.812 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.0002157/0.2662, allocations: 279.3 kB / 0.9363 GB, free: 2.539 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.2662, allocations: 3.938 kB / 0.9364 GB, free: 2.535 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.593e-06/0.2662, allocations: 4 kB / 0.9364 GB, free: 2.531 MB / 0.573 GB Notification: Performance of Transformations before backend: time 6.172e-06/0.2662, allocations: 0 / 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.001097/0.2673, allocations: 0.604 MB / 0.9369 GB, free: 1.875 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.494e-05/0.2674, allocations: 15.98 kB / 0.937 GB, free: 1.859 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.356e-05/0.2674, allocations: 32.66 kB / 0.937 GB, free: 1.828 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001257/0.2676, allocations: 200.8 kB / 0.9372 GB, free: 1.59 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001743/0.2677, allocations: 264.3 kB / 0.9374 GB, free: 1.277 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.363e-05/0.2678, allocations: 32.31 kB / 0.9375 GB, free: 1.246 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004375/0.2683, allocations: 265.8 kB / 0.9377 GB, free: 0.9727 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.946e-05/0.2683, allocations: 15.89 kB / 0.9377 GB, free: 0.957 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.626e-05/0.2683, allocations: 4 kB / 0.9377 GB, free: 0.9531 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.157e-06/0.2683, allocations: 8 kB / 0.9377 GB, free: 0.9453 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003755/0.2687, allocations: 187.8 kB / 0.9379 GB, free: 0.7617 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009483/0.2697, allocations: 0.7853 MB / 0.9387 GB, free: 15.92 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005012/0.2702, allocations: 207.7 kB / 0.9389 GB, free: 15.69 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002659/0.2705, allocations: 138.5 kB / 0.939 GB, free: 15.54 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 4.295e-05/0.2705, allocations: 4 kB / 0.939 GB, free: 15.54 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000586/0.2711, allocations: 323.7 kB / 0.9393 GB, free: 15.2 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=48): time 1.823e-06/0.2711, allocations: 0 / 0.9393 GB, free: 15.2 MB / 0.5886 GB Notification: Performance of matching and sorting (n=48): time 0.001112/0.2722, allocations: 0.4953 MB / 0.9398 GB, free: 14.7 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.42e-05/0.2723, allocations: 118.8 kB / 0.9399 GB, free: 14.56 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001749/0.2725, allocations: 183.3 kB / 0.9401 GB, free: 14.37 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 4.284e-05/0.2726, allocations: 41.7 kB / 0.9401 GB, free: 14.32 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 8.828e-05/0.2727, allocations: 117.3 kB / 0.9403 GB, free: 14.2 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.000123/0.2728, allocations: 146 kB / 0.9404 GB, free: 14.06 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.708e-05/0.2728, allocations: 12 kB / 0.9404 GB, free: 14.05 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001619/0.273, allocations: 342.8 kB / 0.9407 GB, free: 13.7 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003023/0.2733, allocations: 153.2 kB / 0.9409 GB, free: 13.55 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003815/0.2737, allocations: 248.8 kB / 0.9411 GB, free: 13.27 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006672/0.2744, allocations: 402 kB / 0.9415 GB, free: 12.84 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.2744, allocations: 4 kB / 0.9415 GB, free: 12.84 MB / 0.5886 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008747/0.2753, allocations: 0.4893 MB / 0.942 GB, free: 12.34 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.253e-05/0.2753, allocations: 7.906 kB / 0.942 GB, free: 12.34 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.2753, allocations: 4 kB / 0.942 GB, free: 12.33 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.783e-05/0.2754, allocations: 15.98 kB / 0.942 GB, free: 12.32 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003828/0.2757, allocations: 95.83 kB / 0.9421 GB, free: 12.22 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.275e-05/0.2758, allocations: 4 kB / 0.9421 GB, free: 12.22 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002849/0.2761, allocations: 71.56 kB / 0.9422 GB, free: 12.15 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.788e-05/0.2761, allocations: 23.94 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.0001956/0.2763, allocations: 172.6 kB / 0.9424 GB, free: 11.95 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.419e-05/0.2764, allocations: 27.66 kB / 0.9424 GB, free: 11.92 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.083e-05/0.2764, allocations: 29.88 kB / 0.9424 GB, free: 11.9 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/0.2764, allocations: 4 kB / 0.9424 GB, free: 11.89 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.41e-05/0.2765, allocations: 7.984 kB / 0.9424 GB, free: 11.89 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.2765, allocations: 0 / 0.9424 GB, free: 11.89 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003987/0.2769, allocations: 357.2 kB / 0.9428 GB, free: 11.49 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.2769, allocations: 4 kB / 0.9428 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003861/0.2773, allocations: 75.83 kB / 0.9428 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.2773, allocations: 4 kB / 0.9428 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.539e-05/0.2773, allocations: 12 kB / 0.9429 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.24e-06/0.2774, allocations: 4 kB / 0.9429 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.2774, allocations: 0 / 0.9429 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001069/0.2784, allocations: 0.6035 MB / 0.9435 GB, free: 10.76 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 6.397e-05/0.2785, allocations: 112.7 kB / 0.9436 GB, free: 10.63 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.533e-05/0.2786, allocations: 4 kB / 0.9436 GB, free: 10.63 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002232/0.2788, allocations: 43.97 kB / 0.9436 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001538/0.279, allocations: 59.98 kB / 0.9437 GB, free: 10.53 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.277e-05/0.279, allocations: 19.98 kB / 0.9437 GB, free: 10.51 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 9.47e-05/0.2791, allocations: 125.2 kB / 0.9438 GB, free: 10.39 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2791, allocations: 192 / 0.9438 GB, free: 10.39 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003137/0.2794, allocations: 83.91 kB / 0.9439 GB, free: 10.3 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.0002212/0.2797, allocations: 139.6 kB / 0.944 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0007407/0.2804, allocations: 396.1 kB / 0.9444 GB, free: 9.777 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.2804, allocations: 0 / 0.9444 GB, free: 9.777 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0003992/0.2808, allocations: 203.8 kB / 0.9446 GB, free: 9.578 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003257/0.2812, allocations: 51.66 kB / 0.9446 GB, free: 9.527 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00114/0.2823, allocations: 0.7224 MB / 0.9453 GB, free: 8.77 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003287/0.2826, allocations: 0.7608 MB / 0.9461 GB, free: 7.984 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0001615/0.2828, allocations: 47.12 kB / 0.9461 GB, free: 7.941 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001082/0.2829, allocations: 31.44 kB / 0.9462 GB, free: 7.91 MB / 0.5886 GB Notification: Performance of SimCode: time 2.51e-07/0.2829, allocations: 3.938 kB / 0.9462 GB, free: 7.906 MB / 0.5886 GB Notification: Performance of Templates: time 0.006925/0.2899, allocations: 3.41 MB / 0.9495 GB, free: 4.52 MB / 0.5886 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe 2>&1)