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.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.001621/0.001621, allocations: 104.8 kB / 16.45 MB, free: 6.504 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.001723/0.001723, allocations: 191.7 kB / 19.41 MB, free: 3.68 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.457/1.457, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.084/3.084, allocations: 497.2 MB / 0.7811 GB, free: 33.71 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_nonZeroStart,fileNamePrefix="Buildings_latest_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_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MovingAverage_nonZeroStart",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001911/0.001911, allocations: 66.98 kB / 1.134 GB, free: 33.64 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3632/0.3651, allocations: 173.9 MB / 1.304 GB, free: 1.43 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart): time 0.003601/0.3687, allocations: 1.971 MB / 1.306 GB, free: 15.45 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001112/0.3699, allocations: 0.6544 MB / 1.307 GB, free: 14.79 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.712e-05/0.3699, allocations: 0 / 1.307 GB, free: 14.79 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 6.894e-05/0.37, allocations: 23.73 kB / 1.307 GB, free: 14.76 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001279/0.3701, allocations: 39.58 kB / 1.307 GB, free: 14.72 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005022/0.3706, allocations: 143.7 kB / 1.307 GB, free: 14.58 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0004056/0.371, allocations: 335 kB / 1.307 GB, free: 14.25 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001653/0.3712, allocations: 36.67 kB / 1.307 GB, free: 14.21 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000217/0.3714, allocations: 131.7 kB / 1.307 GB, free: 14.08 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002179/0.3716, allocations: 155.3 kB / 1.307 GB, free: 13.93 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 5.654e-05/0.3717, allocations: 28 kB / 1.307 GB, free: 13.9 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 4.695e-05/0.3718, allocations: 32 kB / 1.307 GB, free: 13.87 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 9.265e-05/0.3718, allocations: 79.72 kB / 1.308 GB, free: 13.79 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001302/0.372, allocations: 131.4 kB / 1.308 GB, free: 13.66 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0003802/0.3724, allocations: 302.8 kB / 1.308 GB, free: 13.37 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.758e-06/0.3724, allocations: 0 / 1.308 GB, free: 13.37 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.064e-06/0.3724, allocations: 7.938 kB / 1.308 GB, free: 13.36 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.154e-06/0.3724, allocations: 4 kB / 1.308 GB, free: 13.36 MB / 1.014 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.00137/0.3737, allocations: 0.6351 MB / 1.309 GB, free: 12.67 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.143e-05/0.3738, allocations: 12.62 kB / 1.309 GB, free: 12.66 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.707e-05/0.3739, allocations: 54.73 kB / 1.309 GB, free: 12.6 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.902e-05/0.3739, allocations: 36.73 kB / 1.309 GB, free: 12.56 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000211/0.3742, allocations: 189 kB / 1.309 GB, free: 12.34 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002646/0.3744, allocations: 268.3 kB / 1.309 GB, free: 12.02 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.141e-05/0.3745, allocations: 32.36 kB / 1.309 GB, free: 11.99 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005079/0.375, allocations: 257.7 kB / 1.309 GB, free: 11.72 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.722e-05/0.375, allocations: 15.88 kB / 1.309 GB, free: 11.71 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.506e-05/0.3751, allocations: 4 kB / 1.309 GB, free: 11.7 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.887e-06/0.3751, allocations: 8 kB / 1.309 GB, free: 11.7 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004225/0.3755, allocations: 175.8 kB / 1.31 GB, free: 11.52 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001106/0.3766, allocations: 0.7699 MB / 1.31 GB, free: 10.7 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004911/0.3771, allocations: 207.7 kB / 1.311 GB, free: 10.46 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002647/0.3773, allocations: 126.5 kB / 1.311 GB, free: 10.33 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.632e-05/0.3774, allocations: 4.375 kB / 1.311 GB, free: 10.33 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006024/0.378, allocations: 319.4 kB / 1.311 GB, free: 9.996 MB / 1.014 GB Notification: Performance of pre-optimization done (n=48): time 1.924e-06/0.378, allocations: 0 / 1.311 GB, free: 9.996 MB / 1.014 GB Notification: Performance of matching and sorting (n=48): time 0.001054/0.379, allocations: 482.1 kB / 1.311 GB, free: 9.52 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.005e-05/0.3791, allocations: 122.8 kB / 1.312 GB, free: 9.375 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001767/0.3793, allocations: 179.4 kB / 1.312 GB, free: 9.188 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.422e-05/0.3794, allocations: 37.7 kB / 1.312 GB, free: 9.145 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 8.019e-05/0.3794, allocations: 117.3 kB / 1.312 GB, free: 9.027 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001443/0.3796, allocations: 162.7 kB / 1.312 GB, free: 8.867 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001532/0.3797, allocations: 98.34 kB / 1.312 GB, free: 8.766 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001608/0.3799, allocations: 342.8 kB / 1.312 GB, free: 8.422 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003189/0.3802, allocations: 153.2 kB / 1.313 GB, free: 8.273 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004/0.3806, allocations: 252.7 kB / 1.313 GB, free: 7.988 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006746/0.3813, allocations: 398 kB / 1.313 GB, free: 7.562 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.3813, allocations: 0 / 1.313 GB, free: 7.562 MB / 1.014 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008946/0.3822, allocations: 489 kB / 1.314 GB, free: 7.078 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.273e-05/0.3822, allocations: 19.92 kB / 1.314 GB, free: 7.059 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/0.3822, allocations: 4 kB / 1.314 GB, free: 7.055 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.304e-05/0.3822, allocations: 4 kB / 1.314 GB, free: 7.051 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003886/0.3826, allocations: 95.83 kB / 1.314 GB, free: 6.957 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.155e-05/0.3826, allocations: 4 kB / 1.314 GB, free: 6.953 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000276/0.3829, allocations: 59.64 kB / 1.314 GB, free: 6.895 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.571e-05/0.3829, allocations: 23.94 kB / 1.314 GB, free: 6.871 MB / 1.014 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.0001943/0.3831, allocations: 167.4 kB / 1.314 GB, free: 6.695 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.165e-05/0.3832, allocations: 31.8 kB / 1.314 GB, free: 6.664 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.499e-05/0.3833, allocations: 33.86 kB / 1.314 GB, free: 6.629 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.3833, allocations: 4 kB / 1.314 GB, free: 6.625 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.3833, allocations: 0 / 1.314 GB, free: 6.625 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/0.3833, allocations: 4 kB / 1.314 GB, free: 6.621 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004077/0.3837, allocations: 357.3 kB / 1.314 GB, free: 6.223 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.542e-06/0.3837, allocations: 8 kB / 1.314 GB, free: 6.215 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004047/0.3841, allocations: 79.89 kB / 1.315 GB, free: 6.137 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.3841, allocations: 0 / 1.315 GB, free: 6.137 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.615e-05/0.3841, allocations: 12 kB / 1.315 GB, free: 6.125 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.428e-06/0.3842, allocations: 3.984 kB / 1.315 GB, free: 6.121 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.039e-06/0.3842, allocations: 3.938 kB / 1.315 GB, free: 6.117 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001093/0.3852, allocations: 0.5896 MB / 1.315 GB, free: 5.504 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 7.522e-05/0.3853, allocations: 108.8 kB / 1.315 GB, free: 5.379 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.392e-05/0.3854, allocations: 4 kB / 1.315 GB, free: 5.375 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002243/0.3856, allocations: 35.95 kB / 1.315 GB, free: 5.34 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001429/0.3857, allocations: 51.94 kB / 1.315 GB, free: 5.289 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.11e-05/0.3858, allocations: 23.94 kB / 1.315 GB, free: 5.266 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001033/0.3859, allocations: 128.1 kB / 1.315 GB, free: 5.141 MB / 1.014 GB Notification: Performance of sort global known variables: time 9e-08/0.3859, allocations: 0 / 1.315 GB, free: 5.141 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003319/0.3862, allocations: 83.95 kB / 1.316 GB, free: 5.059 MB / 1.014 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.001517/0.3877, allocations: 1.145 MB / 1.317 GB, free: 3.879 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0007553/0.3885, allocations: 356.4 kB / 1.317 GB, free: 3.531 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.3885, allocations: 4 kB / 1.317 GB, free: 3.527 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003827/0.3889, allocations: 187.7 kB / 1.317 GB, free: 3.344 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003197/0.3892, allocations: 46.58 kB / 1.317 GB, free: 3.301 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004427/0.3936, allocations: 3.183 MB / 1.32 GB, free: 15.96 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004065/0.394, allocations: 0.7647 MB / 1.321 GB, free: 15.18 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.000166/0.3942, allocations: 38.95 kB / 1.321 GB, free: 15.14 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001801/0.3944, allocations: 95.39 kB / 1.321 GB, free: 15.04 MB / 1.029 GB Notification: Performance of SimCode: time 5.11e-07/0.3944, allocations: 0 / 1.321 GB, free: 15.04 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03227/0.4266, allocations: 6.583 MB / 1.328 GB, free: 8.633 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.703/9.129, allocations: 8.422 kB / 1.328 GB, free: 8.625 MB / 1.029 GB " [Timeout remaining time 291] (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_2/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: 15.755130618810654]