Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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_8.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 8.0.0/package.mo): time 1.692/1.692, allocations: 291.7 MB / 306.8 MB, free: 7.695 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.001379/0.001379, allocations: 195.9 kB / 375.4 MB, free: 5.109 MB / 298.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.425/1.425, allocations: 225.7 MB / 0.6538 GB, free: 13.54 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.0008513/0.0008512, allocations: 102.7 kB / 0.7699 GB, free: 50.18 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004827/0.0004832, allocations: 19.98 kB / 0.8956 GB, free: 11.82 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8549/0.8554, allocations: 118.1 MB / 1.011 GB, free: 57.37 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart): time 0.002772/0.8583, allocations: 1.624 MB / 1.013 GB, free: 57.29 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001135/0.8594, allocations: 0.6001 MB / 1.013 GB, free: 57.23 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.959e-05/0.8595, allocations: 0 / 1.013 GB, free: 57.23 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 3.395e-05/0.8596, allocations: 13.64 kB / 1.013 GB, free: 57.21 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001283/0.8597, allocations: 35.14 kB / 1.013 GB, free: 57.2 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004802/0.8602, allocations: 124.4 kB / 1.013 GB, free: 57.2 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0003287/0.8605, allocations: 290.1 kB / 1.014 GB, free: 57.16 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002254/0.8608, allocations: 38.62 kB / 1.014 GB, free: 57.15 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002048/0.861, allocations: 112.8 kB / 1.014 GB, free: 57.14 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000203/0.8612, allocations: 135.8 kB / 1.014 GB, free: 57.11 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 4.85e-05/0.8612, allocations: 18.53 kB / 1.014 GB, free: 57.11 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 4.352e-05/0.8613, allocations: 12.81 kB / 1.014 GB, free: 57.11 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 8.574e-05/0.8614, allocations: 58.75 kB / 1.014 GB, free: 57.1 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 8.403e-05/0.8615, allocations: 70.92 kB / 1.014 GB, free: 57.06 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002967/0.8618, allocations: 208.6 kB / 1.014 GB, free: 57.05 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 8.286e-06/0.8618, allocations: 0 / 1.014 GB, free: 57.05 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.166e-06/0.8618, allocations: 0 / 1.014 GB, free: 57.05 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.875e-06/0.8618, allocations: 0 / 1.014 GB, free: 57.05 MB / 0.7136 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.001266/0.8631, allocations: 0.6136 MB / 1.015 GB, free: 56.63 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.995e-05/0.8631, allocations: 9.125 kB / 1.015 GB, free: 56.63 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.339e-05/0.8632, allocations: 32.89 kB / 1.015 GB, free: 56.62 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001889/0.8634, allocations: 203 kB / 1.015 GB, free: 56.39 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002123/0.8637, allocations: 270.6 kB / 1.015 GB, free: 56.11 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.957e-05/0.8637, allocations: 25.72 kB / 1.015 GB, free: 56.11 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005285/0.8643, allocations: 270 kB / 1.016 GB, free: 56.05 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.233e-05/0.8643, allocations: 6.344 kB / 1.016 GB, free: 56.04 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.908e-05/0.8643, allocations: 13.5 kB / 1.016 GB, free: 56.04 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.137e-06/0.8643, allocations: 5.719 kB / 1.016 GB, free: 56.04 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000451/0.8648, allocations: 179.9 kB / 1.016 GB, free: 56.04 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001047/0.8659, allocations: 0.7802 MB / 1.016 GB, free: 55.59 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005177/0.8664, allocations: 213.9 kB / 1.017 GB, free: 55.51 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002838/0.8667, allocations: 141.1 kB / 1.017 GB, free: 55.48 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 4.08e-05/0.8667, allocations: 11.53 kB / 1.017 GB, free: 55.48 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005574/0.8673, allocations: 320.7 kB / 1.017 GB, free: 55.39 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=48): time 1.923e-06/0.8673, allocations: 0 / 1.017 GB, free: 55.39 MB / 0.7136 GB Notification: Performance of matching and sorting (n=48): time 0.00106/0.8684, allocations: 0.4906 MB / 1.018 GB, free: 55.34 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.718e-05/0.8685, allocations: 114.6 kB / 1.018 GB, free: 55.21 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001485/0.8686, allocations: 171.6 kB / 1.018 GB, free: 55.11 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.244e-05/0.8687, allocations: 36.48 kB / 1.018 GB, free: 55.08 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.754e-05/0.8687, allocations: 128 kB / 1.018 GB, free: 54.99 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001067/0.8689, allocations: 149.9 kB / 1.018 GB, free: 54.9 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.316e-05/0.8689, allocations: 14.19 kB / 1.018 GB, free: 54.9 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.9e-05/0.869, allocations: 344.3 kB / 1.019 GB, free: 54.59 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002876/0.8693, allocations: 150.2 kB / 1.019 GB, free: 54.59 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003458/0.8696, allocations: 255 kB / 1.019 GB, free: 54.49 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005646/0.8702, allocations: 403.8 kB / 1.019 GB, free: 54.38 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.8702, allocations: 0 / 1.019 GB, free: 54.38 MB / 0.7136 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008432/0.8711, allocations: 0.4915 MB / 1.02 GB, free: 54.32 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.8711, allocations: 6.844 kB / 1.02 GB, free: 54.32 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.669e-06/0.8711, allocations: 2.875 kB / 1.02 GB, free: 54.32 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.506e-05/0.8711, allocations: 5.719 kB / 1.02 GB, free: 54.32 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003664/0.8715, allocations: 101.4 kB / 1.02 GB, free: 54.31 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.203e-05/0.8715, allocations: 6.219 kB / 1.02 GB, free: 54.31 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002668/0.8718, allocations: 71.33 kB / 1.02 GB, free: 54.29 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.457e-05/0.8719, allocations: 21.81 kB / 1.02 GB, free: 54.29 MB / 0.7136 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.0001607/0.872, allocations: 161.8 kB / 1.02 GB, free: 54.17 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.997e-05/0.8721, allocations: 29.5 kB / 1.02 GB, free: 54.15 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.758e-05/0.8721, allocations: 34.31 kB / 1.02 GB, free: 54.14 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.335e-06/0.8722, allocations: 9.469 kB / 1.02 GB, free: 54.14 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.248e-05/0.8722, allocations: 0 / 1.02 GB, free: 54.14 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.8722, allocations: 0 / 1.02 GB, free: 54.14 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000366/0.8726, allocations: 360.3 kB / 1.021 GB, free: 53.94 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.8726, allocations: 0 / 1.021 GB, free: 53.94 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003902/0.873, allocations: 84.02 kB / 1.021 GB, free: 53.93 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.989e-06/0.873, allocations: 4.969 kB / 1.021 GB, free: 53.93 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.56e-05/0.873, allocations: 15.59 kB / 1.021 GB, free: 53.93 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.873, allocations: 10.38 kB / 1.021 GB, free: 53.92 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.873, allocations: 2.562 kB / 1.021 GB, free: 53.92 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001026/0.8741, allocations: 0.587 MB / 1.021 GB, free: 53.81 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.806e-05/0.8741, allocations: 110 kB / 1.021 GB, free: 53.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.773e-05/0.8742, allocations: 15.09 kB / 1.021 GB, free: 53.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000224/0.8744, allocations: 42.28 kB / 1.021 GB, free: 53.69 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001092/0.8745, allocations: 41.38 kB / 1.021 GB, free: 53.69 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.872e-05/0.8746, allocations: 20.52 kB / 1.021 GB, free: 53.69 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 7.281e-05/0.8746, allocations: 121.4 kB / 1.022 GB, free: 53.61 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.8e-07/0.8746, allocations: 0 / 1.022 GB, free: 53.61 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003261/0.875, allocations: 84.73 kB / 1.022 GB, free: 53.61 MB / 0.7136 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.0001916/0.8752, allocations: 125.4 kB / 1.022 GB, free: 53.52 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0007098/0.8759, allocations: 397.6 kB / 1.022 GB, free: 53.49 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.8759, allocations: 0 / 1.022 GB, free: 53.49 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0003516/0.8763, allocations: 184 kB / 1.022 GB, free: 53.48 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003886/0.8767, allocations: 44.56 kB / 1.022 GB, free: 53.48 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001111/0.8778, allocations: 0.7179 MB / 1.023 GB, free: 53.08 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002351/0.878, allocations: 0.7672 MB / 1.024 GB, free: 52.38 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001645/0.8782, allocations: 38.94 kB / 1.024 GB, free: 52.38 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.913e-05/0.8783, allocations: 29.72 kB / 1.024 GB, free: 52.37 MB / 0.7136 GB Notification: Performance of SimCode: time 2.51e-07/0.8783, allocations: 0 / 1.024 GB, free: 52.37 MB / 0.7136 GB Notification: Performance of Templates: time 0.006605/0.8849, allocations: 3.045 MB / 1.027 GB, free: 52.27 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe 2>&1)