Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_MovingAverage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_MovingAverage",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008723/0.008723, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.00248/0.00248, allocations: 197.5 kB / 16.67 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.133/2.133, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 3.166/3.166, allocations: 437 MB / 0.7105 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002751/0.002751, allocations: 67.91 kB / 1.018 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3879/0.3907, allocations: 151.6 MB / 1.166 GB, free: 7.27 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage): time 0.002163/0.3929, allocations: 1.113 MB / 1.167 GB, free: 6.156 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001382/0.3943, allocations: 1.104 MB / 1.168 GB, free: 5.039 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.504e-05/0.3943, allocations: 0 / 1.168 GB, free: 5.039 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 5.447e-05/0.3944, allocations: 19.69 kB / 1.168 GB, free: 5.02 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001154/0.3945, allocations: 47.56 kB / 1.168 GB, free: 4.973 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004215/0.3949, allocations: 151.7 kB / 1.169 GB, free: 4.824 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0003389/0.3953, allocations: 331 kB / 1.169 GB, free: 4.5 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001463/0.3955, allocations: 44.39 kB / 1.169 GB, free: 4.453 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000181/0.3956, allocations: 127.7 kB / 1.169 GB, free: 4.328 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002332/0.3959, allocations: 155.4 kB / 1.169 GB, free: 4.176 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 5.893e-05/0.3959, allocations: 32 kB / 1.169 GB, free: 4.145 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 4.862e-05/0.396, allocations: 31.94 kB / 1.169 GB, free: 4.113 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 7.834e-05/0.3961, allocations: 75.8 kB / 1.169 GB, free: 4.039 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001313/0.3962, allocations: 135.3 kB / 1.169 GB, free: 3.906 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003337/0.3966, allocations: 315.1 kB / 1.17 GB, free: 3.598 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.3966, allocations: 0 / 1.17 GB, free: 3.598 MB / 0.92 GB Notification: Performance of FrontEnd: time 9.02e-07/0.3966, allocations: 0 / 1.17 GB, free: 3.598 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.67e-06/0.3966, allocations: 0 / 1.17 GB, free: 3.598 MB / 0.92 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.00124/0.3978, allocations: 0.6351 MB / 1.17 GB, free: 2.914 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.3979, allocations: 8.031 kB / 1.17 GB, free: 2.906 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.577e-05/0.398, allocations: 54.73 kB / 1.17 GB, free: 2.844 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.511e-05/0.398, allocations: 32.78 kB / 1.171 GB, free: 2.812 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000164/0.3982, allocations: 204.8 kB / 1.171 GB, free: 2.57 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002287/0.3985, allocations: 264.3 kB / 1.171 GB, free: 2.254 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.857e-05/0.3985, allocations: 36.31 kB / 1.171 GB, free: 2.219 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005152/0.399, allocations: 262.1 kB / 1.171 GB, free: 1.949 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.682e-05/0.3991, allocations: 0 / 1.171 GB, free: 1.949 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.778e-05/0.3991, allocations: 11.98 kB / 1.171 GB, free: 1.938 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/0.3991, allocations: 4 kB / 1.171 GB, free: 1.934 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004479/0.3996, allocations: 183.8 kB / 1.171 GB, free: 1.754 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001114/0.4007, allocations: 0.7699 MB / 1.172 GB, free: 0.9258 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000501/0.4012, allocations: 207.7 kB / 1.172 GB, free: 0.6953 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002695/0.4015, allocations: 130.5 kB / 1.173 GB, free: 0.5586 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 4.542e-05/0.4016, allocations: 19.94 kB / 1.173 GB, free: 0.5391 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005907/0.4021, allocations: 312 kB / 1.173 GB, free: 220 kB / 0.92 GB Notification: Performance of pre-optimization done (n=48): time 1.823e-06/0.4022, allocations: 0 / 1.173 GB, free: 220 kB / 0.92 GB Notification: Performance of matching and sorting (n=48): time 0.001087/0.4033, allocations: 485.1 kB / 1.173 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.879e-05/0.4034, allocations: 126.7 kB / 1.173 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001762/0.4035, allocations: 171.5 kB / 1.174 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.459e-05/0.4036, allocations: 41.7 kB / 1.174 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.000104/0.4037, allocations: 121.3 kB / 1.174 GB, free: 15.24 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001326/0.4039, allocations: 158.8 kB / 1.174 GB, free: 15.08 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000155/0.404, allocations: 102.3 kB / 1.174 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001507/0.4042, allocations: 342.8 kB / 1.174 GB, free: 14.63 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003207/0.4045, allocations: 149.2 kB / 1.174 GB, free: 14.48 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003993/0.4049, allocations: 260.7 kB / 1.175 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006876/0.4056, allocations: 390.1 kB / 1.175 GB, free: 13.78 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.4056, allocations: 4 kB / 1.175 GB, free: 13.77 MB / 0.9356 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0009369/0.4066, allocations: 489.4 kB / 1.176 GB, free: 13.29 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.4066, allocations: 9.812 kB / 1.176 GB, free: 13.28 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/0.4066, allocations: 7.984 kB / 1.176 GB, free: 13.27 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.856e-05/0.4066, allocations: 4 kB / 1.176 GB, free: 13.27 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003822/0.407, allocations: 99.83 kB / 1.176 GB, free: 13.17 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.231e-05/0.407, allocations: 7.938 kB / 1.176 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002649/0.4073, allocations: 59.75 kB / 1.176 GB, free: 13.11 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.587e-05/0.4073, allocations: 16 kB / 1.176 GB, free: 13.09 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.0002019/0.4076, allocations: 168.3 kB / 1.176 GB, free: 12.91 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.059e-05/0.4076, allocations: 31.84 kB / 1.176 GB, free: 12.88 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.027e-05/0.4077, allocations: 33.86 kB / 1.176 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/0.4077, allocations: 7.984 kB / 1.176 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.194e-06/0.4077, allocations: 8 kB / 1.176 GB, free: 12.83 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.4077, allocations: 0 / 1.176 GB, free: 12.83 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003944/0.4081, allocations: 357.3 kB / 1.176 GB, free: 12.43 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/0.4082, allocations: 4.062 kB / 1.176 GB, free: 12.43 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000402/0.4086, allocations: 71.89 kB / 1.176 GB, free: 12.36 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.204e-06/0.4086, allocations: 7.938 kB / 1.176 GB, free: 12.35 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.386e-05/0.4086, allocations: 12 kB / 1.176 GB, free: 12.34 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.4086, allocations: 0 / 1.176 GB, free: 12.34 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/0.4086, allocations: 7.984 kB / 1.176 GB, free: 12.33 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001111/0.4098, allocations: 0.5794 MB / 1.177 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.553e-05/0.4098, allocations: 116.7 kB / 1.177 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.555e-05/0.4099, allocations: 8 kB / 1.177 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002318/0.4101, allocations: 31.97 kB / 1.177 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001315/0.4103, allocations: 55.92 kB / 1.177 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.355e-05/0.4103, allocations: 16 kB / 1.177 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001001/0.4104, allocations: 129.1 kB / 1.177 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.51e-07/0.4104, allocations: 0 / 1.177 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003396/0.4108, allocations: 80.19 kB / 1.177 GB, free: 11.28 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 9 (movAve1.mu,movAve2.mu,movAve3.mu,movAve4.mu,movAve5.mu,movAve6.mu,movAve7.mu,movAve8.mu,movAve9.mu) * Number of discrete variables: 18 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,movAve1.mode,movAve2.mode,movAve3.mode,movAve4.mode,movAve5.mode,$whenCondition4,$whenCondition3,movAve6.mode,movAve7.mode,$whenCondition2,$whenCondition1,movAve8.mode,movAve9.mode) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001496/0.4123, allocations: 1.156 MB / 1.179 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0007845/0.4131, allocations: 394.6 kB / 1.179 GB, free: 9.707 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.4131, allocations: 0 / 1.179 GB, free: 9.707 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.000381/0.4135, allocations: 183.8 kB / 1.179 GB, free: 9.527 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003269/0.4138, allocations: 41.7 kB / 1.179 GB, free: 9.488 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004365/0.4182, allocations: 3.165 MB / 1.182 GB, free: 6.16 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004155/0.4186, allocations: 0.7686 MB / 1.183 GB, free: 5.367 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001683/0.4188, allocations: 34.97 kB / 1.183 GB, free: 5.332 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002044/0.419, allocations: 99.39 kB / 1.183 GB, free: 5.234 MB / 0.9356 GB Notification: Performance of SimCode: time 8.22e-07/0.419, allocations: 3.938 kB / 1.183 GB, free: 5.23 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03259/0.4516, allocations: 6.524 MB / 1.189 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.99/13.44, allocations: 12.7 kB / 1.189 GB, free: 14.82 MB / 0.9512 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_res.csv --start-time 0 --stop-time 900 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.36 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_MovingAverage.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_MovingAverage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches