Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Continuous.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_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage_nonZeroStart") translateModel(Buildings.Controls.OBC.CDL.Continuous.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_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage_nonZeroStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001643/0.001643, allocations: 110.9 kB / 16.42 MB, free: 6.465 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.001738/0.001738, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.474/1.474, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.333/2.333, allocations: 390.3 MB / 0.6655 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00149/0.00149, allocations: 67.89 kB / 0.9516 GB, free: 7.613 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9133/0.9149, allocations: 140.4 MB / 1.089 GB, free: 5.535 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage_nonZeroStart): time 0.004776/0.9197, allocations: 1.977 MB / 1.091 GB, free: 4.137 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001706/0.9214, allocations: 0.64 MB / 1.091 GB, free: 3.684 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003436/0.9218, allocations: 1.75 kB / 1.091 GB, free: 3.684 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001102/0.922, allocations: 22.59 kB / 1.091 GB, free: 3.664 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003523/0.9224, allocations: 41.83 kB / 1.091 GB, free: 3.633 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008151/0.9232, allocations: 148.6 kB / 1.091 GB, free: 3.559 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0006552/0.9239, allocations: 318.3 kB / 1.092 GB, free: 3.422 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002099/0.9241, allocations: 49.95 kB / 1.092 GB, free: 3.395 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003372/0.9244, allocations: 128.9 kB / 1.092 GB, free: 3.34 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003866/0.9248, allocations: 156.4 kB / 1.092 GB, free: 3.266 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001423/0.925, allocations: 29.19 kB / 1.092 GB, free: 3.266 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 9.554e-05/0.9251, allocations: 29.56 kB / 1.092 GB, free: 3.266 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 9.392e-05/0.9252, allocations: 76.53 kB / 1.092 GB, free: 3.223 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001981/0.9254, allocations: 135.5 kB / 1.092 GB, free: 3.141 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000604/0.926, allocations: 310 kB / 1.093 GB, free: 3.023 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 9.238e-06/0.926, allocations: 0.75 kB / 1.093 GB, free: 3.023 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.983e-06/0.926, allocations: 0 / 1.093 GB, free: 3.023 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.757e-05/0.926, allocations: 0 / 1.093 GB, free: 3.023 MB / 0.8575 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.001698/0.9278, allocations: 0.6214 MB / 1.093 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.651e-05/0.9278, allocations: 9.578 kB / 1.093 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001283/0.928, allocations: 34.14 kB / 1.093 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001643/0.9281, allocations: 205 kB / 1.093 GB, free: 2.312 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001931/0.9283, allocations: 266.6 kB / 1.094 GB, free: 2.02 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.487e-05/0.9284, allocations: 32.5 kB / 1.094 GB, free: 2.008 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006792/0.9291, allocations: 260.2 kB / 1.094 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.977e-05/0.9291, allocations: 10.64 kB / 1.094 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.394e-05/0.9292, allocations: 10.48 kB / 1.094 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.214e-05/0.9292, allocations: 5.219 kB / 1.094 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005147/0.9297, allocations: 177.9 kB / 1.094 GB, free: 1.812 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001277/0.931, allocations: 0.7783 MB / 1.095 GB, free: 1.223 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005545/0.9316, allocations: 202.2 kB / 1.095 GB, free: 1.105 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002705/0.9319, allocations: 133.5 kB / 1.095 GB, free: 1.039 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 4.473e-05/0.9319, allocations: 12.34 kB / 1.095 GB, free: 1.035 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006419/0.9326, allocations: 314.8 kB / 1.096 GB, free: 0.8789 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=48): time 3.316e-06/0.9326, allocations: 4 kB / 1.096 GB, free: 0.875 MB / 0.8575 GB Notification: Performance of matching and sorting (n=48): time 0.001216/0.9338, allocations: 485.7 kB / 1.096 GB, free: 0.6992 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.985e-05/0.9339, allocations: 112.5 kB / 1.096 GB, free: 0.5742 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001725/0.934, allocations: 177.8 kB / 1.096 GB, free: 456 kB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 4.847e-05/0.9341, allocations: 38.56 kB / 1.096 GB, free: 416 kB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.387e-05/0.9342, allocations: 120.7 kB / 1.096 GB, free: 304 kB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001254/0.9343, allocations: 151.1 kB / 1.097 GB, free: 184 kB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001775/0.9345, allocations: 103.6 kB / 1.097 GB, free: 128 kB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001555/0.9346, allocations: 343.9 kB / 1.097 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003692/0.935, allocations: 144.3 kB / 1.097 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004543/0.9355, allocations: 253.9 kB / 1.097 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007437/0.9362, allocations: 395.3 kB / 1.098 GB, free: 15.35 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.122e-06/0.9362, allocations: 1.094 kB / 1.098 GB, free: 15.35 MB / 0.8731 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001036/0.9373, allocations: 490 kB / 1.098 GB, free: 15.15 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.407e-05/0.9373, allocations: 9.688 kB / 1.098 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/0.9373, allocations: 3.312 kB / 1.098 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.094e-05/0.9374, allocations: 6 kB / 1.098 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004272/0.9378, allocations: 99.22 kB / 1.098 GB, free: 15.13 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.803e-05/0.9378, allocations: 5.984 kB / 1.098 GB, free: 15.13 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003167/0.9382, allocations: 53.75 kB / 1.098 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.856e-05/0.9382, allocations: 24.89 kB / 1.098 GB, free: 15.1 MB / 0.8731 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.0001922/0.9384, allocations: 157.6 kB / 1.099 GB, free: 14.95 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.669e-05/0.9385, allocations: 37.5 kB / 1.099 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.879e-05/0.9386, allocations: 32.16 kB / 1.099 GB, free: 14.9 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.263e-05/0.9386, allocations: 3.312 kB / 1.099 GB, free: 14.9 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.9386, allocations: 4.781 kB / 1.099 GB, free: 14.9 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 8.372e-05/0.9387, allocations: 106.6 kB / 1.099 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.52e-05/0.9388, allocations: 12.97 kB / 1.099 GB, free: 14.78 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002561/0.939, allocations: 29.72 kB / 1.099 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000168/0.9392, allocations: 59.17 kB / 1.099 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001346/0.9405, allocations: 0.6679 MB / 1.1 GB, free: 14.36 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001442/0.942, allocations: 0.8814 MB / 1.1 GB, free: 13.81 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004144/0.9424, allocations: 169.3 kB / 1.101 GB, free: 13.75 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001228/0.9426, allocations: 130.6 kB / 1.101 GB, free: 13.66 MB / 0.8731 GB Notification: Performance of Backend: time 5.71e-07/0.9426, allocations: 1 kB / 1.101 GB, free: 13.66 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001193/0.9438, allocations: 359.2 kB / 1.101 GB, free: 13.5 MB / 0.8731 GB Notification: Performance of SimCode: time 0.001506/0.9453, allocations: 0.9963 MB / 1.102 GB, free: 12.69 MB / 0.8731 GB Notification: Performance of Templates: time 0.01493/0.9602, allocations: 5.013 MB / 1.107 GB, free: 12.37 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage_nonZeroStart.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage_nonZeroStart.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage_nonZeroStart.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage_nonZeroStart.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage_nonZeroStart.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage_nonZeroStart -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage_nonZeroStart.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage_nonZeroStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_MovingAverage_nonZeroStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage_nonZeroStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches