Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001397/0.001397, allocations: 105.8 kB / 18.84 MB, free: 3.023 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001491/0.001491, allocations: 192.2 kB / 22.11 MB, free: 4.223 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.532/1.532, allocations: 225.6 MB / 250.8 MB, free: 2.898 MB / 190.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.041/3.041, allocations: 495.8 MB / 0.783 GB, free: 12.3 MB / 0.6231 GB
"
[Timeout remaining time 176]
Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo)
Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo)
Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo)
Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo)
Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sinInpNoDel.y|movAve1.y|movAve2.y|movAve3.y|movAve4.y|sinInp50sDel.y|movAve6.y|movAve7.y|sinInp100sDel.y|movAve8.y|movAve9.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart")
translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sinInpNoDel.y|movAve1.y|movAve2.y|movAve3.y|movAve4.y|sinInp50sDel.y|movAve6.y|movAve7.y|sinInp100sDel.y|movAve8.y|movAve9.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002085/0.002085, allocations: 67.89 kB / 1.137 GB, free: 12.16 MB / 0.92 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 1.227/1.229, allocations: 173.6 MB / 1.307 GB, free: 33.76 MB / 1.061 GB
Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart): time 0.00312/1.232, allocations: 1.974 MB / 1.309 GB, free: 32.38 MB / 1.061 GB
Notification: Performance of NFInst.instExpressions: time 0.001081/1.233, allocations: 0.6614 MB / 1.309 GB, free: 31.91 MB / 1.061 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001055/1.233, allocations: 2.469 kB / 1.309 GB, free: 31.91 MB / 1.061 GB
Notification: Performance of NFTyping.typeComponents: time 5.677e-05/1.233, allocations: 15.75 kB / 1.309 GB, free: 31.89 MB / 1.061 GB
Notification: Performance of NFTyping.typeBindings: time 0.0001175/1.233, allocations: 44.06 kB / 1.309 GB, free: 31.86 MB / 1.061 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0004646/1.234, allocations: 150.7 kB / 1.31 GB, free: 31.78 MB / 1.061 GB
Notification: Performance of NFFlatten.flatten: time 0.0003165/1.234, allocations: 332.6 kB / 1.31 GB, free: 31.63 MB / 1.061 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001531/1.234, allocations: 35.41 kB / 1.31 GB, free: 31.61 MB / 1.061 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001782/1.234, allocations: 135.4 kB / 1.31 GB, free: 31.55 MB / 1.061 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001953/1.235, allocations: 151.4 kB / 1.31 GB, free: 31.48 MB / 1.061 GB
Notification: Performance of NFPackage.collectConstants: time 5.87e-05/1.235, allocations: 29.41 kB / 1.31 GB, free: 31.48 MB / 1.061 GB
Notification: Performance of NFFlatten.collectFunctions: time 4.155e-05/1.235, allocations: 28.59 kB / 1.31 GB, free: 31.48 MB / 1.061 GB
Notification: Performance of NFScalarize.scalarize: time 6.801e-05/1.235, allocations: 78.69 kB / 1.31 GB, free: 31.44 MB / 1.061 GB
Notification: Performance of NFVerifyModel.verify: time 0.0001176/1.235, allocations: 139.8 kB / 1.31 GB, free: 31.35 MB / 1.061 GB
Notification: Performance of NFConvertDAE.convert: time 0.0003145/1.235, allocations: 305.7 kB / 1.311 GB, free: 31.24 MB / 1.061 GB
Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/1.235, allocations: 0 / 1.311 GB, free: 31.24 MB / 1.061 GB
Notification: Performance of FrontEnd: time 1.923e-06/1.235, allocations: 3.438 kB / 1.311 GB, free: 31.24 MB / 1.061 GB
Notification: Performance of Transformations before backend: time 8.406e-06/1.235, allocations: 4 kB / 1.311 GB, free: 31.23 MB / 1.061 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.001279/1.236, allocations: 0.5606 MB / 1.311 GB, free: 30.84 MB / 1.061 GB
Notification: Performance of prepare preOptimizeDAE: time 5.727e-05/1.236, allocations: 8.688 kB / 1.311 GB, free: 30.84 MB / 1.061 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000101/1.237, allocations: 34.3 kB / 1.311 GB, free: 30.83 MB / 1.061 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001465/1.237, allocations: 145.1 kB / 1.311 GB, free: 30.67 MB / 1.061 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002241/1.237, allocations: 265.3 kB / 1.312 GB, free: 30.38 MB / 1.061 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 7.619e-05/1.237, allocations: 28 kB / 1.312 GB, free: 30.37 MB / 1.061 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004984/1.238, allocations: 264 kB / 1.312 GB, free: 30.24 MB / 1.061 GB
Notification: Performance of preOpt findStateOrder (simulation): time 2.373e-05/1.238, allocations: 2.938 kB / 1.312 GB, free: 30.24 MB / 1.061 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.144e-05/1.238, allocations: 14.2 kB / 1.312 GB, free: 30.23 MB / 1.061 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/1.238, allocations: 3.062 kB / 1.312 GB, free: 30.23 MB / 1.061 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003956/1.238, allocations: 180.5 kB / 1.312 GB, free: 30.17 MB / 1.061 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001005/1.239, allocations: 0.7515 MB / 1.313 GB, free: 29.61 MB / 1.061 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.000458/1.239, allocations: 201 kB / 1.313 GB, free: 29.49 MB / 1.061 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0002255/1.24, allocations: 129.1 kB / 1.313 GB, free: 29.43 MB / 1.061 GB
Notification: Performance of preOpt evalFunc (simulation): time 4.318e-05/1.24, allocations: 6.281 kB / 1.313 GB, free: 29.43 MB / 1.061 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005207/1.24, allocations: 317.2 kB / 1.314 GB, free: 29.27 MB / 1.061 GB
Notification: Performance of pre-optimization done (n=48): time 1.904e-06/1.24, allocations: 0 / 1.314 GB, free: 29.27 MB / 1.061 GB
Notification: Performance of matching and sorting (n=48): time 0.0009898/1.241, allocations: 488 kB / 1.314 GB, free: 29.1 MB / 1.061 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.307e-05/1.241, allocations: 116.1 kB / 1.314 GB, free: 28.97 MB / 1.061 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001298/1.241, allocations: 175.8 kB / 1.314 GB, free: 28.84 MB / 1.061 GB
Notification: Performance of collectPreVariables (initialization): time 3.254e-05/1.241, allocations: 44.83 kB / 1.314 GB, free: 28.79 MB / 1.061 GB
Notification: Performance of collectInitialEqns (initialization): time 5.469e-05/1.241, allocations: 119.8 kB / 1.314 GB, free: 28.69 MB / 1.061 GB
Notification: Performance of collectInitialBindings (initialization): time 9.259e-05/1.242, allocations: 155.7 kB / 1.315 GB, free: 28.57 MB / 1.061 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001363/1.242, allocations: 107.3 kB / 1.315 GB, free: 28.5 MB / 1.061 GB
Notification: Performance of setup shared object (initialization): time 7.597e-05/1.242, allocations: 338.6 kB / 1.315 GB, free: 28.18 MB / 1.061 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002723/1.242, allocations: 146.1 kB / 1.315 GB, free: 28.14 MB / 1.061 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003127/1.242, allocations: 256.5 kB / 1.315 GB, free: 27.97 MB / 1.061 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0005709/1.243, allocations: 395 kB / 1.316 GB, free: 27.73 MB / 1.061 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/1.243, allocations: 0 / 1.316 GB, free: 27.73 MB / 1.061 GB
Notification: Performance of matching and sorting (n=75) (initialization): time 0.0007844/1.244, allocations: 496.6 kB / 1.316 GB, free: 27.52 MB / 1.061 GB
Notification: Performance of prepare postOptimizeDAE: time 2.237e-05/1.244, allocations: 5.406 kB / 1.316 GB, free: 27.52 MB / 1.061 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/1.244, allocations: 6.406 kB / 1.316 GB, free: 27.52 MB / 1.061 GB
Notification: Performance of postOpt tearingSystem (initialization): time 2.797e-05/1.244, allocations: 19.58 kB / 1.316 GB, free: 27.51 MB / 1.061 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003709/1.244, allocations: 97.97 kB / 1.316 GB, free: 27.49 MB / 1.061 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.306e-05/1.244, allocations: 6.125 kB / 1.316 GB, free: 27.49 MB / 1.061 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002627/1.244, allocations: 61.12 kB / 1.316 GB, free: 27.46 MB / 1.061 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.071e-05/1.244, allocations: 19.06 kB / 1.316 GB, free: 27.46 MB / 1.061 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 (movAve1.mode,$PRE.movAve1.mode,$whenCondition5,movAve2.mode,$PRE.movAve2.mode,$whenCondition6,movAve3.mode,$PRE.movAve3.mode,$whenCondition7,movAve4.mode,$PRE.movAve4.mode,$whenCondition8,movAve5.mode,$PRE.movAve5.mode,$whenCondition9,movAve6.mode,$PRE.movAve6.mode,$whenCondition3,movAve7.mode,$PRE.movAve7.mode,$whenCondition4,movAve8.mode,$PRE.movAve8.mode,$whenCondition1,movAve9.mode,$PRE.movAve9.mode,$whenCondition2)
 * 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.0001506/1.245, allocations: 162 kB / 1.317 GB, free: 27.3 MB / 1.061 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 4.912e-05/1.245, allocations: 37.53 kB / 1.317 GB, free: 27.29 MB / 1.061 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.191e-05/1.245, allocations: 29.28 kB / 1.317 GB, free: 27.26 MB / 1.061 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/1.245, allocations: 5.719 kB / 1.317 GB, free: 27.26 MB / 1.061 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.322e-05/1.245, allocations: 2.594 kB / 1.317 GB, free: 27.26 MB / 1.061 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.997e-06/1.245, allocations: 7.188 kB / 1.317 GB, free: 27.25 MB / 1.061 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002934/1.245, allocations: 321.5 kB / 1.317 GB, free: 27.02 MB / 1.061 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/1.245, allocations: 0 / 1.317 GB, free: 27.02 MB / 1.061 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003801/1.245, allocations: 80.55 kB / 1.317 GB, free: 27.01 MB / 1.061 GB
Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/1.245, allocations: 6.625 kB / 1.317 GB, free: 27.01 MB / 1.061 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.469e-05/1.245, allocations: 16.53 kB / 1.317 GB, free: 27 MB / 1.061 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/1.245, allocations: 2.688 kB / 1.317 GB, free: 27 MB / 1.061 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/1.245, allocations: 0 / 1.317 GB, free: 27 MB / 1.061 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009566/1.246, allocations: 0.5856 MB / 1.318 GB, free: 26.73 MB / 1.061 GB
Notification: Performance of postOpt removeConstants (simulation): time 3.088e-05/1.246, allocations: 34.19 kB / 1.318 GB, free: 26.71 MB / 1.061 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.605e-05/1.247, allocations: 10.56 kB / 1.318 GB, free: 26.7 MB / 1.061 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002211/1.247, allocations: 33.92 kB / 1.318 GB, free: 26.7 MB / 1.061 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000133/1.247, allocations: 54.48 kB / 1.318 GB, free: 26.68 MB / 1.061 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.933e-05/1.247, allocations: 20.55 kB / 1.318 GB, free: 26.68 MB / 1.061 GB
Notification: Performance of sorting global known variables: time 7.58e-05/1.247, allocations: 118.6 kB / 1.318 GB, free: 26.59 MB / 1.061 GB
Notification: Performance of sort global known variables: time 5e-08/1.247, allocations: 4 kB / 1.318 GB, free: 26.59 MB / 1.061 GB
Notification: Performance of remove unused functions: time 0.000324/1.247, allocations: 87.36 kB / 1.318 GB, free: 26.57 MB / 1.061 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.0001614/1.247, allocations: 117.3 kB / 1.318 GB, free: 26.47 MB / 1.061 GB
Notification: Performance of simCode: created initialization part: time 0.0006826/1.248, allocations: 360.2 kB / 1.319 GB, free: 26.36 MB / 1.061 GB
Notification: Performance of simCode: created event and clocks part: time 2.304e-06/1.248, allocations: 4 kB / 1.319 GB, free: 26.36 MB / 1.061 GB
Notification: Performance of simCode: created simulation system equations: time 0.0003363/1.249, allocations: 185 kB / 1.319 GB, free: 26.3 MB / 1.061 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003458/1.249, allocations: 44.34 kB / 1.319 GB, free: 26.28 MB / 1.061 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00106/1.25, allocations: 0.6209 MB / 1.319 GB, free: 25.89 MB / 1.061 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001827/1.25, allocations: 0.7672 MB / 1.32 GB, free: 25.19 MB / 1.061 GB
Notification: Performance of simCode: alias equations: time 0.000143/1.25, allocations: 37.83 kB / 1.32 GB, free: 25.18 MB / 1.061 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001121/1.25, allocations: 41.38 kB / 1.32 GB, free: 25.16 MB / 1.061 GB
Notification: Performance of SimCode: time 6.51e-07/1.25, allocations: 2.594 kB / 1.32 GB, free: 25.16 MB / 1.061 GB
Notification: Performance of Templates: time 0.008366/1.259, allocations: 4.141 MB / 1.324 GB, free: 24.88 MB / 1.061 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_MovingAverage_nonZeroStart.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300]
""
[Timeout remaining time 300]
Reference file matches
[Calling sys.exit(0), Time elapsed: 10.279819281771779]