Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage.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,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") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001122/0.001122, allocations: 109 kB / 16.42 MB, free: 6.52 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.001095/0.001095, allocations: 192.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.358/1.358, allocations: 222.9 MB / 241 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.273/2.273, allocations: 390.3 MB / 0.6655 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001482/0.001482, allocations: 67.91 kB / 0.9516 GB, free: 7.598 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9941/0.9956, allocations: 140.4 MB / 1.089 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage): time 0.002153/0.9978, allocations: 1.119 MB / 1.09 GB, free: 4.77 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001387/0.9992, allocations: 1.099 MB / 1.091 GB, free: 3.949 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.645e-05/0.9993, allocations: 2.125 kB / 1.091 GB, free: 3.949 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 5.133e-05/0.9994, allocations: 17.62 kB / 1.091 GB, free: 3.934 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001288/0.9995, allocations: 45.45 kB / 1.091 GB, free: 3.898 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005134/1, allocations: 152.8 kB / 1.091 GB, free: 3.82 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003917/1, allocations: 327.4 kB / 1.091 GB, free: 3.676 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000183/1.001, allocations: 44.42 kB / 1.091 GB, free: 3.652 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002034/1.001, allocations: 129.2 kB / 1.092 GB, free: 3.598 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002261/1.001, allocations: 160.3 kB / 1.092 GB, free: 3.52 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 6.973e-05/1.001, allocations: 30.12 kB / 1.092 GB, free: 3.52 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 6.372e-05/1.001, allocations: 29.53 kB / 1.092 GB, free: 3.52 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 8.658e-05/1.001, allocations: 72.38 kB / 1.092 GB, free: 3.48 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001509/1.001, allocations: 135.3 kB / 1.092 GB, free: 3.398 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004444/1.002, allocations: 324.2 kB / 1.092 GB, free: 3.273 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/1.002, allocations: 0.75 kB / 1.092 GB, free: 3.273 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.583e-06/1.002, allocations: 0 / 1.092 GB, free: 3.273 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.344e-06/1.002, allocations: 0.7188 kB / 1.092 GB, free: 3.273 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.001282/1.003, allocations: 0.6177 MB / 1.093 GB, free: 2.809 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/1.003, allocations: 8.812 kB / 1.093 GB, free: 2.809 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.625e-05/1.003, allocations: 38.47 kB / 1.093 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001119/1.003, allocations: 201.7 kB / 1.093 GB, free: 2.562 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001504/1.004, allocations: 262.4 kB / 1.093 GB, free: 2.273 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.859e-05/1.004, allocations: 33.27 kB / 1.093 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005049/1.004, allocations: 259.6 kB / 1.094 GB, free: 2.137 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.029e-05/1.004, allocations: 5.844 kB / 1.094 GB, free: 2.133 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.97e-05/1.004, allocations: 11.16 kB / 1.094 GB, free: 2.125 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.17e-05/1.004, allocations: 9.359 kB / 1.094 GB, free: 2.121 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004414/1.005, allocations: 170.1 kB / 1.094 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001067/1.006, allocations: 0.7779 MB / 1.095 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005232/1.006, allocations: 210.2 kB / 1.095 GB, free: 1.359 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002813/1.007, allocations: 134.3 kB / 1.095 GB, free: 1.293 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 4.877e-05/1.007, allocations: 7.391 kB / 1.095 GB, free: 1.293 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006496/1.007, allocations: 319.4 kB / 1.095 GB, free: 1.137 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=48): time 2.314e-06/1.007, allocations: 4.219 kB / 1.095 GB, free: 1.133 MB / 0.8575 GB Notification: Performance of matching and sorting (n=48): time 0.001145/1.009, allocations: 490.7 kB / 1.096 GB, free: 0.9531 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.056e-05/1.009, allocations: 111.5 kB / 1.096 GB, free: 0.8281 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001605/1.009, allocations: 177.7 kB / 1.096 GB, free: 0.6992 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.733e-05/1.009, allocations: 38.84 kB / 1.096 GB, free: 0.6602 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.602e-05/1.009, allocations: 116.8 kB / 1.096 GB, free: 0.5547 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001051/1.009, allocations: 154.3 kB / 1.096 GB, free: 444 kB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001543/1.009, allocations: 104.9 kB / 1.096 GB, free: 388 kB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.008e-05/1.009, allocations: 339.6 kB / 1.097 GB, free: 56 kB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003298/1.01, allocations: 151.8 kB / 1.097 GB, free: 0 / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004531/1.01, allocations: 250.8 kB / 1.097 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000709/1.011, allocations: 394 kB / 1.097 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/1.011, allocations: 0.9062 kB / 1.097 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0009396/1.012, allocations: 490.2 kB / 1.098 GB, free: 15.4 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.303e-05/1.012, allocations: 6.969 kB / 1.098 GB, free: 15.4 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/1.012, allocations: 7.25 kB / 1.098 GB, free: 15.4 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.23e-05/1.012, allocations: 5.469 kB / 1.098 GB, free: 15.4 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004162/1.012, allocations: 94.98 kB / 1.098 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.809e-05/1.012, allocations: 10.06 kB / 1.098 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003033/1.013, allocations: 54.12 kB / 1.098 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.071e-05/1.013, allocations: 20.34 kB / 1.098 GB, free: 15.36 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.0001739/1.013, allocations: 157.6 kB / 1.098 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.718e-05/1.013, allocations: 29.64 kB / 1.098 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.513e-05/1.013, allocations: 39.48 kB / 1.098 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.131e-05/1.013, allocations: 3.922 kB / 1.098 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/1.013, allocations: 4.844 kB / 1.098 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 6.188e-05/1.013, allocations: 102 kB / 1.098 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.209e-05/1.013, allocations: 12.78 kB / 1.098 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002392/1.013, allocations: 29.48 kB / 1.098 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000158/1.013, allocations: 59.91 kB / 1.099 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001244/1.015, allocations: 0.6617 MB / 1.099 GB, free: 14.63 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001322/1.016, allocations: 0.8815 MB / 1.1 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000393/1.016, allocations: 177 kB / 1.1 GB, free: 14.01 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001111/1.017, allocations: 127.7 kB / 1.1 GB, free: 13.92 MB / 0.8731 GB Notification: Performance of Backend: time 4.41e-07/1.017, allocations: 4.188 kB / 1.1 GB, free: 13.92 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001127/1.018, allocations: 359.9 kB / 1.101 GB, free: 13.76 MB / 0.8731 GB Notification: Performance of SimCode: time 0.001268/1.019, allocations: 0.9951 MB / 1.102 GB, free: 12.95 MB / 0.8731 GB Notification: Performance of Templates: time 0.01215/1.031, allocations: 5 MB / 1.107 GB, free: 12.64 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_MovingAverage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches