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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001334/0.001334, allocations: 110.1 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001365/0.001365, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.433/1.433, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.668/2.668, allocations: 443.5 MB / 0.7287 GB, free: 13.24 MB / 0.5919 GB " [Timeout remaining time 177] 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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001966/0.001966, allocations: 71.89 kB / 1.056 GB, free: 5.789 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9061/0.9081, allocations: 160.7 MB / 1.213 GB, free: 3.855 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage): time 0.002712/0.9108, allocations: 1.117 MB / 1.214 GB, free: 3 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001893/0.9127, allocations: 1.105 MB / 1.215 GB, free: 2.094 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001612/0.9129, allocations: 1.156 kB / 1.215 GB, free: 2.094 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 7.009e-05/0.9129, allocations: 28.67 kB / 1.215 GB, free: 2.066 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001741/0.9131, allocations: 39.83 kB / 1.215 GB, free: 2.031 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.00056/0.9137, allocations: 146.7 kB / 1.215 GB, free: 1.918 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0004685/0.9142, allocations: 324.2 kB / 1.216 GB, free: 1.73 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001604/0.9143, allocations: 37.75 kB / 1.216 GB, free: 1.703 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002917/0.9146, allocations: 135.8 kB / 1.216 GB, free: 1.621 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002779/0.9149, allocations: 154.7 kB / 1.216 GB, free: 1.508 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 7.561e-05/0.915, allocations: 29.59 kB / 1.216 GB, free: 1.508 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 5.989e-05/0.915, allocations: 34.22 kB / 1.216 GB, free: 1.504 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 7.879e-05/0.9151, allocations: 75.5 kB / 1.216 GB, free: 1.441 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001586/0.9153, allocations: 132.8 kB / 1.216 GB, free: 1.344 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003814/0.9156, allocations: 313.3 kB / 1.217 GB, free: 1.105 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.9156, allocations: 1.094 kB / 1.217 GB, free: 1.105 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.693e-06/0.9156, allocations: 0 / 1.217 GB, free: 1.105 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.782e-06/0.9157, allocations: 0 / 1.217 GB, free: 1.105 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.001342/0.917, allocations: 0.6376 MB / 1.217 GB, free: 0.5547 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.031e-05/0.917, allocations: 14.84 kB / 1.217 GB, free: 0.5508 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.777e-05/0.9171, allocations: 57.86 kB / 1.217 GB, free: 0.4922 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.368e-05/0.9172, allocations: 37.66 kB / 1.217 GB, free: 484 kB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001779/0.9174, allocations: 204.2 kB / 1.217 GB, free: 248 kB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002697/0.9177, allocations: 262.1 kB / 1.218 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.374e-05/0.9177, allocations: 34.44 kB / 1.218 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005177/0.9182, allocations: 261.2 kB / 1.218 GB, free: 15.76 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.604e-05/0.9183, allocations: 13.02 kB / 1.218 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.735e-05/0.9183, allocations: 6.281 kB / 1.218 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.997e-06/0.9183, allocations: 6 kB / 1.218 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004299/0.9187, allocations: 174.8 kB / 1.218 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001245/0.92, allocations: 0.7684 MB / 1.219 GB, free: 14.97 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005161/0.9205, allocations: 195.8 kB / 1.219 GB, free: 14.83 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002716/0.9208, allocations: 134.8 kB / 1.219 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 4.725e-05/0.9208, allocations: 10.77 kB / 1.219 GB, free: 14.74 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000642/0.9214, allocations: 321.5 kB / 1.22 GB, free: 14.51 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=48): time 2.424e-06/0.9215, allocations: 0 / 1.22 GB, free: 14.51 MB / 0.9356 GB Notification: Performance of matching and sorting (n=48): time 0.001114/0.9226, allocations: 478.8 kB / 1.22 GB, free: 14.29 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001007/0.9227, allocations: 115.3 kB / 1.22 GB, free: 14.16 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002147/0.9229, allocations: 180 kB / 1.22 GB, free: 14.02 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.385e-05/0.9229, allocations: 37.98 kB / 1.22 GB, free: 13.98 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001011/0.923, allocations: 124.5 kB / 1.22 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001467/0.9232, allocations: 158.3 kB / 1.221 GB, free: 13.72 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001687/0.9233, allocations: 101.8 kB / 1.221 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002135/0.9236, allocations: 345.4 kB / 1.221 GB, free: 13.32 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003501/0.9239, allocations: 144.6 kB / 1.221 GB, free: 13.25 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00041/0.9243, allocations: 262.8 kB / 1.221 GB, free: 13.06 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006851/0.925, allocations: 394.4 kB / 1.222 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.382e-06/0.925, allocations: 1.219 kB / 1.222 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.000921/0.9259, allocations: 494.4 kB / 1.222 GB, free: 12.55 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/0.926, allocations: 10.5 kB / 1.222 GB, free: 12.55 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.849e-06/0.926, allocations: 3.062 kB / 1.222 GB, free: 12.55 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.102e-05/0.926, allocations: 5.5 kB / 1.222 GB, free: 12.55 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003912/0.9264, allocations: 97.92 kB / 1.222 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.72e-05/0.9264, allocations: 9.203 kB / 1.222 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003049/0.9267, allocations: 61.66 kB / 1.222 GB, free: 12.48 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.766e-05/0.9267, allocations: 24.2 kB / 1.222 GB, free: 12.47 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.0001818/0.9269, allocations: 156.2 kB / 1.223 GB, free: 12.33 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.874e-05/0.927, allocations: 40.47 kB / 1.223 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.856e-05/0.9271, allocations: 34.42 kB / 1.223 GB, free: 12.27 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.346e-06/0.9271, allocations: 5.75 kB / 1.223 GB, free: 12.27 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.183e-05/0.9271, allocations: 0 / 1.223 GB, free: 12.27 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.922e-06/0.9271, allocations: 1.469 kB / 1.223 GB, free: 12.27 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004482/0.9275, allocations: 353.2 kB / 1.223 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.9275, allocations: 0.9375 kB / 1.223 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004109/0.9279, allocations: 74.86 kB / 1.223 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.884e-06/0.928, allocations: 7.125 kB / 1.223 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.645e-05/0.928, allocations: 12.88 kB / 1.223 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.851e-06/0.928, allocations: 6.453 kB / 1.223 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.768e-06/0.928, allocations: 3.938 kB / 1.223 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001122/0.9291, allocations: 0.5791 MB / 1.224 GB, free: 11.58 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 8.692e-05/0.9292, allocations: 113.5 kB / 1.224 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.067e-05/0.9293, allocations: 11.66 kB / 1.224 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002403/0.9295, allocations: 35.84 kB / 1.224 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001355/0.9296, allocations: 54.59 kB / 1.224 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.919e-05/0.9297, allocations: 11.62 kB / 1.224 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001186/0.9298, allocations: 134.3 kB / 1.224 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of sort global known variables: time 9.1e-08/0.9298, allocations: 0 / 1.224 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003606/0.9301, allocations: 82.94 kB / 1.224 GB, free: 11.27 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.0016/0.9317, allocations: 1.155 MB / 1.225 GB, free: 10.4 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0008392/0.9326, allocations: 353.8 kB / 1.226 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.9326, allocations: 0 / 1.226 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0003921/0.933, allocations: 186.9 kB / 1.226 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003442/0.9333, allocations: 41.97 kB / 1.226 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004884/0.9382, allocations: 3.17 MB / 1.229 GB, free: 7.152 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004534/0.9387, allocations: 0.7686 MB / 1.23 GB, free: 6.359 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001894/0.9389, allocations: 34.97 kB / 1.23 GB, free: 6.324 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001932/0.939, allocations: 95.61 kB / 1.23 GB, free: 6.23 MB / 0.9356 GB Notification: Performance of SimCode: time 9.61e-07/0.939, allocations: 0 / 1.23 GB, free: 6.23 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03409/0.9731, allocations: 6.548 MB / 1.236 GB, free: 15.81 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.576/9.549, allocations: 27.03 kB / 1.236 GB, free: 15.79 MB / 0.9512 GB " [Timeout remaining time 290] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_MovingAverage_fmu --startTime=0 --stopTime=900 --stepSize=0.36 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_MovingAverage.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_MovingAverage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.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: 15.466377706732601]