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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001358/0.001358, allocations: 117.4 kB / 17.17 MB, free: 5.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002162/0.002162, allocations: 214.3 kB / 20.13 MB, free: 3.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.611/1.611, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.996/2.996, allocations: 0.5003 GB / 0.8026 GB, free: 6.73 MB / 0.6387 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MovingAverage_nonZeroStart",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MovingAverage_nonZeroStart",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002008/0.002008, allocations: 59.91 kB / 1.165 GB, free: 440 kB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.047/1.049, allocations: 178.9 MB / 1.34 GB, free: 16.22 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart): time 0.002892/1.052, allocations: 2.012 MB / 1.342 GB, free: 14.79 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001129/1.054, allocations: 0.7334 MB / 1.343 GB, free: 14.28 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.991e-05/1.054, allocations: 5.25 kB / 1.343 GB, free: 14.27 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 5.34e-05/1.054, allocations: 20.42 kB / 1.343 GB, free: 14.26 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001106/1.054, allocations: 44.88 kB / 1.343 GB, free: 14.22 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004838/1.054, allocations: 175 kB / 1.343 GB, free: 14.13 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003148/1.055, allocations: 333 kB / 1.343 GB, free: 13.98 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000139/1.055, allocations: 48.34 kB / 1.343 GB, free: 13.95 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002145/1.055, allocations: 137.1 kB / 1.344 GB, free: 13.9 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001846/1.055, allocations: 154.8 kB / 1.344 GB, free: 13.82 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.5e-05/1.055, allocations: 30.59 kB / 1.344 GB, free: 13.82 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 7.208e-05/1.055, allocations: 31.62 kB / 1.344 GB, free: 13.82 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 6.367e-05/1.055, allocations: 80.81 kB / 1.344 GB, free: 13.78 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001086/1.055, allocations: 132.8 kB / 1.344 GB, free: 13.7 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003668/1.056, allocations: 316.8 kB / 1.344 GB, free: 13.57 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/1.056, allocations: 0 / 1.344 GB, free: 13.57 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.683e-06/1.056, allocations: 4 kB / 1.344 GB, free: 13.57 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.897e-06/1.056, allocations: 1.375 kB / 1.344 GB, free: 13.57 MB / 1.061 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.00127/1.057, allocations: 0.6405 MB / 1.345 GB, free: 13.09 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/1.057, allocations: 9.844 kB / 1.345 GB, free: 13.09 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.614e-05/1.057, allocations: 5.344 kB / 1.345 GB, free: 13.09 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.536e-05/1.057, allocations: 56.52 kB / 1.345 GB, free: 13.04 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003527/1.058, allocations: 60.19 kB / 1.345 GB, free: 13.02 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003033/1.058, allocations: 253.4 kB / 1.345 GB, free: 12.78 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001605/1.058, allocations: 267.5 kB / 1.346 GB, free: 12.48 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.594e-05/1.058, allocations: 35.31 kB / 1.346 GB, free: 12.47 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005134/1.059, allocations: 259.7 kB / 1.346 GB, free: 12.34 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.038e-05/1.059, allocations: 2.625 kB / 1.346 GB, free: 12.34 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.932e-05/1.059, allocations: 10.66 kB / 1.346 GB, free: 12.33 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.001e-05/1.059, allocations: 4.875 kB / 1.346 GB, free: 12.33 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004724/1.059, allocations: 174.4 kB / 1.346 GB, free: 12.28 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001052/1.06, allocations: 0.7794 MB / 1.347 GB, free: 11.69 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004798/1.061, allocations: 196.3 kB / 1.347 GB, free: 11.57 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002592/1.061, allocations: 129.7 kB / 1.347 GB, free: 11.51 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 4.851e-05/1.061, allocations: 12.11 kB / 1.347 GB, free: 11.5 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005035/1.061, allocations: 314.4 kB / 1.347 GB, free: 11.35 MB / 1.061 GB Notification: Performance of pre-optimization done (n=48): time 2.124e-06/1.061, allocations: 0 / 1.347 GB, free: 11.35 MB / 1.061 GB Notification: Performance of matching and sorting (n=48): time 0.00105/1.062, allocations: 486.5 kB / 1.348 GB, free: 11.17 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.003e-05/1.063, allocations: 113.5 kB / 1.348 GB, free: 11.05 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001554/1.063, allocations: 185.6 kB / 1.348 GB, free: 10.92 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.423e-05/1.063, allocations: 46.08 kB / 1.348 GB, free: 10.87 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.118e-05/1.063, allocations: 117.6 kB / 1.348 GB, free: 10.77 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001023/1.063, allocations: 154 kB / 1.348 GB, free: 10.64 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001603/1.063, allocations: 113.2 kB / 1.349 GB, free: 10.58 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 7.9e-05/1.063, allocations: 343.9 kB / 1.349 GB, free: 10.25 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003252/1.063, allocations: 148.4 kB / 1.349 GB, free: 10.2 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003696/1.064, allocations: 254.6 kB / 1.349 GB, free: 10.04 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006016/1.064, allocations: 394.3 kB / 1.35 GB, free: 9.805 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.598e-06/1.064, allocations: 4 kB / 1.35 GB, free: 9.801 MB / 1.061 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008618/1.065, allocations: 494.4 kB / 1.35 GB, free: 9.594 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/1.065, allocations: 8.016 kB / 1.35 GB, free: 9.594 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.767e-06/1.065, allocations: 6.625 kB / 1.35 GB, free: 9.59 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.113e-05/1.065, allocations: 4.812 kB / 1.35 GB, free: 9.59 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003941/1.066, allocations: 95.05 kB / 1.35 GB, free: 9.578 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.271e-05/1.066, allocations: 6.844 kB / 1.35 GB, free: 9.578 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002845/1.066, allocations: 62.89 kB / 1.35 GB, free: 9.547 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.766e-05/1.066, allocations: 20.34 kB / 1.35 GB, free: 9.543 MB / 1.061 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.0001436/1.066, allocations: 157.8 kB / 1.35 GB, free: 9.398 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.164e-05/1.066, allocations: 34.05 kB / 1.351 GB, free: 9.379 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.344e-05/1.066, allocations: 32 kB / 1.351 GB, free: 9.352 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.723e-06/1.066, allocations: 10.19 kB / 1.351 GB, free: 9.348 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-05/1.066, allocations: 1.891 kB / 1.351 GB, free: 9.348 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.955e-06/1.066, allocations: 3.141 kB / 1.351 GB, free: 9.348 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003359/1.067, allocations: 361 kB / 1.351 GB, free: 9.074 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/1.067, allocations: 0 / 1.351 GB, free: 9.074 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004067/1.067, allocations: 75.09 kB / 1.351 GB, free: 9.066 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-06/1.067, allocations: 3.281 kB / 1.351 GB, free: 9.066 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.468e-05/1.067, allocations: 14.86 kB / 1.351 GB, free: 9.059 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.48e-06/1.067, allocations: 2.938 kB / 1.351 GB, free: 9.059 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/1.067, allocations: 0.75 kB / 1.351 GB, free: 9.059 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001045/1.068, allocations: 0.5876 MB / 1.352 GB, free: 8.785 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.277e-05/1.068, allocations: 102.4 kB / 1.352 GB, free: 8.676 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.79e-05/1.068, allocations: 13.12 kB / 1.352 GB, free: 8.668 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002428/1.069, allocations: 37.14 kB / 1.352 GB, free: 8.656 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001545/1.069, allocations: 60.83 kB / 1.352 GB, free: 8.637 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.304e-05/1.069, allocations: 17.62 kB / 1.352 GB, free: 8.633 MB / 1.061 GB Notification: Performance of sorting global known variables: time 9.273e-05/1.069, allocations: 128.9 kB / 1.352 GB, free: 8.543 MB / 1.061 GB Notification: Performance of sort global known variables: time 8.1e-08/1.069, allocations: 0 / 1.352 GB, free: 8.543 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003573/1.069, allocations: 85.12 kB / 1.352 GB, free: 8.523 MB / 1.061 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.001292/1.07, allocations: 1.151 MB / 1.353 GB, free: 7.707 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0007841/1.071, allocations: 363.4 kB / 1.353 GB, free: 7.598 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/1.071, allocations: 0 / 1.353 GB, free: 7.598 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0003769/1.072, allocations: 190.6 kB / 1.354 GB, free: 7.531 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003649/1.072, allocations: 52.08 kB / 1.354 GB, free: 7.508 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004381/1.076, allocations: 3.196 MB / 1.357 GB, free: 5.398 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002699/1.077, allocations: 0.7657 MB / 1.358 GB, free: 4.691 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001811/1.077, allocations: 39.33 kB / 1.358 GB, free: 4.684 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001784/1.077, allocations: 97.44 kB / 1.358 GB, free: 4.621 MB / 1.061 GB Notification: Performance of SimCode: time 1.233e-06/1.077, allocations: 0 / 1.358 GB, free: 4.621 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02874/1.106, allocations: 6.712 MB / 1.364 GB, free: 3.922 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.085/10.19, allocations: 5.969 kB / 1.364 GB, free: 3.922 MB / 1.061 GB " [Timeout remaining time 290] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MovingAverage_nonZeroStart_fmu --startTime=100 --stopTime=900 --stepSize=0.32 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MovingAverage_nonZeroStart.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe 2>&1) [Timeout 840.0] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 17.010769263026305]