Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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=5000,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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001252/0.001251, allocations: 116.3 kB / 16.42 MB, free: 6.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001238/0.001238, allocations: 183.9 kB / 17.34 MB, free: 5.758 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.408/1.408, allocations: 222.9 MB / 241.1 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.8/2.8, allocations: 472.7 MB / 0.746 GB, free: 468 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001455/0.001455, allocations: 63.91 kB / 1.07 GB, free: 9.508 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9352/0.9367, allocations: 159.9 MB / 1.226 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart): time 0.003778/0.9405, allocations: 1.959 MB / 1.228 GB, free: 11.51 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001492/0.942, allocations: 0.6555 MB / 1.229 GB, free: 10.85 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002091/0.9423, allocations: 0 / 1.229 GB, free: 10.85 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 9.547e-05/0.9424, allocations: 19.69 kB / 1.229 GB, free: 10.83 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.00019/0.9426, allocations: 47.56 kB / 1.229 GB, free: 10.79 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005599/0.9432, allocations: 147.8 kB / 1.229 GB, free: 10.64 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.000444/0.9436, allocations: 315.2 kB / 1.229 GB, free: 10.33 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001849/0.9438, allocations: 48.33 kB / 1.23 GB, free: 10.28 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002901/0.9441, allocations: 139.5 kB / 1.23 GB, free: 10.14 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003071/0.9444, allocations: 155.4 kB / 1.23 GB, free: 9.992 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 8.31e-05/0.9445, allocations: 28 kB / 1.23 GB, free: 9.965 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 7.291e-05/0.9446, allocations: 28 kB / 1.23 GB, free: 9.938 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 8.031e-05/0.9447, allocations: 79.78 kB / 1.23 GB, free: 9.859 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001538/0.9449, allocations: 131.4 kB / 1.23 GB, free: 9.73 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0004146/0.9453, allocations: 307.3 kB / 1.23 GB, free: 9.434 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.9453, allocations: 0 / 1.23 GB, free: 9.434 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.663e-06/0.9453, allocations: 4 kB / 1.23 GB, free: 9.43 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.147e-05/0.9453, allocations: 0 / 1.23 GB, free: 9.43 MB / 0.9512 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.001429/0.9468, allocations: 0.6351 MB / 1.231 GB, free: 8.746 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/0.9468, allocations: 11.97 kB / 1.231 GB, free: 8.734 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.893e-05/0.9469, allocations: 32.78 kB / 1.231 GB, free: 8.703 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001616/0.9471, allocations: 213.3 kB / 1.231 GB, free: 8.453 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002248/0.9473, allocations: 272.3 kB / 1.231 GB, free: 8.133 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.584e-05/0.9474, allocations: 24.38 kB / 1.232 GB, free: 8.109 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004857/0.9479, allocations: 265.8 kB / 1.232 GB, free: 7.836 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.105e-05/0.9479, allocations: 4 kB / 1.232 GB, free: 7.832 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.162e-05/0.9479, allocations: 15.97 kB / 1.232 GB, free: 7.816 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.9479, allocations: 4 kB / 1.232 GB, free: 7.812 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004226/0.9484, allocations: 175.8 kB / 1.232 GB, free: 7.641 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001061/0.9494, allocations: 0.7738 MB / 1.233 GB, free: 6.809 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004756/0.9499, allocations: 207.7 kB / 1.233 GB, free: 6.578 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002476/0.9502, allocations: 130.5 kB / 1.233 GB, free: 6.441 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 4.581e-05/0.9502, allocations: 11.98 kB / 1.233 GB, free: 6.43 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000556/0.9508, allocations: 311.7 kB / 1.233 GB, free: 6.102 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=48): time 2.585e-06/0.9508, allocations: 0 / 1.233 GB, free: 6.102 MB / 0.9512 GB Notification: Performance of matching and sorting (n=48): time 0.001038/0.9518, allocations: 480 kB / 1.234 GB, free: 5.629 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.743e-05/0.9519, allocations: 118.7 kB / 1.234 GB, free: 5.488 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001701/0.9521, allocations: 183.5 kB / 1.234 GB, free: 5.297 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 4.172e-05/0.9522, allocations: 37.7 kB / 1.234 GB, free: 5.254 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 7.872e-05/0.9523, allocations: 113.3 kB / 1.234 GB, free: 5.141 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001374/0.9524, allocations: 158.7 kB / 1.234 GB, free: 4.984 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001612/0.9526, allocations: 110.3 kB / 1.234 GB, free: 4.871 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001681/0.9527, allocations: 346.8 kB / 1.235 GB, free: 4.523 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003189/0.9531, allocations: 141.2 kB / 1.235 GB, free: 4.387 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00039/0.9535, allocations: 256.8 kB / 1.235 GB, free: 4.098 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006716/0.9542, allocations: 394 kB / 1.236 GB, free: 3.676 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.293e-06/0.9542, allocations: 0 / 1.236 GB, free: 3.676 MB / 0.9512 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0009206/0.9551, allocations: 493 kB / 1.236 GB, free: 3.188 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.161e-05/0.9551, allocations: 7.938 kB / 1.236 GB, free: 3.18 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.9552, allocations: 8 kB / 1.236 GB, free: 3.172 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.669e-05/0.9552, allocations: 7.984 kB / 1.236 GB, free: 3.164 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003956/0.9556, allocations: 95.83 kB / 1.236 GB, free: 3.07 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.499e-05/0.9556, allocations: 4 kB / 1.236 GB, free: 3.066 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003045/0.9559, allocations: 55.81 kB / 1.236 GB, free: 3.012 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.276e-05/0.956, allocations: 28 kB / 1.236 GB, free: 2.984 MB / 0.9512 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.0001771/0.9562, allocations: 160.9 kB / 1.236 GB, free: 2.82 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.973e-05/0.9562, allocations: 31.75 kB / 1.236 GB, free: 2.789 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.26e-05/0.9563, allocations: 29.88 kB / 1.236 GB, free: 2.758 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.052e-05/0.9563, allocations: 3.984 kB / 1.236 GB, free: 2.754 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.9563, allocations: 11.88 kB / 1.236 GB, free: 2.742 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 6.994e-05/0.9564, allocations: 109 kB / 1.237 GB, free: 2.617 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.333e-05/0.9565, allocations: 11.98 kB / 1.237 GB, free: 2.605 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00023/0.9567, allocations: 31.97 kB / 1.237 GB, free: 2.574 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000148/0.9569, allocations: 55.88 kB / 1.237 GB, free: 2.52 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001191/0.9581, allocations: 0.6742 MB / 1.237 GB, free: 1.84 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001262/0.9593, allocations: 0.8817 MB / 1.238 GB, free: 0.9375 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003627/0.9597, allocations: 171.8 kB / 1.238 GB, free: 0.7695 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001043/0.9598, allocations: 125.2 kB / 1.238 GB, free: 0.6484 MB / 0.9512 GB Notification: Performance of Backend: time 7.61e-07/0.9598, allocations: 0 / 1.238 GB, free: 0.6484 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001104/0.9609, allocations: 353.5 kB / 1.239 GB, free: 308 kB / 0.9512 GB Notification: Performance of SimCode: time 0.001375/0.9623, allocations: 1.013 MB / 1.24 GB, free: 15.24 MB / 0.9669 GB Notification: Performance of Templates: time 0.01042/0.9728, allocations: 5.013 MB / 1.245 GB, free: 10.27 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_MovingAverage_nonZeroStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches