Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.221/2.221, allocations: 255 MB / 269.9 MB, free: 9.633 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.001344/0.001343, allocations: 192.2 kB / 329.5 MB, free: 1.18 MB / 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 2.376/2.376, allocations: 225.6 MB / 0.6001 GB, free: 0.4922 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.000998/0.0009977, allocations: 102 kB / 0.7074 GB, free: 6.242 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0005068/0.000507, allocations: 16.94 kB / 0.8242 GB, free: 124.9 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2077/0.2082, allocations: 109.1 MB / 0.9308 GB, free: 24.88 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean): time 0.001674/0.21, allocations: 1.103 MB / 0.9319 GB, free: 23.77 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0006355/0.2107, allocations: 267.2 kB / 0.9321 GB, free: 23.5 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.879e-05/0.2108, allocations: 0 / 0.9321 GB, free: 23.5 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 8.872e-05/0.2109, allocations: 4 kB / 0.9321 GB, free: 23.5 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0001392/0.211, allocations: 19.91 kB / 0.9321 GB, free: 23.48 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001504/0.2112, allocations: 23.92 kB / 0.9322 GB, free: 23.46 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 9.803e-05/0.2113, allocations: 55.83 kB / 0.9322 GB, free: 23.4 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.018e-05/0.2114, allocations: 7.984 kB / 0.9322 GB, free: 23.39 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 9.833e-05/0.2115, allocations: 31.86 kB / 0.9323 GB, free: 23.36 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001102/0.2116, allocations: 27.91 kB / 0.9323 GB, free: 23.34 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.476e-05/0.2117, allocations: 0 / 0.9323 GB, free: 23.34 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 1.653e-05/0.2117, allocations: 4 kB / 0.9323 GB, free: 23.33 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.938e-05/0.2117, allocations: 7.984 kB / 0.9323 GB, free: 23.32 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 4.105e-05/0.2118, allocations: 41.64 kB / 0.9323 GB, free: 23.28 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 8.869e-05/0.2119, allocations: 39.91 kB / 0.9324 GB, free: 23.24 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.2119, allocations: 0 / 0.9324 GB, free: 23.24 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.144e-06/0.2119, allocations: 0 / 0.9324 GB, free: 23.24 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.2119, allocations: 0 / 0.9324 GB, free: 23.24 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004505/0.2124, allocations: 389.3 kB / 0.9327 GB, free: 22.8 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.2124, allocations: 8.031 kB / 0.9328 GB, free: 22.79 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.433e-05/0.2125, allocations: 8.844 kB / 0.9328 GB, free: 22.79 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001519/0.2126, allocations: 184.3 kB / 0.9329 GB, free: 22.57 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.728e-05/0.2127, allocations: 384 / 0.9329 GB, free: 22.57 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.82e-05/0.2127, allocations: 4.375 kB / 0.9329 GB, free: 22.56 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002211/0.2129, allocations: 78.16 kB / 0.933 GB, free: 22.48 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.2129, allocations: 192 / 0.933 GB, free: 22.48 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.516e-05/0.213, allocations: 3.938 kB / 0.933 GB, free: 22.48 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.213, allocations: 0 / 0.933 GB, free: 22.48 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001752/0.2132, allocations: 43.98 kB / 0.9331 GB, free: 22.43 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004709/0.2137, allocations: 288.8 kB / 0.9333 GB, free: 22.1 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001627/0.2138, allocations: 74.44 kB / 0.9334 GB, free: 22.02 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001378/0.214, allocations: 68.88 kB / 0.9335 GB, free: 21.95 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.507e-05/0.214, allocations: 7.984 kB / 0.9335 GB, free: 21.94 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002465/0.2143, allocations: 109.1 kB / 0.9336 GB, free: 21.82 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=11): time 2.234e-06/0.2143, allocations: 0 / 0.9336 GB, free: 21.82 MB / 0.5886 GB Notification: Performance of matching and sorting (n=11): time 0.0005479/0.2149, allocations: 203.3 kB / 0.9338 GB, free: 21.61 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.333e-05/0.2149, allocations: 122.8 kB / 0.9339 GB, free: 21.46 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.801e-05/0.215, allocations: 113.7 kB / 0.934 GB, free: 21.34 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.374e-05/0.2151, allocations: 33.7 kB / 0.934 GB, free: 21.3 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.482e-05/0.2151, allocations: 84.14 kB / 0.9341 GB, free: 21.21 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.515e-05/0.2152, allocations: 31.64 kB / 0.9341 GB, free: 21.18 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.498e-06/0.2152, allocations: 0 / 0.9341 GB, free: 21.18 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.071e-05/0.2152, allocations: 326.8 kB / 0.9345 GB, free: 20.86 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001294/0.2154, allocations: 39.98 kB / 0.9345 GB, free: 20.82 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001643/0.2156, allocations: 104.5 kB / 0.9346 GB, free: 20.68 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001718/0.2157, allocations: 85.62 kB / 0.9347 GB, free: 20.59 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.2158, allocations: 3.938 kB / 0.9347 GB, free: 20.59 MB / 0.5886 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004392/0.2162, allocations: 207 kB / 0.9349 GB, free: 20.38 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 3.248e-05/0.2163, allocations: 33.7 kB / 0.9349 GB, free: 20.34 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.2163, allocations: 0 / 0.9349 GB, free: 20.34 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/0.2163, allocations: 4 kB / 0.9349 GB, free: 20.33 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001878/0.2165, allocations: 31.86 kB / 0.9349 GB, free: 20.3 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.929e-06/0.2165, allocations: 4 kB / 0.9349 GB, free: 20.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001099/0.2166, allocations: 12.19 kB / 0.935 GB, free: 20.29 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.913e-05/0.2167, allocations: 12 kB / 0.935 GB, free: 20.27 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 18 ($PRE.movMea.iSample,movMea.iSample,$PRE.movMea.counter,movMea.counter,$PRE.movMea.ySample[4],movMea.ySample[4],$PRE.movMea.ySample[3],movMea.ySample[3],$PRE.movMea.ySample[2],movMea.ySample[2],$PRE.movMea.ySample[1],movMea.ySample[1],$PRE.movMea.index,movMea.index,$PRE.movMea.y,movMea.y,$whenCondition1,movMea.sampleTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 1 * 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.0001508/0.2168, allocations: 183.1 kB / 0.9351 GB, free: 20.08 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.609e-05/0.2169, allocations: 8 kB / 0.9352 GB, free: 20.07 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.047e-05/0.2169, allocations: 12.45 kB / 0.9352 GB, free: 20.06 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.2169, allocations: 0 / 0.9352 GB, free: 20.06 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.2169, allocations: 0 / 0.9352 GB, free: 20.06 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.2169, allocations: 4 kB / 0.9352 GB, free: 20.05 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001402/0.2171, allocations: 201.4 kB / 0.9354 GB, free: 19.81 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.2171, allocations: 0 / 0.9354 GB, free: 19.81 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.93e-05/0.2172, allocations: 4 kB / 0.9354 GB, free: 19.8 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.696e-06/0.2172, allocations: 0 / 0.9354 GB, free: 19.8 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.804e-05/0.2172, allocations: 4 kB / 0.9354 GB, free: 19.8 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.2172, allocations: 0 / 0.9354 GB, free: 19.8 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.2172, allocations: 0 / 0.9354 GB, free: 19.8 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004452/0.2177, allocations: 238.8 kB / 0.9356 GB, free: 19.54 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.871e-05/0.2177, allocations: 85.02 kB / 0.9357 GB, free: 19.44 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.304e-05/0.2178, allocations: 8 kB / 0.9357 GB, free: 19.43 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.612e-05/0.2179, allocations: 8 kB / 0.9357 GB, free: 19.43 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.932e-05/0.218, allocations: 3.984 kB / 0.9357 GB, free: 19.42 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.76e-05/0.218, allocations: 8 kB / 0.9357 GB, free: 19.41 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 7.047e-05/0.2181, allocations: 83.27 kB / 0.9358 GB, free: 19.33 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5.31e-07/0.2181, allocations: 0 / 0.9358 GB, free: 19.33 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002818/0.2184, allocations: 28 kB / 0.9358 GB, free: 19.3 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,movMea.y,movMea.sampleTrigger,movMea.iSample,movMea.counter,movMea.index,movMea.ySample[1],movMea.ySample[2],movMea.ySample[3],movMea.ySample[4]) * Number of discrete states: 9 (movMea.iSample,movMea.y,movMea.counter,movMea.ySample[4],movMea.ySample[3],movMea.ySample[2],movMea.ySample[1],movMea.index,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.0001225/0.2185, allocations: 115.2 kB / 0.9359 GB, free: 19.18 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0003968/0.2189, allocations: 167.2 kB / 0.9361 GB, free: 19.01 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.2189, allocations: 0.5625 kB / 0.9361 GB, free: 19.01 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.000239/0.2192, allocations: 191.4 kB / 0.9363 GB, free: 18.81 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002499/0.2194, allocations: 23.77 kB / 0.9363 GB, free: 18.79 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004493/0.2199, allocations: 204.9 kB / 0.9365 GB, free: 18.55 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001362/0.2201, allocations: 0.6888 MB / 0.9372 GB, free: 17.84 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 5.9e-05/0.2201, allocations: 12.66 kB / 0.9372 GB, free: 17.82 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.446e-05/0.2202, allocations: 7.438 kB / 0.9372 GB, free: 17.81 MB / 0.5886 GB Notification: Performance of SimCode: time 8.52e-07/0.2202, allocations: 4 kB / 0.9372 GB, free: 17.81 MB / 0.5886 GB Notification: Performance of Templates: time 0.003896/0.2241, allocations: 0.8674 MB / 0.938 GB, free: 16.95 MB / 0.5886 GB make -j1 -f Buildings_7.0.0_Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean.makefile (rm -f Buildings_7.0.0_Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean.pipe ; mkfifo Buildings_7.0.0_Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean.pipe >> ../files/Buildings_7.0.0_Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean.sim & ./Buildings_7.0.0_Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean.pipe 2>&1)