Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001293/0.001293, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.00232/0.00232, allocations: 219.8 kB / 22.26 MB, free: 5.121 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.506/1.506, allocations: 230.6 MB / 256 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.293/3.293, allocations: 0.49 GB / 0.7951 GB, free: 33.46 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_Buildings_Controls_OBC_CDL_Reals_Validation_MovingAverage_nonZeroStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_MovingAverage_nonZeroStart",fmuType="me",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.00206/0.00206, allocations: 66.75 kB / 1.154 GB, free: 25.62 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3619/0.364, allocations: 176.1 MB / 1.326 GB, free: 1.898 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart): time 0.003704/0.3677, allocations: 2.019 MB / 1.328 GB, free: 15.87 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001347/0.369, allocations: 0.744 MB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001014/0.3691, allocations: 4 kB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 5.386e-05/0.3692, allocations: 19.73 kB / 1.329 GB, free: 15.1 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001199/0.3693, allocations: 43.52 kB / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005185/0.3698, allocations: 171.7 kB / 1.329 GB, free: 14.89 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003859/0.3702, allocations: 331.1 kB / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001627/0.3704, allocations: 45.12 kB / 1.329 GB, free: 14.51 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002374/0.3706, allocations: 143.5 kB / 1.329 GB, free: 14.37 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002396/0.3709, allocations: 151.4 kB / 1.33 GB, free: 14.22 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.512e-05/0.3709, allocations: 32 kB / 1.33 GB, free: 14.19 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 8.283e-05/0.371, allocations: 36 kB / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.376e-05/0.3711, allocations: 75.8 kB / 1.33 GB, free: 14.08 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001421/0.3712, allocations: 135.4 kB / 1.33 GB, free: 13.95 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003971/0.3716, allocations: 318.7 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3716, allocations: 0 / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.253e-06/0.3716, allocations: 4 kB / 1.33 GB, free: 13.63 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.915e-06/0.3716, allocations: 0 / 1.33 GB, free: 13.63 MB / 1.029 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.001337/0.373, allocations: 0.5637 MB / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/0.373, allocations: 8.031 kB / 1.331 GB, free: 13.03 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.351e-05/0.3731, allocations: 58.72 kB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003332/0.3734, allocations: 60.72 kB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003471/0.3738, allocations: 186.2 kB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003965/0.3741, allocations: 0.4918 MB / 1.331 GB, free: 12.1 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.571e-05/0.3742, allocations: 24.38 kB / 1.331 GB, free: 12.07 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004955/0.3747, allocations: 269.6 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.953e-05/0.3747, allocations: 3.953 kB / 1.332 GB, free: 11.79 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.058e-05/0.3748, allocations: 19.86 kB / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.069e-05/0.3748, allocations: 7.984 kB / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004324/0.3752, allocations: 179.8 kB / 1.332 GB, free: 11.59 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001136/0.3763, allocations: 0.7378 MB / 1.333 GB, free: 10.8 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005526/0.3769, allocations: 199.7 kB / 1.333 GB, free: 10.58 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002616/0.3771, allocations: 122.5 kB / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 5.396e-05/0.3772, allocations: 20.34 kB / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005483/0.3777, allocations: 307.2 kB / 1.333 GB, free: 10.11 MB / 1.029 GB Notification: Performance of pre-optimization done (n=48): time 1.773e-06/0.3777, allocations: 0 / 1.333 GB, free: 10.11 MB / 1.029 GB Notification: Performance of matching and sorting (n=48): time 0.001072/0.3788, allocations: 495.8 kB / 1.334 GB, free: 9.617 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.595e-05/0.3789, allocations: 114.8 kB / 1.334 GB, free: 9.48 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001941/0.3791, allocations: 182.3 kB / 1.334 GB, free: 9.293 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.626e-05/0.3792, allocations: 41.7 kB / 1.334 GB, free: 9.246 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.99e-05/0.3793, allocations: 121.3 kB / 1.334 GB, free: 9.125 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001418/0.3794, allocations: 150.8 kB / 1.334 GB, free: 8.977 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001723/0.3796, allocations: 106.3 kB / 1.334 GB, free: 8.867 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001706/0.3797, allocations: 346.8 kB / 1.335 GB, free: 8.52 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003176/0.3801, allocations: 149.2 kB / 1.335 GB, free: 8.371 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003872/0.3804, allocations: 244.8 kB / 1.335 GB, free: 8.098 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006748/0.3811, allocations: 398 kB / 1.335 GB, free: 7.672 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.604e-06/0.3811, allocations: 8 kB / 1.336 GB, free: 7.664 MB / 1.029 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.000877/0.382, allocations: 497.2 kB / 1.336 GB, free: 7.172 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/0.382, allocations: 8 kB / 1.336 GB, free: 7.164 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.382, allocations: 3.938 kB / 1.336 GB, free: 7.16 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.359e-05/0.3821, allocations: 8 kB / 1.336 GB, free: 7.152 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003926/0.3824, allocations: 99.81 kB / 1.336 GB, free: 7.055 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.349e-05/0.3825, allocations: 8 kB / 1.336 GB, free: 7.047 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002603/0.3827, allocations: 55.75 kB / 1.336 GB, free: 6.992 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.371e-05/0.3828, allocations: 20 kB / 1.336 GB, free: 6.973 MB / 1.029 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.0001885/0.3829, allocations: 167.3 kB / 1.336 GB, free: 6.801 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.598e-05/0.383, allocations: 35.75 kB / 1.336 GB, free: 6.766 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.034e-05/0.3831, allocations: 29.97 kB / 1.336 GB, free: 6.727 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/0.3831, allocations: 4 kB / 1.336 GB, free: 6.723 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.3831, allocations: 0 / 1.336 GB, free: 6.723 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.588e-06/0.3831, allocations: 12.08 kB / 1.336 GB, free: 6.711 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003995/0.3835, allocations: 328.4 kB / 1.337 GB, free: 6.348 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.472e-06/0.3835, allocations: 7.922 kB / 1.337 GB, free: 6.34 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000389/0.3839, allocations: 75.89 kB / 1.337 GB, free: 6.266 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.93e-06/0.3839, allocations: 7.938 kB / 1.337 GB, free: 6.258 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.1e-05/0.3839, allocations: 8 kB / 1.337 GB, free: 6.25 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.3839, allocations: 0 / 1.337 GB, free: 6.25 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.419e-06/0.3839, allocations: 7.984 kB / 1.337 GB, free: 6.242 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001106/0.385, allocations: 0.5861 MB / 1.337 GB, free: 5.633 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.813e-05/0.3851, allocations: 31.69 kB / 1.337 GB, free: 5.602 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.276e-05/0.3851, allocations: 15.94 kB / 1.337 GB, free: 5.586 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002193/0.3854, allocations: 31.97 kB / 1.337 GB, free: 5.555 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001383/0.3855, allocations: 55.91 kB / 1.338 GB, free: 5.5 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.229e-05/0.3855, allocations: 15.98 kB / 1.338 GB, free: 5.484 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001131/0.3856, allocations: 131.1 kB / 1.338 GB, free: 5.355 MB / 1.029 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3856, allocations: 0 / 1.338 GB, free: 5.355 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003365/0.386, allocations: 79.98 kB / 1.338 GB, free: 5.277 MB / 1.029 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.001491/0.3875, allocations: 1.148 MB / 1.339 GB, free: 4.098 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000736/0.3882, allocations: 356.4 kB / 1.339 GB, free: 3.75 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.3882, allocations: 4 kB / 1.339 GB, free: 3.746 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000382/0.3886, allocations: 179.7 kB / 1.339 GB, free: 3.57 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003376/0.3889, allocations: 55.69 kB / 1.339 GB, free: 3.52 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004425/0.3934, allocations: 3.195 MB / 1.343 GB, free: 168 kB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005092/0.3939, allocations: 0.7726 MB / 1.343 GB, free: 15.36 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001498/0.394, allocations: 34.97 kB / 1.343 GB, free: 15.33 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001851/0.3942, allocations: 103.4 kB / 1.343 GB, free: 15.23 MB / 1.045 GB Notification: Performance of SimCode: time 6.61e-07/0.3942, allocations: 384 / 1.343 GB, free: 15.23 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0408/0.435, allocations: 7 MB / 1.35 GB, free: 8.387 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.78/12.21, allocations: 6.312 kB / 1.35 GB, free: 8.383 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_MovingAverage_nonZeroStart_fmu --startTime=100 --stopTime=900 --stepSize=0.32 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_MovingAverage_nonZeroStart.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_MovingAverage_nonZeroStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.120025081094354]