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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001739/0.001739, allocations: 113.5 kB / 16.42 MB, free: 6.449 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.001923/0.001923, allocations: 188.3 kB / 17.35 MB, free: 5.738 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.362/1.362, allocations: 222.9 MB / 241.1 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.611/2.611, allocations: 461.9 MB / 0.7355 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001496/0.001496, allocations: 59.91 kB / 1.055 GB, free: 7.641 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9227/0.9242, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart): time 0.003178/0.9275, allocations: 1.972 MB / 1.21 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001083/0.9286, allocations: 0.6467 MB / 1.211 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.832e-05/0.9287, allocations: 4 kB / 1.211 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 5.541e-05/0.9287, allocations: 23.67 kB / 1.211 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001175/0.9289, allocations: 35.59 kB / 1.211 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004935/0.9294, allocations: 155.7 kB / 1.211 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0003401/0.9297, allocations: 323.1 kB / 1.212 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001552/0.9299, allocations: 52.33 kB / 1.212 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000176/0.9301, allocations: 127.7 kB / 1.212 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001952/0.9303, allocations: 159.3 kB / 1.212 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 5.16e-05/0.9303, allocations: 28 kB / 1.212 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 4.438e-05/0.9304, allocations: 28 kB / 1.212 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 6.219e-05/0.9305, allocations: 79.77 kB / 1.212 GB, free: 9.992 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001172/0.9306, allocations: 131.4 kB / 1.212 GB, free: 9.863 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002881/0.9309, allocations: 314.7 kB / 1.212 GB, free: 9.559 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.9309, allocations: 0 / 1.212 GB, free: 9.559 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.473e-06/0.9309, allocations: 0 / 1.212 GB, free: 9.559 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.753e-06/0.9309, allocations: 0 / 1.212 GB, free: 9.559 MB / 0.9356 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.001166/0.9321, allocations: 0.6216 MB / 1.213 GB, free: 8.887 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.5e-05/0.9321, allocations: 12.03 kB / 1.213 GB, free: 8.875 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.427e-05/0.9322, allocations: 32.66 kB / 1.213 GB, free: 8.844 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000136/0.9323, allocations: 200.8 kB / 1.213 GB, free: 8.605 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002083/0.9326, allocations: 264.3 kB / 1.214 GB, free: 8.293 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.313e-05/0.9326, allocations: 32.31 kB / 1.214 GB, free: 8.262 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004768/0.9331, allocations: 257.9 kB / 1.214 GB, free: 7.996 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.772e-05/0.9331, allocations: 3.906 kB / 1.214 GB, free: 7.992 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.902e-05/0.9332, allocations: 16 kB / 1.214 GB, free: 7.977 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.9332, allocations: 4 kB / 1.214 GB, free: 7.973 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004073/0.9336, allocations: 175.8 kB / 1.214 GB, free: 7.801 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001039/0.9346, allocations: 0.7852 MB / 1.215 GB, free: 6.957 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004494/0.9351, allocations: 199.7 kB / 1.215 GB, free: 6.734 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002446/0.9354, allocations: 130.5 kB / 1.215 GB, free: 6.598 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.587e-05/0.9354, allocations: 11.98 kB / 1.215 GB, free: 6.586 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005158/0.9359, allocations: 303.7 kB / 1.215 GB, free: 6.27 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=48): time 1.964e-06/0.9359, allocations: 8 kB / 1.215 GB, free: 6.262 MB / 0.9356 GB Notification: Performance of matching and sorting (n=48): time 0.0009851/0.9369, allocations: 494.3 kB / 1.216 GB, free: 5.777 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.474e-05/0.937, allocations: 110.8 kB / 1.216 GB, free: 5.645 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001459/0.9371, allocations: 183.5 kB / 1.216 GB, free: 5.453 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.82e-05/0.9372, allocations: 37.7 kB / 1.216 GB, free: 5.41 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.549e-05/0.9373, allocations: 117.3 kB / 1.216 GB, free: 5.293 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001081/0.9374, allocations: 150 kB / 1.216 GB, free: 5.145 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001356/0.9375, allocations: 106.3 kB / 1.217 GB, free: 5.035 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001258/0.9376, allocations: 338.8 kB / 1.217 GB, free: 4.695 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002929/0.9379, allocations: 149.2 kB / 1.217 GB, free: 4.551 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003421/0.9383, allocations: 248.8 kB / 1.217 GB, free: 4.27 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006201/0.9389, allocations: 402 kB / 1.218 GB, free: 3.84 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.9389, allocations: 3.938 kB / 1.218 GB, free: 3.836 MB / 0.9356 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0007988/0.9397, allocations: 492.9 kB / 1.218 GB, free: 3.348 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.9398, allocations: 7.938 kB / 1.218 GB, free: 3.34 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.9398, allocations: 4 kB / 1.218 GB, free: 3.336 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.879e-05/0.9398, allocations: 8 kB / 1.218 GB, free: 3.328 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003793/0.9402, allocations: 95.83 kB / 1.218 GB, free: 3.234 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.666e-05/0.9402, allocations: 7.984 kB / 1.218 GB, free: 3.227 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002648/0.9405, allocations: 59.56 kB / 1.218 GB, free: 3.168 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.112e-05/0.9405, allocations: 20.7 kB / 1.218 GB, free: 3.148 MB / 0.9356 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.0001538/0.9407, allocations: 159.4 kB / 1.218 GB, free: 2.984 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.809e-05/0.9407, allocations: 35.64 kB / 1.218 GB, free: 2.949 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.626e-05/0.9408, allocations: 29.88 kB / 1.219 GB, free: 2.922 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.205e-06/0.9408, allocations: 7.984 kB / 1.219 GB, free: 2.914 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.9408, allocations: 0 / 1.219 GB, free: 2.914 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.4e-05/0.9409, allocations: 100.8 kB / 1.219 GB, free: 2.797 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.784e-05/0.9409, allocations: 12 kB / 1.219 GB, free: 2.785 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002331/0.9412, allocations: 31.95 kB / 1.219 GB, free: 2.754 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001194/0.9413, allocations: 51.94 kB / 1.219 GB, free: 2.703 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001119/0.9424, allocations: 0.6677 MB / 1.219 GB, free: 2.027 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001103/0.9435, allocations: 0.8777 MB / 1.22 GB, free: 1.129 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003233/0.9439, allocations: 175.8 kB / 1.22 GB, free: 0.957 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.876e-05/0.944, allocations: 125.2 kB / 1.221 GB, free: 0.8359 MB / 0.9356 GB Notification: Performance of Backend: time 5.51e-07/0.944, allocations: 0 / 1.221 GB, free: 0.8359 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0009638/0.9449, allocations: 364.7 kB / 1.221 GB, free: 488 kB / 0.9356 GB Notification: Performance of SimCode: time 0.001011/0.946, allocations: 0.9964 MB / 1.222 GB, free: 15.42 MB / 0.9512 GB Notification: Performance of Templates: time 0.01021/0.9562, allocations: 5.008 MB / 1.227 GB, free: 10.46 MB / 0.9512 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