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.001761/0.001761, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.002271/0.002271, allocations: 216.8 kB / 23.04 MB, free: 5.074 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.542/1.542, allocations: 230.6 MB / 256.8 MB, free: 7.992 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 3.245/3.245, allocations: 0.5003 GB / 0.8061 GB, free: 26.75 MB / 0.6231 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.001983/0.001983, allocations: 62.12 kB / 1.171 GB, free: 19.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3527/0.3547, allocations: 179 MB / 1.345 GB, free: 436 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart): time 0.004162/0.3588, allocations: 2.017 MB / 1.347 GB, free: 14.39 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001491/0.3603, allocations: 0.744 MB / 1.348 GB, free: 13.64 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000138/0.3605, allocations: 7.938 kB / 1.348 GB, free: 13.64 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 6.724e-05/0.3605, allocations: 19.73 kB / 1.348 GB, free: 13.62 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001366/0.3607, allocations: 47.52 kB / 1.348 GB, free: 13.57 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005588/0.3612, allocations: 167.7 kB / 1.348 GB, free: 13.41 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0004605/0.3617, allocations: 327.1 kB / 1.349 GB, free: 13.09 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001595/0.3618, allocations: 45.12 kB / 1.349 GB, free: 13.04 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003445/0.3622, allocations: 143.6 kB / 1.349 GB, free: 12.9 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003191/0.3625, allocations: 151.4 kB / 1.349 GB, free: 12.75 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 5.89e-05/0.3626, allocations: 35.94 kB / 1.349 GB, free: 12.71 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 8.854e-05/0.3627, allocations: 36 kB / 1.349 GB, free: 12.68 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 7.431e-05/0.3627, allocations: 71.8 kB / 1.349 GB, free: 12.61 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0002893/0.363, allocations: 143.3 kB / 1.349 GB, free: 12.47 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.000434/0.3635, allocations: 314.7 kB / 1.35 GB, free: 12.16 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.3635, allocations: 0 / 1.35 GB, free: 12.16 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.323e-06/0.3635, allocations: 0 / 1.35 GB, free: 12.16 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.334e-05/0.3635, allocations: 0 / 1.35 GB, free: 12.16 MB / 1.045 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.001454/0.3649, allocations: 0.5713 MB / 1.35 GB, free: 11.55 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.365, allocations: 8.031 kB / 1.35 GB, free: 11.55 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.075e-05/0.365, allocations: 8.625 kB / 1.35 GB, free: 11.54 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.621e-05/0.3651, allocations: 54.73 kB / 1.35 GB, free: 11.48 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003435/0.3654, allocations: 68.7 kB / 1.35 GB, free: 11.41 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003767/0.3658, allocations: 178.2 kB / 1.35 GB, free: 11.21 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004203/0.3662, allocations: 499.6 kB / 1.351 GB, free: 10.61 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.579e-05/0.3663, allocations: 36.06 kB / 1.351 GB, free: 10.58 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006289/0.3669, allocations: 269.6 kB / 1.351 GB, free: 10.3 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.184e-05/0.3669, allocations: 4 kB / 1.351 GB, free: 10.29 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3e-05/0.3669, allocations: 8 kB / 1.351 GB, free: 10.29 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.206e-06/0.3669, allocations: 4 kB / 1.351 GB, free: 10.28 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005491/0.3675, allocations: 179.8 kB / 1.351 GB, free: 10.11 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00135/0.3688, allocations: 0.7417 MB / 1.352 GB, free: 9.312 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005213/0.3694, allocations: 195.7 kB / 1.352 GB, free: 9.094 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000293/0.3697, allocations: 132.6 kB / 1.352 GB, free: 8.957 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 4.24e-05/0.3697, allocations: 12.36 kB / 1.352 GB, free: 8.945 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005527/0.3703, allocations: 322.9 kB / 1.353 GB, free: 8.609 MB / 1.045 GB Notification: Performance of pre-optimization done (n=48): time 2.124e-06/0.3703, allocations: 0 / 1.353 GB, free: 8.609 MB / 1.045 GB Notification: Performance of matching and sorting (n=48): time 0.001141/0.3714, allocations: 482 kB / 1.353 GB, free: 8.133 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.307e-05/0.3715, allocations: 126.7 kB / 1.353 GB, free: 7.984 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001965/0.3717, allocations: 179.5 kB / 1.353 GB, free: 7.801 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.887e-05/0.3717, allocations: 37.7 kB / 1.353 GB, free: 7.758 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001016/0.3718, allocations: 125.3 kB / 1.354 GB, free: 7.633 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001644/0.372, allocations: 154.8 kB / 1.354 GB, free: 7.48 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002038/0.3722, allocations: 102.3 kB / 1.354 GB, free: 7.375 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0003222/0.3725, allocations: 338.8 kB / 1.354 GB, free: 7.035 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003535/0.3729, allocations: 153.2 kB / 1.354 GB, free: 6.887 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005241/0.3734, allocations: 252.8 kB / 1.355 GB, free: 6.602 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007645/0.3742, allocations: 398 kB / 1.355 GB, free: 6.176 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.262e-06/0.3742, allocations: 0 / 1.355 GB, free: 6.176 MB / 1.045 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001021/0.3752, allocations: 0.4931 MB / 1.355 GB, free: 5.676 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.79e-05/0.3752, allocations: 11.94 kB / 1.355 GB, free: 5.664 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.214e-05/0.3752, allocations: 4 kB / 1.355 GB, free: 5.66 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.399e-05/0.3753, allocations: 4 kB / 1.355 GB, free: 5.656 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004548/0.3757, allocations: 95.83 kB / 1.356 GB, free: 5.562 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.622e-05/0.3757, allocations: 8.641 kB / 1.356 GB, free: 5.555 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002932/0.376, allocations: 55.73 kB / 1.356 GB, free: 5.5 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.425e-05/0.3761, allocations: 20 kB / 1.356 GB, free: 5.48 MB / 1.045 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.0002539/0.3763, allocations: 167.3 kB / 1.356 GB, free: 5.305 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.338e-05/0.3764, allocations: 35.75 kB / 1.356 GB, free: 5.27 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001023/0.3765, allocations: 33.95 kB / 1.356 GB, free: 5.234 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.065e-05/0.3765, allocations: 4 kB / 1.356 GB, free: 5.23 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-05/0.3765, allocations: 4 kB / 1.356 GB, free: 5.227 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.038e-05/0.3766, allocations: 3.984 kB / 1.356 GB, free: 5.223 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004884/0.377, allocations: 328.3 kB / 1.356 GB, free: 4.859 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.377, allocations: 4 kB / 1.356 GB, free: 4.855 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004275/0.3775, allocations: 75.89 kB / 1.356 GB, free: 4.781 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.165e-06/0.3775, allocations: 4 kB / 1.356 GB, free: 4.777 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.075e-05/0.3775, allocations: 15.98 kB / 1.356 GB, free: 4.762 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.81e-06/0.3775, allocations: 4 kB / 1.356 GB, free: 4.758 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.3775, allocations: 0 / 1.356 GB, free: 4.758 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001255/0.3788, allocations: 0.5939 MB / 1.357 GB, free: 4.137 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 5.056e-05/0.3788, allocations: 23.8 kB / 1.357 GB, free: 4.113 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.347e-05/0.3789, allocations: 15.98 kB / 1.357 GB, free: 4.098 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002445/0.3791, allocations: 27.97 kB / 1.357 GB, free: 4.07 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001473/0.3793, allocations: 63.84 kB / 1.357 GB, free: 4.008 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.254e-05/0.3793, allocations: 20 kB / 1.357 GB, free: 3.988 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001174/0.3794, allocations: 131.1 kB / 1.357 GB, free: 3.859 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.3794, allocations: 0 / 1.357 GB, free: 3.859 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003602/0.3798, allocations: 79.95 kB / 1.357 GB, free: 3.781 MB / 1.045 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.00171/0.3815, allocations: 1.14 MB / 1.358 GB, free: 2.613 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.000865/0.3824, allocations: 355 kB / 1.359 GB, free: 2.266 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.3824, allocations: 11.94 kB / 1.359 GB, free: 2.254 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0004051/0.3828, allocations: 171.8 kB / 1.359 GB, free: 2.086 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003713/0.3832, allocations: 52.47 kB / 1.359 GB, free: 2.035 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00539/0.3885, allocations: 3.204 MB / 1.362 GB, free: 14.67 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004673/0.389, allocations: 0.7648 MB / 1.363 GB, free: 13.87 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001907/0.3892, allocations: 42.95 kB / 1.363 GB, free: 13.83 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001947/0.3894, allocations: 91.41 kB / 1.363 GB, free: 13.75 MB / 1.061 GB Notification: Performance of SimCode: time 1.482e-06/0.3894, allocations: 0 / 1.363 GB, free: 13.75 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03233/0.4217, allocations: 7.035 MB / 1.37 GB, free: 6.887 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.99/12.41, allocations: 19.75 kB / 1.37 GB, free: 6.871 MB / 1.061 GB " [Timeout remaining time 287] (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: 19.40991650900105]