Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean.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.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_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.3-maint.7.0.x/package.mo): time 1.207/1.207, allocations: 255.9 MB / 271.2 MB, free: 8.875 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.0008457/0.0008457, allocations: 185.9 kB / 330.8 MB, free: 464 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.271/1.271, allocations: 225.7 MB / 0.6016 GB, free: 32 kB / 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.0007226/0.0007226, allocations: 101.4 kB / 0.709 GB, free: 5.582 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0002793/0.0002793, allocations: 8 kB / 0.8261 GB, free: 124.7 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1407/0.141, allocations: 109.2 MB / 0.9328 GB, free: 24.08 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean): time 0.001108/0.1421, allocations: 1.115 MB / 0.9339 GB, free: 22.96 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0004844/0.1426, allocations: 344.5 kB / 0.9342 GB, free: 22.6 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.583e-05/0.1427, allocations: 0 / 0.9342 GB, free: 22.6 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 7.912e-05/0.1428, allocations: 11.92 kB / 0.9342 GB, free: 22.59 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0001117/0.1429, allocations: 7.938 kB / 0.9342 GB, free: 22.58 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001134/0.143, allocations: 27.97 kB / 0.9342 GB, free: 22.55 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 7.273e-05/0.1431, allocations: 55.84 kB / 0.9343 GB, free: 22.5 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 7.678e-05/0.1432, allocations: 11.98 kB / 0.9343 GB, free: 22.49 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 7.127e-05/0.1432, allocations: 31.78 kB / 0.9343 GB, free: 22.46 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 7.851e-05/0.1433, allocations: 27.92 kB / 0.9344 GB, free: 22.43 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.358e-05/0.1433, allocations: 7.938 kB / 0.9344 GB, free: 22.42 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 1.064e-05/0.1434, allocations: 0 / 0.9344 GB, free: 22.42 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.986e-05/0.1434, allocations: 7.984 kB / 0.9344 GB, free: 22.41 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 4.759e-05/0.1434, allocations: 53.56 kB / 0.9344 GB, free: 22.36 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 7.773e-05/0.1435, allocations: 55.77 kB / 0.9345 GB, free: 22.3 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.1435, allocations: 0 / 0.9345 GB, free: 22.3 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.412e-06/0.1435, allocations: 0 / 0.9345 GB, free: 22.3 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.386e-06/0.1436, allocations: 0 / 0.9345 GB, free: 22.3 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.0003271/0.1439, allocations: 389.4 kB / 0.9349 GB, free: 21.86 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 2.899e-05/0.1439, allocations: 13.11 kB / 0.9349 GB, free: 21.85 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.944e-05/0.144, allocations: 8.844 kB / 0.9349 GB, free: 21.84 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001175/0.1441, allocations: 184.1 kB / 0.935 GB, free: 21.62 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/0.1441, allocations: 8.375 kB / 0.9351 GB, free: 21.62 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.374e-05/0.1441, allocations: 4.375 kB / 0.9351 GB, free: 21.61 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001397/0.1443, allocations: 70.23 kB / 0.9351 GB, free: 21.54 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.593e-06/0.1443, allocations: 192 / 0.9351 GB, free: 21.54 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.457e-06/0.1443, allocations: 7.938 kB / 0.9351 GB, free: 21.53 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.1443, allocations: 0 / 0.9351 GB, free: 21.53 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.577e-05/0.1444, allocations: 39.97 kB / 0.9352 GB, free: 21.49 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003043/0.1447, allocations: 284.9 kB / 0.9354 GB, free: 21.16 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 9.21e-05/0.1448, allocations: 82.44 kB / 0.9355 GB, free: 21.07 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.142e-05/0.1449, allocations: 56.89 kB / 0.9356 GB, free: 21.02 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.545e-05/0.1449, allocations: 0 / 0.9356 GB, free: 21.02 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001448/0.1451, allocations: 121.1 kB / 0.9357 GB, free: 20.88 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=11): time 1.212e-06/0.1451, allocations: 0 / 0.9357 GB, free: 20.88 MB / 0.5886 GB Notification: Performance of matching and sorting (n=11): time 0.0003096/0.1454, allocations: 211.2 kB / 0.9359 GB, free: 20.66 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.24e-05/0.1454, allocations: 118.8 kB / 0.936 GB, free: 20.52 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.768e-05/0.1455, allocations: 105.8 kB / 0.9361 GB, free: 20.41 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.277e-05/0.1455, allocations: 33.7 kB / 0.9361 GB, free: 20.37 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.023e-05/0.1455, allocations: 84.14 kB / 0.9362 GB, free: 20.28 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.05e-05/0.1456, allocations: 31.64 kB / 0.9363 GB, free: 20.25 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.952e-06/0.1456, allocations: 8 kB / 0.9363 GB, free: 20.24 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 3.633e-05/0.1456, allocations: 322.8 kB / 0.9366 GB, free: 19.92 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.917e-05/0.1457, allocations: 31.98 kB / 0.9366 GB, free: 19.89 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.716e-05/0.1458, allocations: 104.6 kB / 0.9367 GB, free: 19.75 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001679/0.146, allocations: 223.8 kB / 0.9369 GB, free: 19.49 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.146, allocations: 3.938 kB / 0.9369 GB, free: 19.49 MB / 0.5886 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002343/0.1462, allocations: 207.1 kB / 0.9371 GB, free: 19.27 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.1462, allocations: 33.64 kB / 0.9371 GB, free: 19.23 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.84e-06/0.1462, allocations: 4 kB / 0.9371 GB, free: 19.23 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.08e-05/0.1463, allocations: 4 kB / 0.9372 GB, free: 19.23 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.729e-05/0.1464, allocations: 23.92 kB / 0.9372 GB, free: 19.2 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.1464, allocations: 4 kB / 0.9372 GB, free: 19.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.376e-05/0.1464, allocations: 20.09 kB / 0.9372 GB, free: 19.18 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.121e-05/0.1465, allocations: 8 kB / 0.9372 GB, free: 19.17 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.226e-05/0.1465, allocations: 180 kB / 0.9374 GB, free: 18.98 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.386e-05/0.1466, allocations: 7.906 kB / 0.9374 GB, free: 18.97 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.77e-05/0.1466, allocations: 12.38 kB / 0.9374 GB, free: 18.96 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.1466, allocations: 0 / 0.9374 GB, free: 18.96 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.325e-06/0.1466, allocations: 0 / 0.9374 GB, free: 18.96 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.913e-06/0.1466, allocations: 0 / 0.9374 GB, free: 18.96 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.345e-05/0.1467, allocations: 193.5 kB / 0.9376 GB, free: 18.72 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.1467, allocations: 8 kB / 0.9376 GB, free: 18.71 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.71e-05/0.1467, allocations: 4 kB / 0.9376 GB, free: 18.71 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.1467, allocations: 4 kB / 0.9376 GB, free: 18.71 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.929e-06/0.1468, allocations: 0 / 0.9376 GB, free: 18.71 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.1468, allocations: 0 / 0.9376 GB, free: 18.71 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1468, allocations: 4 kB / 0.9376 GB, free: 18.7 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002421/0.147, allocations: 234.8 kB / 0.9378 GB, free: 18.45 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.628e-05/0.147, allocations: 88.94 kB / 0.9379 GB, free: 18.34 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.596e-05/0.1471, allocations: 12 kB / 0.9379 GB, free: 18.33 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.444e-05/0.1471, allocations: 4 kB / 0.9379 GB, free: 18.33 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.04e-05/0.1472, allocations: 7.984 kB / 0.9379 GB, free: 18.32 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.789e-06/0.1472, allocations: 0 / 0.9379 GB, free: 18.32 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.365e-05/0.1472, allocations: 95.56 kB / 0.938 GB, free: 18.23 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1472, allocations: 0 / 0.938 GB, free: 18.23 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001891/0.1474, allocations: 24 kB / 0.938 GB, free: 18.2 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 6.762e-05/0.1475, allocations: 119.2 kB / 0.9382 GB, free: 18.08 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002153/0.1477, allocations: 171.2 kB / 0.9383 GB, free: 17.9 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.674e-06/0.1477, allocations: 0.5625 kB / 0.9383 GB, free: 17.9 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001252/0.1478, allocations: 187.5 kB / 0.9385 GB, free: 17.7 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001697/0.148, allocations: 15.94 kB / 0.9385 GB, free: 17.69 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002768/0.1483, allocations: 205.2 kB / 0.9387 GB, free: 17.45 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.577e-05/0.1484, allocations: 0.6926 MB / 0.9394 GB, free: 16.73 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 3.064e-05/0.1484, allocations: 8.656 kB / 0.9394 GB, free: 16.72 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.131e-05/0.1485, allocations: 11.44 kB / 0.9394 GB, free: 16.71 MB / 0.5886 GB Notification: Performance of SimCode: time 9.72e-07/0.1485, allocations: 0 / 0.9394 GB, free: 16.71 MB / 0.5886 GB Notification: Performance of Templates: time 0.002167/0.1506, allocations: 0.885 MB / 0.9403 GB, free: 15.83 MB / 0.5886 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean.makefile (rm -f Buildings_maint.7.0.x_Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean.sim & ./Buildings_maint.7.0.x_Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean.pipe 2>&1)