Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.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.0008053/0.0008053, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0009452/0.0009452, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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 0.8931/0.8931, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.712/1.712, allocations: 359 MB / 0.6037 GB, free: 11.12 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_MovingAverage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_MovingAverage",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.685e-06/2.685e-06, allocations: 0 / 0.9506 GB, free: 3.445 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.168e-05/2.437e-05, allocations: 6.281 kB / 0.9506 GB, free: 3.438 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage): time 0.001688/0.001713, allocations: 1.031 MB / 0.9516 GB, free: 2.398 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001175/0.002888, allocations: 1.136 MB / 0.9527 GB, free: 1.25 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.534e-05/0.002963, allocations: 0 / 0.9527 GB, free: 1.25 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 4.672e-05/0.00301, allocations: 23.67 kB / 0.9527 GB, free: 1.227 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 9.108e-05/0.003101, allocations: 47.52 kB / 0.9528 GB, free: 1.18 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004247/0.003526, allocations: 155.7 kB / 0.9529 GB, free: 1.027 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0002574/0.003783, allocations: 331 kB / 0.9532 GB, free: 0.7031 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001461/0.003929, allocations: 40.55 kB / 0.9533 GB, free: 0.6602 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000248/0.004177, allocations: 191.6 kB / 0.9534 GB, free: 484 kB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000132/0.004309, allocations: 115.7 kB / 0.9536 GB, free: 368 kB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 3.723e-05/0.004347, allocations: 35.94 kB / 0.9536 GB, free: 332 kB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 5.682e-05/0.004403, allocations: 32 kB / 0.9536 GB, free: 300 kB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 4.573e-05/0.004449, allocations: 79.77 kB / 0.9537 GB, free: 220 kB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 6.792e-05/0.004517, allocations: 95.77 kB / 0.9538 GB, free: 124 kB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0002853/0.004802, allocations: 350.9 kB / 0.9541 GB, free: 15.78 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.004806, allocations: 8 kB / 0.9541 GB, free: 15.77 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.262e-06/0.004807, allocations: 0 / 0.9541 GB, free: 15.77 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 5.05e-06/0.004812, allocations: 0 / 0.9541 GB, free: 15.77 MB / 0.9167 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.0007762/0.005588, allocations: 0.5521 MB / 0.9547 GB, free: 15.19 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/0.005634, allocations: 11.97 kB / 0.9547 GB, free: 15.18 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.146e-05/0.005685, allocations: 58.73 kB / 0.9547 GB, free: 15.11 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002001/0.005885, allocations: 60.75 kB / 0.9548 GB, free: 15.05 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.988e-05/0.005985, allocations: 138.3 kB / 0.9549 GB, free: 14.89 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002263/0.006211, allocations: 495.7 kB / 0.9554 GB, free: 14.29 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.314e-05/0.006254, allocations: 36.31 kB / 0.9554 GB, free: 14.26 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003536/0.006608, allocations: 267.1 kB / 0.9557 GB, free: 13.98 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.443e-05/0.006622, allocations: 192 / 0.9557 GB, free: 13.98 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.956e-05/0.006642, allocations: 8.375 kB / 0.9557 GB, free: 13.97 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/0.006651, allocations: 11.88 kB / 0.9557 GB, free: 13.96 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000275/0.006926, allocations: 179.8 kB / 0.9559 GB, free: 13.79 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008057/0.007731, allocations: 0.691 MB / 0.9566 GB, free: 13.04 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003545/0.008086, allocations: 199.8 kB / 0.9567 GB, free: 12.82 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001557/0.008241, allocations: 122.5 kB / 0.9569 GB, free: 12.69 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 3.306e-05/0.008275, allocations: 12 kB / 0.9569 GB, free: 12.68 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004132/0.008688, allocations: 308.2 kB / 0.9572 GB, free: 12.36 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=48): time 2.405e-06/0.00869, allocations: 0 / 0.9572 GB, free: 12.36 MB / 0.9167 GB Notification: Performance of matching and sorting (n=48): time 0.0006963/0.009386, allocations: 492.4 kB / 0.9576 GB, free: 11.88 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.539e-05/0.009462, allocations: 118.7 kB / 0.9578 GB, free: 11.73 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001563/0.009618, allocations: 180.1 kB / 0.9579 GB, free: 11.55 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 3.372e-05/0.009652, allocations: 37.7 kB / 0.958 GB, free: 11.5 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 8.036e-05/0.009732, allocations: 121.3 kB / 0.9581 GB, free: 11.38 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001109/0.009843, allocations: 146.8 kB / 0.9582 GB, free: 11.24 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001046/0.009948, allocations: 106.3 kB / 0.9583 GB, free: 11.12 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001281/0.01008, allocations: 342.8 kB / 0.9586 GB, free: 10.78 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002113/0.01029, allocations: 149.2 kB / 0.9588 GB, free: 10.64 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002678/0.01055, allocations: 252.8 kB / 0.959 GB, free: 10.35 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004509/0.01101, allocations: 398 kB / 0.9594 GB, free: 9.926 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.01101, allocations: 4 kB / 0.9594 GB, free: 9.922 MB / 0.9167 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0005548/0.01156, allocations: 497.5 kB / 0.9599 GB, free: 9.43 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/0.01159, allocations: 8 kB / 0.9599 GB, free: 9.422 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.01159, allocations: 3.938 kB / 0.9599 GB, free: 9.418 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.085e-05/0.01163, allocations: 11.94 kB / 0.9599 GB, free: 9.406 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002173/0.01184, allocations: 95.81 kB / 0.96 GB, free: 9.312 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.214e-05/0.01186, allocations: 8 kB / 0.96 GB, free: 9.305 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000139/0.01199, allocations: 51.75 kB / 0.9601 GB, free: 9.254 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.373e-05/0.01202, allocations: 20 kB / 0.9601 GB, free: 9.234 MB / 0.9167 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.00014/0.01216, allocations: 167.6 kB / 0.9602 GB, free: 9.059 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.708e-05/0.01219, allocations: 39.69 kB / 0.9603 GB, free: 9.02 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.104e-05/0.01225, allocations: 29.97 kB / 0.9603 GB, free: 8.984 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.524e-06/0.01225, allocations: 7.938 kB / 0.9603 GB, free: 8.977 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.355e-06/0.01226, allocations: 0 / 0.9603 GB, free: 8.977 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/0.01227, allocations: 7.984 kB / 0.9603 GB, free: 8.969 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002487/0.01252, allocations: 272.5 kB / 0.9606 GB, free: 8.66 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.01252, allocations: 0 / 0.9606 GB, free: 8.66 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002311/0.01275, allocations: 83.95 kB / 0.9607 GB, free: 8.578 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.01276, allocations: 0 / 0.9607 GB, free: 8.578 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.474e-05/0.01278, allocations: 15.98 kB / 0.9607 GB, free: 8.562 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.01278, allocations: 3.938 kB / 0.9607 GB, free: 8.559 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.01278, allocations: 0 / 0.9607 GB, free: 8.559 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007063/0.01349, allocations: 0.5879 MB / 0.9613 GB, free: 7.945 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 2.676e-05/0.01352, allocations: 31.75 kB / 0.9613 GB, free: 7.914 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.673e-05/0.01355, allocations: 15.92 kB / 0.9613 GB, free: 7.898 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001042/0.01366, allocations: 35.91 kB / 0.9613 GB, free: 7.863 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001004/0.01376, allocations: 59.91 kB / 0.9614 GB, free: 7.805 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.886e-05/0.01378, allocations: 12 kB / 0.9614 GB, free: 7.793 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 6.538e-05/0.01384, allocations: 129.1 kB / 0.9615 GB, free: 7.668 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.6e-07/0.01384, allocations: 0 / 0.9615 GB, free: 7.668 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002295/0.01407, allocations: 80 kB / 0.9616 GB, free: 7.59 MB / 0.9167 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.0009592/0.01503, allocations: 1.148 MB / 0.9627 GB, free: 6.406 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0005225/0.01555, allocations: 360.2 kB / 0.9631 GB, free: 6.059 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.01556, allocations: 0 / 0.9631 GB, free: 6.059 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0002346/0.01579, allocations: 195.7 kB / 0.9633 GB, free: 5.867 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002593/0.01605, allocations: 35.81 kB / 0.9633 GB, free: 5.836 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002829/0.01888, allocations: 3.15 MB / 0.9664 GB, free: 2.523 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.445e-05/0.01897, allocations: 164.1 kB / 0.9665 GB, free: 2.34 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0001063/0.01908, allocations: 43.23 kB / 0.9666 GB, free: 2.297 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001293/0.01921, allocations: 92.47 kB / 0.9666 GB, free: 2.203 MB / 0.9167 GB Notification: Performance of SimCode: time 9.82e-07/0.01921, allocations: 3.938 kB / 0.9667 GB, free: 2.199 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02493/0.04414, allocations: 7.455 MB / 0.9739 GB, free: 10.95 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.85/6.894, allocations: 4 kB / 0.9739 GB, free: 10.95 MB / 0.9323 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_MovingAverage_fmu --startTime=0 --stopTime=900 --stepSize=0.36 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_MovingAverage.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_MovingAverage.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 11.02798221912235]