Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.772/1.772, allocations: 306.1 MB / 321.4 MB, free: 10.73 MB / 250.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.001469/0.001469, allocations: 179.5 kB / 393.1 MB, free: 4.082 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.466/1.466, allocations: 225.7 MB / 0.6743 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008591/0.0008591, allocations: 92.53 kB / 0.7935 GB, free: 40.13 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004102/0.0004105, allocations: 12 kB / 0.9224 GB, free: 8.645 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7759/0.7763, allocations: 121.3 MB / 1.041 GB, free: 58.71 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage): time 0.002156/0.7785, allocations: 1.632 MB / 1.042 GB, free: 57.59 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0009699/0.7795, allocations: 0.6926 MB / 1.043 GB, free: 57.07 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.789e-05/0.7796, allocations: 1.125 kB / 1.043 GB, free: 57.07 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 3.034e-05/0.7797, allocations: 15.64 kB / 1.043 GB, free: 57.05 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001184/0.7798, allocations: 37.03 kB / 1.043 GB, free: 57.03 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003875/0.7802, allocations: 125.5 kB / 1.043 GB, free: 56.97 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.000279/0.7805, allocations: 310.4 kB / 1.044 GB, free: 56.84 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001594/0.7806, allocations: 46.62 kB / 1.044 GB, free: 56.82 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001753/0.7808, allocations: 108.8 kB / 1.044 GB, free: 56.78 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000187/0.781, allocations: 132.1 kB / 1.044 GB, free: 56.73 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 4.13e-05/0.7811, allocations: 16.06 kB / 1.044 GB, free: 56.73 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 3.823e-05/0.7811, allocations: 15.09 kB / 1.044 GB, free: 56.73 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 6.315e-05/0.7812, allocations: 59.31 kB / 1.044 GB, free: 56.7 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001255/0.7813, allocations: 151.8 kB / 1.044 GB, free: 56.6 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002721/0.7816, allocations: 284.3 kB / 1.044 GB, free: 56.52 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.7816, allocations: 0 / 1.044 GB, free: 56.52 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.345e-06/0.7816, allocations: 0.5938 kB / 1.044 GB, free: 56.52 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.7816, allocations: 0 / 1.044 GB, free: 56.52 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.001077/0.7827, allocations: 0.6065 MB / 1.045 GB, free: 56.07 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/0.7827, allocations: 10.97 kB / 1.045 GB, free: 56.07 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.049e-05/0.7828, allocations: 29.53 kB / 1.045 GB, free: 56.06 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001116/0.7829, allocations: 204.1 kB / 1.045 GB, free: 55.84 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001591/0.7831, allocations: 267.6 kB / 1.045 GB, free: 55.54 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.437e-05/0.7832, allocations: 30.97 kB / 1.046 GB, free: 55.53 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004644/0.7836, allocations: 269.4 kB / 1.046 GB, free: 55.4 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.774e-05/0.7837, allocations: 3.609 kB / 1.046 GB, free: 55.4 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.536e-05/0.7837, allocations: 9.469 kB / 1.046 GB, free: 55.4 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/0.7837, allocations: 6.625 kB / 1.046 GB, free: 55.4 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004184/0.7841, allocations: 189.9 kB / 1.046 GB, free: 55.34 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009662/0.7851, allocations: 0.7795 MB / 1.047 GB, free: 54.76 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004368/0.7856, allocations: 219.4 kB / 1.047 GB, free: 54.63 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002421/0.7858, allocations: 135.1 kB / 1.047 GB, free: 54.57 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.855e-05/0.7859, allocations: 14.69 kB / 1.047 GB, free: 54.56 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005159/0.7864, allocations: 318.5 kB / 1.047 GB, free: 54.41 MB / 0.698 GB Notification: Performance of pre-optimization done (n=48): time 1.764e-06/0.7864, allocations: 0 / 1.047 GB, free: 54.41 MB / 0.698 GB Notification: Performance of matching and sorting (n=48): time 0.0009474/0.7873, allocations: 0.4922 MB / 1.048 GB, free: 54.23 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.267e-05/0.7874, allocations: 116.9 kB / 1.048 GB, free: 54.1 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001247/0.7875, allocations: 168.1 kB / 1.048 GB, free: 53.98 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.206e-05/0.7876, allocations: 47.66 kB / 1.048 GB, free: 53.93 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.638e-05/0.7876, allocations: 122.7 kB / 1.048 GB, free: 53.82 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001007/0.7877, allocations: 144.1 kB / 1.048 GB, free: 53.71 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.384e-05/0.7878, allocations: 15 kB / 1.048 GB, free: 53.7 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.296e-05/0.7879, allocations: 341.4 kB / 1.049 GB, free: 53.37 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003146/0.7882, allocations: 153.4 kB / 1.049 GB, free: 53.32 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003455/0.7885, allocations: 261.2 kB / 1.049 GB, free: 53.15 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006034/0.7892, allocations: 403.6 kB / 1.05 GB, free: 52.91 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.7892, allocations: 3.5 kB / 1.05 GB, free: 52.91 MB / 0.698 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008041/0.79, allocations: 498.7 kB / 1.05 GB, free: 52.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.224e-05/0.79, allocations: 11.53 kB / 1.05 GB, free: 52.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/0.79, allocations: 3.531 kB / 1.05 GB, free: 52.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.317e-05/0.7901, allocations: 4.969 kB / 1.05 GB, free: 52.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003812/0.7904, allocations: 99.73 kB / 1.05 GB, free: 52.69 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.61e-05/0.7905, allocations: 10.69 kB / 1.05 GB, free: 52.68 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002795/0.7908, allocations: 67.03 kB / 1.05 GB, free: 52.66 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.124e-05/0.7908, allocations: 22.94 kB / 1.05 GB, free: 52.65 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.movAve1.mode,movAve1.mode,$whenCondition6,$PRE.movAve2.mode,movAve2.mode,$whenCondition7,$PRE.movAve3.mode,movAve3.mode,$whenCondition8,$PRE.movAve4.mode,movAve4.mode,$whenCondition9,$PRE.movAve5.mode,movAve5.mode,$whenCondition3,$PRE.movAve6.mode,movAve6.mode,$whenCondition4,$PRE.movAve7.mode,movAve7.mode,$whenCondition1,$PRE.movAve8.mode,movAve8.mode,$whenCondition2,$PRE.movAve9.mode,movAve9.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.0001689/0.791, allocations: 162.5 kB / 1.05 GB, free: 52.5 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.273e-05/0.791, allocations: 27.28 kB / 1.05 GB, free: 52.49 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.028e-05/0.7911, allocations: 32.36 kB / 1.05 GB, free: 52.46 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.147e-05/0.7911, allocations: 5.688 kB / 1.05 GB, free: 52.46 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.113e-05/0.7912, allocations: 1.5 kB / 1.05 GB, free: 52.46 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.142e-05/0.7912, allocations: 3.844 kB / 1.05 GB, free: 52.46 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004099/0.7916, allocations: 359 kB / 1.051 GB, free: 52.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.205e-06/0.7916, allocations: 0 / 1.051 GB, free: 52.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004221/0.792, allocations: 78.62 kB / 1.051 GB, free: 52.18 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.172e-06/0.792, allocations: 4.094 kB / 1.051 GB, free: 52.18 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.844e-05/0.7921, allocations: 18.95 kB / 1.051 GB, free: 52.17 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.7921, allocations: 1.906 kB / 1.051 GB, free: 52.17 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.7921, allocations: 3.406 kB / 1.051 GB, free: 52.17 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001015/0.7931, allocations: 0.6044 MB / 1.052 GB, free: 51.89 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.857e-05/0.7932, allocations: 108.6 kB / 1.052 GB, free: 51.77 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.465e-05/0.7932, allocations: 6.906 kB / 1.052 GB, free: 51.77 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002184/0.7935, allocations: 48.8 kB / 1.052 GB, free: 51.76 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001442/0.7936, allocations: 54.38 kB / 1.052 GB, free: 51.75 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.977e-05/0.7937, allocations: 12.8 kB / 1.052 GB, free: 51.75 MB / 0.698 GB Notification: Performance of sorting global known variables: time 7.85e-05/0.7937, allocations: 130.4 kB / 1.052 GB, free: 51.66 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7937, allocations: 0 / 1.052 GB, free: 51.66 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003053/0.7941, allocations: 82.61 kB / 1.052 GB, free: 51.64 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 9 (movAve1.mu,movAve2.mu,movAve3.mu,movAve4.mu,movAve5.mu,movAve6.mu,movAve7.mu,movAve8.mu,movAve9.mu) * Number of discrete variables: 18 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,movAve1.mode,movAve2.mode,movAve3.mode,movAve4.mode,movAve5.mode,$whenCondition4,$whenCondition3,movAve6.mode,movAve7.mode,$whenCondition2,$whenCondition1,movAve8.mode,movAve9.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.0001726/0.7942, allocations: 123.7 kB / 1.052 GB, free: 51.54 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0007387/0.795, allocations: 393.1 kB / 1.052 GB, free: 51.43 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.795, allocations: 2.781 kB / 1.052 GB, free: 51.43 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000375/0.7954, allocations: 213.8 kB / 1.053 GB, free: 51.36 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003216/0.7957, allocations: 48.95 kB / 1.053 GB, free: 51.34 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001065/0.7968, allocations: 0.7187 MB / 1.053 GB, free: 50.88 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002149/0.797, allocations: 0.7636 MB / 1.054 GB, free: 50.18 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001594/0.7972, allocations: 42.89 kB / 1.054 GB, free: 50.17 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000107/0.7973, allocations: 34.69 kB / 1.054 GB, free: 50.16 MB / 0.698 GB Notification: Performance of SimCode: time 2.31e-07/0.7973, allocations: 1.406 kB / 1.054 GB, free: 50.16 MB / 0.698 GB Notification: Performance of Templates: time 0.007015/0.8043, allocations: 3.374 MB / 1.057 GB, free: 49.95 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage.pipe 2>&1)