Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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=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_11_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_11_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.001669/0.001669, allocations: 114.2 kB / 16.81 MB, free: 5.77 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.001929/0.001929, allocations: 196.7 kB / 17.77 MB, free: 5.109 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.482/1.482, allocations: 225.6 MB / 244.2 MB, free: 13.88 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.889/2.889, allocations: 476.7 MB / 0.7556 GB, free: 11.33 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.002061/0.002061, allocations: 67.84 kB / 1.097 GB, free: 11.72 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4111/0.4131, allocations: 168.7 MB / 1.262 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart): time 0.003499/0.4166, allocations: 1.971 MB / 1.264 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001363/0.418, allocations: 0.6477 MB / 1.265 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001027/0.4181, allocations: 4 kB / 1.265 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 7.378e-05/0.4182, allocations: 19.73 kB / 1.265 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001602/0.4183, allocations: 43.52 kB / 1.265 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005379/0.4189, allocations: 143.8 kB / 1.265 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003856/0.4193, allocations: 335 kB / 1.265 GB, free: 9.684 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001703/0.4194, allocations: 36.33 kB / 1.265 GB, free: 9.645 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000212/0.4197, allocations: 131.6 kB / 1.265 GB, free: 9.516 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002359/0.4199, allocations: 151.4 kB / 1.266 GB, free: 9.367 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 6.141e-05/0.4199, allocations: 32 kB / 1.266 GB, free: 9.336 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 4.739e-05/0.42, allocations: 28 kB / 1.266 GB, free: 9.309 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 8.039e-05/0.4201, allocations: 75.73 kB / 1.266 GB, free: 9.234 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001526/0.4202, allocations: 135.3 kB / 1.266 GB, free: 9.102 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003717/0.4206, allocations: 310.8 kB / 1.266 GB, free: 8.797 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.4206, allocations: 0 / 1.266 GB, free: 8.797 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.165e-06/0.4206, allocations: 4 kB / 1.266 GB, free: 8.793 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.857e-06/0.4206, allocations: 0 / 1.266 GB, free: 8.793 MB / 0.9825 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.001386/0.422, allocations: 0.639 MB / 1.267 GB, free: 8.105 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.797e-05/0.4221, allocations: 11.97 kB / 1.267 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.737e-05/0.4221, allocations: 28.8 kB / 1.267 GB, free: 8.066 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002026/0.4223, allocations: 205.4 kB / 1.267 GB, free: 7.824 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002685/0.4226, allocations: 260.3 kB / 1.267 GB, free: 7.512 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.957e-05/0.4227, allocations: 32.38 kB / 1.267 GB, free: 7.48 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005454/0.4232, allocations: 265.8 kB / 1.267 GB, free: 7.207 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.191e-05/0.4232, allocations: 3.938 kB / 1.267 GB, free: 7.203 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.543e-05/0.4233, allocations: 12 kB / 1.267 GB, free: 7.191 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.897e-06/0.4233, allocations: 4 kB / 1.267 GB, free: 7.188 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004438/0.4237, allocations: 171.8 kB / 1.268 GB, free: 7.02 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001251/0.425, allocations: 0.7894 MB / 1.268 GB, free: 6.172 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000547/0.4255, allocations: 199.7 kB / 1.269 GB, free: 5.949 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002653/0.4258, allocations: 125.3 kB / 1.269 GB, free: 5.82 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.498e-05/0.4258, allocations: 15.97 kB / 1.269 GB, free: 5.805 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006307/0.4265, allocations: 307.7 kB / 1.269 GB, free: 5.484 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=48): time 2.004e-06/0.4265, allocations: 0 / 1.269 GB, free: 5.484 MB / 0.9825 GB Notification: Performance of matching and sorting (n=48): time 0.00113/0.4276, allocations: 484.5 kB / 1.269 GB, free: 5.008 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.38e-05/0.4277, allocations: 118.8 kB / 1.27 GB, free: 4.867 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001893/0.4279, allocations: 171.5 kB / 1.27 GB, free: 4.688 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.059e-05/0.4279, allocations: 45.69 kB / 1.27 GB, free: 4.637 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001049/0.428, allocations: 121.3 kB / 1.27 GB, free: 4.516 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001492/0.4282, allocations: 150.8 kB / 1.27 GB, free: 4.367 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001699/0.4284, allocations: 110.3 kB / 1.27 GB, free: 4.254 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001827/0.4285, allocations: 334.8 kB / 1.27 GB, free: 3.918 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003094/0.4289, allocations: 149.2 kB / 1.271 GB, free: 3.773 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004116/0.4293, allocations: 256.8 kB / 1.271 GB, free: 3.484 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006536/0.4299, allocations: 394.1 kB / 1.271 GB, free: 3.062 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/0.4299, allocations: 7.938 kB / 1.271 GB, free: 3.055 MB / 0.9825 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008772/0.4308, allocations: 493.5 kB / 1.272 GB, free: 2.566 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.288e-05/0.4308, allocations: 13.75 kB / 1.272 GB, free: 2.555 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.959e-06/0.4308, allocations: 8 kB / 1.272 GB, free: 2.547 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.261e-05/0.4309, allocations: 4 kB / 1.272 GB, free: 2.543 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003963/0.4313, allocations: 95.83 kB / 1.272 GB, free: 2.449 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.38e-05/0.4313, allocations: 7.984 kB / 1.272 GB, free: 2.441 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002838/0.4316, allocations: 59.75 kB / 1.272 GB, free: 2.383 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.321e-05/0.4316, allocations: 16 kB / 1.272 GB, free: 2.367 MB / 0.9825 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.0001943/0.4318, allocations: 168.2 kB / 1.272 GB, free: 2.191 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.639e-05/0.4318, allocations: 35.73 kB / 1.272 GB, free: 2.156 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.503e-05/0.4319, allocations: 33.81 kB / 1.272 GB, free: 2.121 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.675e-06/0.4319, allocations: 3.984 kB / 1.272 GB, free: 2.117 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.4319, allocations: 0 / 1.272 GB, free: 2.117 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.651e-05/0.432, allocations: 104.9 kB / 1.272 GB, free: 1.996 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.949e-05/0.432, allocations: 8 kB / 1.272 GB, free: 1.988 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002419/0.4323, allocations: 35.95 kB / 1.272 GB, free: 1.953 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001571/0.4324, allocations: 55.88 kB / 1.272 GB, free: 1.898 MB / 0.9825 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001244/0.4337, allocations: 0.6636 MB / 1.273 GB, free: 1.227 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001258/0.4349, allocations: 0.8794 MB / 1.274 GB, free: 340 kB / 0.9825 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003477/0.4353, allocations: 161 kB / 1.274 GB, free: 180 kB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.753e-05/0.4354, allocations: 125.2 kB / 1.274 GB, free: 56 kB / 0.9825 GB Notification: Performance of Backend: time 4.61e-07/0.4354, allocations: 0 / 1.274 GB, free: 56 kB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001086/0.4365, allocations: 345 kB / 1.274 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of SimCode: time 0.001271/0.4377, allocations: 1.027 MB / 1.275 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of Templates: time 0.01088/0.4486, allocations: 5.138 MB / 1.28 GB, free: 9.535 MB / 0.9981 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_MovingAverage_nonZeroStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches