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.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean") 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.81/1.81, allocations: 297.4 MB / 312.6 MB, free: 2.961 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.00162/0.00162, allocations: 186 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.55/1.55, allocations: 225.7 MB / 0.6617 GB, free: 7.23 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.0007768/0.0007769, allocations: 94.89 kB / 0.7789 GB, free: 46.8 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003379/0.0003379, allocations: 12 kB / 0.9059 GB, free: 4.891 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8168/0.8172, allocations: 119.2 MB / 1.022 GB, free: 57.79 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean): time 0.002286/0.8195, allocations: 1.619 MB / 1.024 GB, free: 57 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0009902/0.8205, allocations: 0.6962 MB / 1.025 GB, free: 56.51 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.942e-05/0.8206, allocations: 1.156 kB / 1.025 GB, free: 56.51 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 3.331e-05/0.8207, allocations: 16.33 kB / 1.025 GB, free: 56.5 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001094/0.8208, allocations: 33.97 kB / 1.025 GB, free: 56.47 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003671/0.8212, allocations: 133.7 kB / 1.025 GB, free: 56.41 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0003013/0.8215, allocations: 307.2 kB / 1.025 GB, free: 56.28 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000166/0.8216, allocations: 48.02 kB / 1.025 GB, free: 56.25 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001997/0.8218, allocations: 104.1 kB / 1.025 GB, free: 56.22 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001941/0.822, allocations: 133.3 kB / 1.025 GB, free: 56.16 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 4.054e-05/0.8221, allocations: 16.03 kB / 1.025 GB, free: 56.16 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 4.012e-05/0.8221, allocations: 15.12 kB / 1.025 GB, free: 56.16 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 8.01e-05/0.8222, allocations: 63.97 kB / 1.025 GB, free: 56.13 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001449/0.8224, allocations: 142.6 kB / 1.026 GB, free: 56.04 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0003656/0.8227, allocations: 288.1 kB / 1.026 GB, free: 55.95 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.802e-06/0.8228, allocations: 0 / 1.026 GB, free: 55.95 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.773e-06/0.8228, allocations: 0 / 1.026 GB, free: 55.95 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.731e-06/0.8228, allocations: 0.75 kB / 1.026 GB, free: 55.95 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.001039/0.8238, allocations: 0.6036 MB / 1.026 GB, free: 55.52 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.8239, allocations: 12.28 kB / 1.026 GB, free: 55.52 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.985e-05/0.824, allocations: 27.12 kB / 1.026 GB, free: 55.5 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001112/0.8241, allocations: 211.2 kB / 1.027 GB, free: 55.27 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001599/0.8242, allocations: 265.6 kB / 1.027 GB, free: 54.98 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.179e-05/0.8243, allocations: 35.25 kB / 1.027 GB, free: 54.97 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004707/0.8248, allocations: 275.8 kB / 1.027 GB, free: 54.84 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.926e-05/0.8248, allocations: 0 / 1.027 GB, free: 54.84 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.649e-05/0.8248, allocations: 4.906 kB / 1.027 GB, free: 54.84 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.321e-05/0.8249, allocations: 7.906 kB / 1.027 GB, free: 54.84 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004125/0.8253, allocations: 186.5 kB / 1.027 GB, free: 54.79 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009969/0.8263, allocations: 0.7847 MB / 1.028 GB, free: 54.2 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004729/0.8268, allocations: 208.5 kB / 1.028 GB, free: 54.08 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002569/0.827, allocations: 150 kB / 1.028 GB, free: 54 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.524e-05/0.8271, allocations: 13.67 kB / 1.028 GB, free: 54 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005464/0.8276, allocations: 314.8 kB / 1.029 GB, free: 53.85 MB / 0.698 GB Notification: Performance of pre-optimization done (n=48): time 2.194e-06/0.8277, allocations: 1.094 kB / 1.029 GB, free: 53.85 MB / 0.698 GB Notification: Performance of matching and sorting (n=48): time 0.0009875/0.8287, allocations: 0.4921 MB / 1.029 GB, free: 53.67 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.144e-05/0.8287, allocations: 113 kB / 1.029 GB, free: 53.55 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001396/0.8289, allocations: 174.1 kB / 1.03 GB, free: 53.42 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.129e-05/0.8289, allocations: 38.45 kB / 1.03 GB, free: 53.38 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.308e-05/0.829, allocations: 121 kB / 1.03 GB, free: 53.27 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.354e-05/0.8291, allocations: 154.1 kB / 1.03 GB, free: 53.15 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.513e-05/0.8291, allocations: 15.56 kB / 1.03 GB, free: 53.14 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.204e-05/0.8292, allocations: 339.2 kB / 1.03 GB, free: 52.82 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003105/0.8295, allocations: 148.8 kB / 1.03 GB, free: 52.77 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003864/0.8299, allocations: 260.7 kB / 1.031 GB, free: 52.61 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006324/0.8305, allocations: 401.2 kB / 1.031 GB, free: 52.38 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.8305, allocations: 4.656 kB / 1.031 GB, free: 52.38 MB / 0.698 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0007847/0.8313, allocations: 0.491 MB / 1.031 GB, free: 52.17 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.8313, allocations: 9.875 kB / 1.031 GB, free: 52.17 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.938e-06/0.8314, allocations: 2.594 kB / 1.031 GB, free: 52.17 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.135e-05/0.8314, allocations: 7.25 kB / 1.031 GB, free: 52.17 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003909/0.8318, allocations: 102.7 kB / 1.032 GB, free: 52.15 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.289e-05/0.8318, allocations: 13.39 kB / 1.032 GB, free: 52.14 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002731/0.8321, allocations: 66.06 kB / 1.032 GB, free: 52.12 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.719e-05/0.8321, allocations: 22.44 kB / 1.032 GB, free: 52.11 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.0001558/0.8323, allocations: 165.9 kB / 1.032 GB, free: 51.96 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.196e-05/0.8323, allocations: 28.25 kB / 1.032 GB, free: 51.95 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.809e-05/0.8324, allocations: 31.78 kB / 1.032 GB, free: 51.93 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.8324, allocations: 6.25 kB / 1.032 GB, free: 51.93 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/0.8324, allocations: 2.688 kB / 1.032 GB, free: 51.93 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.845e-06/0.8324, allocations: 7.875 kB / 1.032 GB, free: 51.93 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003293/0.8328, allocations: 345 kB / 1.032 GB, free: 51.67 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.8328, allocations: 0 / 1.032 GB, free: 51.67 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003823/0.8332, allocations: 85.17 kB / 1.032 GB, free: 51.65 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.8332, allocations: 2.812 kB / 1.032 GB, free: 51.65 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.297e-05/0.8332, allocations: 19.64 kB / 1.032 GB, free: 51.64 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.8332, allocations: 0 / 1.032 GB, free: 51.64 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.8332, allocations: 2.344 kB / 1.032 GB, free: 51.64 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009686/0.8342, allocations: 0.5939 MB / 1.033 GB, free: 51.37 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.262e-05/0.8343, allocations: 116.5 kB / 1.033 GB, free: 51.25 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.596e-05/0.8343, allocations: 13.73 kB / 1.033 GB, free: 51.24 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002431/0.8346, allocations: 44.41 kB / 1.033 GB, free: 51.23 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001517/0.8347, allocations: 56.36 kB / 1.033 GB, free: 51.22 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.25e-05/0.8348, allocations: 19.39 kB / 1.033 GB, free: 51.21 MB / 0.698 GB Notification: Performance of sorting global known variables: time 8.672e-05/0.8349, allocations: 125.5 kB / 1.033 GB, free: 51.12 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8349, allocations: 0 / 1.033 GB, free: 51.12 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003035/0.8352, allocations: 79.02 kB / 1.033 GB, free: 51.11 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.0001565/0.8353, allocations: 127.2 kB / 1.033 GB, free: 51 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0007269/0.8361, allocations: 389 kB / 1.034 GB, free: 50.89 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.8361, allocations: 0 / 1.034 GB, free: 50.89 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003726/0.8365, allocations: 204.6 kB / 1.034 GB, free: 50.84 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003388/0.8368, allocations: 49.5 kB / 1.034 GB, free: 50.81 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001094/0.8379, allocations: 0.7301 MB / 1.035 GB, free: 50.35 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000236/0.8382, allocations: 0.7629 MB / 1.036 GB, free: 49.64 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.000171/0.8383, allocations: 41.47 kB / 1.036 GB, free: 49.64 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000129/0.8385, allocations: 33.33 kB / 1.036 GB, free: 49.63 MB / 0.698 GB Notification: Performance of SimCode: time 2.3e-07/0.8385, allocations: 3.938 kB / 1.036 GB, free: 49.63 MB / 0.698 GB Notification: Performance of Templates: time 0.006804/0.8453, allocations: 3.403 MB / 1.039 GB, free: 49.45 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe 2>&1)