Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001798/0.001798, allocations: 110.4 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.002283/0.002283, allocations: 218 kB / 22.25 MB, free: 5.125 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.501/1.501, 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 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.906/2.906, allocations: 476.7 MB / 0.7707 GB, free: 4.301 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.002204/0.002204, allocations: 68.34 kB / 1.117 GB, free: 40.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3387/0.3409, allocations: 170 MB / 1.283 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart): time 0.004077/0.3449, allocations: 2.012 MB / 1.285 GB, free: 9.668 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001411/0.3463, allocations: 0.7379 MB / 1.286 GB, free: 8.926 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001598/0.3465, allocations: 7.938 kB / 1.286 GB, free: 8.918 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 8.298e-05/0.3466, allocations: 23.73 kB / 1.286 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001901/0.3468, allocations: 47.45 kB / 1.286 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006545/0.3474, allocations: 167.7 kB / 1.286 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0005601/0.348, allocations: 339 kB / 1.287 GB, free: 8.352 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001944/0.3482, allocations: 33.62 kB / 1.287 GB, free: 8.32 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003669/0.3486, allocations: 147.6 kB / 1.287 GB, free: 8.176 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003037/0.3489, allocations: 155.3 kB / 1.287 GB, free: 8.023 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.362e-05/0.3489, allocations: 28 kB / 1.287 GB, free: 7.996 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 9.288e-05/0.349, allocations: 32 kB / 1.287 GB, free: 7.965 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 8.489e-05/0.3491, allocations: 75.8 kB / 1.287 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001502/0.3493, allocations: 139.3 kB / 1.287 GB, free: 7.754 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004238/0.3497, allocations: 318.7 kB / 1.288 GB, free: 7.441 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.3497, allocations: 0 / 1.288 GB, free: 7.441 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.242e-06/0.3497, allocations: 0 / 1.288 GB, free: 7.441 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.909e-06/0.3497, allocations: 0 / 1.288 GB, free: 7.441 MB / 0.9825 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.001363/0.3511, allocations: 0.5598 MB / 1.288 GB, free: 6.848 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.3511, allocations: 16.03 kB / 1.288 GB, free: 6.832 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.099e-05/0.3512, allocations: 58.73 kB / 1.288 GB, free: 6.766 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003536/0.3515, allocations: 60.7 kB / 1.288 GB, free: 6.707 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003571/0.3519, allocations: 186.1 kB / 1.288 GB, free: 6.5 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003806/0.3523, allocations: 499.6 kB / 1.289 GB, free: 5.898 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.862e-05/0.3523, allocations: 28.38 kB / 1.289 GB, free: 5.871 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000525/0.3529, allocations: 277.6 kB / 1.289 GB, free: 5.59 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.015e-05/0.3529, allocations: 3.953 kB / 1.289 GB, free: 5.586 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.82e-05/0.3529, allocations: 12 kB / 1.289 GB, free: 5.574 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.3529, allocations: 7.938 kB / 1.289 GB, free: 5.566 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004282/0.3533, allocations: 167.9 kB / 1.289 GB, free: 5.402 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001183/0.3545, allocations: 0.7495 MB / 1.29 GB, free: 4.602 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005088/0.355, allocations: 199.8 kB / 1.29 GB, free: 4.379 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002617/0.3553, allocations: 126.5 kB / 1.29 GB, free: 4.246 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 5.294e-05/0.3554, allocations: 16.36 kB / 1.29 GB, free: 4.23 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005831/0.3559, allocations: 315.2 kB / 1.291 GB, free: 3.898 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=48): time 2.144e-06/0.3559, allocations: 0 / 1.291 GB, free: 3.898 MB / 0.9825 GB Notification: Performance of matching and sorting (n=48): time 0.001095/0.357, allocations: 478 kB / 1.291 GB, free: 3.426 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001232/0.3572, allocations: 130.7 kB / 1.291 GB, free: 3.273 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002001/0.3574, allocations: 176.8 kB / 1.291 GB, free: 3.094 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.831e-05/0.3574, allocations: 41.64 kB / 1.292 GB, free: 3.047 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.483e-05/0.3575, allocations: 125.2 kB / 1.292 GB, free: 2.922 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001694/0.3577, allocations: 154.8 kB / 1.292 GB, free: 2.77 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000163/0.3578, allocations: 106.3 kB / 1.292 GB, free: 2.66 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000185/0.358, allocations: 338.8 kB / 1.292 GB, free: 2.32 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003319/0.3583, allocations: 149.2 kB / 1.292 GB, free: 2.176 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000417/0.3588, allocations: 256.8 kB / 1.293 GB, free: 1.891 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007103/0.3595, allocations: 394 kB / 1.293 GB, free: 1.469 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.469e-06/0.3595, allocations: 0 / 1.293 GB, free: 1.469 MB / 0.9825 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.000989/0.3605, allocations: 0.4931 MB / 1.293 GB, free: 0.9688 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.707e-05/0.3605, allocations: 6.031 kB / 1.293 GB, free: 0.9648 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/0.3605, allocations: 4 kB / 1.293 GB, free: 0.9609 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.09e-05/0.3605, allocations: 7.938 kB / 1.293 GB, free: 0.9531 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004049/0.3609, allocations: 95.83 kB / 1.294 GB, free: 0.8594 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.534e-05/0.3609, allocations: 7.984 kB / 1.294 GB, free: 0.8516 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002862/0.3612, allocations: 55.75 kB / 1.294 GB, free: 0.7969 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.128e-05/0.3613, allocations: 24 kB / 1.294 GB, free: 0.7734 MB / 0.9825 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.0001812/0.3615, allocations: 155.5 kB / 1.294 GB, free: 0.6133 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.015e-05/0.3615, allocations: 35.73 kB / 1.294 GB, free: 0.5781 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.793e-05/0.3616, allocations: 34.06 kB / 1.294 GB, free: 0.543 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.006e-05/0.3616, allocations: 11.98 kB / 1.294 GB, free: 0.5312 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.3616, allocations: 0 / 1.294 GB, free: 0.5312 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.025e-06/0.3616, allocations: 3.984 kB / 1.294 GB, free: 0.5273 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003927/0.362, allocations: 324.4 kB / 1.294 GB, free: 172 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.131e-06/0.362, allocations: 3.938 kB / 1.294 GB, free: 168 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004096/0.3624, allocations: 79.84 kB / 1.294 GB, free: 88 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.057e-06/0.3624, allocations: 64 / 1.294 GB, free: 88 kB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.011e-05/0.3625, allocations: 23.98 kB / 1.294 GB, free: 64 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.3625, allocations: 0 / 1.294 GB, free: 64 kB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3625, allocations: 0 / 1.294 GB, free: 64 kB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001199/0.3637, allocations: 0.5763 MB / 1.295 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.59e-05/0.3637, allocations: 39.62 kB / 1.295 GB, free: 15.42 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.652e-05/0.3638, allocations: 15.98 kB / 1.295 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002334/0.364, allocations: 32 kB / 1.295 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001322/0.3641, allocations: 59.84 kB / 1.295 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.426e-05/0.3642, allocations: 23.98 kB / 1.295 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001168/0.3643, allocations: 128.3 kB / 1.295 GB, free: 15.17 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.3643, allocations: 0 / 1.295 GB, free: 15.17 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003567/0.3647, allocations: 80 kB / 1.295 GB, free: 15.09 MB / 0.9981 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.001503/0.3662, allocations: 1.148 MB / 1.296 GB, free: 13.9 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0007665/0.3669, allocations: 352.8 kB / 1.297 GB, free: 13.56 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.3669, allocations: 4 kB / 1.297 GB, free: 13.56 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003938/0.3673, allocations: 191.5 kB / 1.297 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003476/0.3677, allocations: 47.81 kB / 1.297 GB, free: 13.33 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004679/0.3723, allocations: 3.211 MB / 1.3 GB, free: 9.957 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004274/0.3728, allocations: 0.7687 MB / 1.301 GB, free: 9.152 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001626/0.3729, allocations: 38.95 kB / 1.301 GB, free: 9.113 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001958/0.3731, allocations: 91.41 kB / 1.301 GB, free: 9.023 MB / 0.9981 GB Notification: Performance of SimCode: time 8.62e-07/0.3731, allocations: 0 / 1.301 GB, free: 9.023 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04025/0.4134, allocations: 7.003 MB / 1.308 GB, free: 2.184 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.93/12.34, allocations: 9.094 kB / 1.308 GB, free: 2.18 MB / 0.9981 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_MovingAverage_nonZeroStart_fmu --startTime=100 --stopTime=900 --stepSize=0.32 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_MovingAverage_nonZeroStart.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_MovingAverage_nonZeroStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.13772748108022]