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.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.001237/0.001237, allocations: 111.2 kB / 16.46 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.001247/0.001247, allocations: 195.8 kB / 19.41 MB, free: 3.668 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.431/1.431, allocations: 225.6 MB / 247.8 MB, free: 13.96 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.793/2.793, allocations: 476.7 MB / 0.7611 GB, free: 11.31 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_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: Performance of FrontEnd - loaded program: time 0.001911/0.001911, allocations: 71.89 kB / 1.104 GB, free: 9.176 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9946/0.9965, allocations: 168.7 MB / 1.269 GB, free: 5.133 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart): time 0.004056/1.001, allocations: 1.973 MB / 1.271 GB, free: 3.148 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001366/1.002, allocations: 0.6598 MB / 1.271 GB, free: 2.484 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001756/1.002, allocations: 0 / 1.271 GB, free: 2.484 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 8.552e-05/1.002, allocations: 19.75 kB / 1.271 GB, free: 2.465 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001993/1.002, allocations: 43.56 kB / 1.271 GB, free: 2.422 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006037/1.003, allocations: 151.7 kB / 1.272 GB, free: 2.273 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0004997/1.003, allocations: 327.1 kB / 1.272 GB, free: 1.953 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001807/1.004, allocations: 38.2 kB / 1.272 GB, free: 1.914 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003193/1.004, allocations: 135.6 kB / 1.272 GB, free: 1.781 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002862/1.004, allocations: 155.3 kB / 1.272 GB, free: 1.629 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 7.671e-05/1.004, allocations: 32 kB / 1.272 GB, free: 1.598 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 5.605e-05/1.004, allocations: 28 kB / 1.272 GB, free: 1.57 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 8.081e-05/1.004, allocations: 75.78 kB / 1.272 GB, free: 1.496 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.000173/1.005, allocations: 135.4 kB / 1.272 GB, free: 1.363 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003796/1.005, allocations: 306.8 kB / 1.273 GB, free: 1.062 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/1.005, allocations: 0 / 1.273 GB, free: 1.062 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.014e-06/1.005, allocations: 0 / 1.273 GB, free: 1.062 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.153e-05/1.005, allocations: 0 / 1.273 GB, free: 1.062 MB / 0.9669 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.001376/1.006, allocations: 0.6351 MB / 1.273 GB, free: 388 kB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/1.006, allocations: 8.031 kB / 1.273 GB, free: 380 kB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.771e-05/1.007, allocations: 62.72 kB / 1.273 GB, free: 308 kB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.832e-05/1.007, allocations: 28.8 kB / 1.273 GB, free: 280 kB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001753/1.007, allocations: 205.3 kB / 1.274 GB, free: 32 kB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002782/1.007, allocations: 268.3 kB / 1.274 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.592e-05/1.007, allocations: 32.3 kB / 1.274 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005055/1.008, allocations: 265.6 kB / 1.274 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.796e-05/1.008, allocations: 0 / 1.274 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.733e-05/1.008, allocations: 12 kB / 1.274 GB, free: 15.39 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.979e-06/1.008, allocations: 4 kB / 1.274 GB, free: 15.39 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004234/1.008, allocations: 175.9 kB / 1.274 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001175/1.009, allocations: 0.7738 MB / 1.275 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004969/1.01, allocations: 203.6 kB / 1.275 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002587/1.01, allocations: 130.5 kB / 1.275 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.598e-05/1.01, allocations: 12.36 kB / 1.275 GB, free: 14.01 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006058/1.011, allocations: 311.3 kB / 1.276 GB, free: 13.69 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=48): time 1.703e-06/1.011, allocations: 0 / 1.276 GB, free: 13.69 MB / 0.9825 GB Notification: Performance of matching and sorting (n=48): time 0.001034/1.012, allocations: 492.1 kB / 1.276 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.96e-05/1.012, allocations: 118.7 kB / 1.276 GB, free: 13.06 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001741/1.012, allocations: 171.5 kB / 1.277 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.271e-05/1.012, allocations: 37.7 kB / 1.277 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.807e-05/1.012, allocations: 129.3 kB / 1.277 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001287/1.012, allocations: 146.8 kB / 1.277 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001723/1.012, allocations: 106.3 kB / 1.277 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001555/1.013, allocations: 342.8 kB / 1.277 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003092/1.013, allocations: 149.2 kB / 1.277 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003887/1.013, allocations: 256.7 kB / 1.278 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006655/1.014, allocations: 402 kB / 1.278 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.56e-06/1.014, allocations: 4 kB / 1.278 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008834/1.015, allocations: 497.1 kB / 1.279 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.261e-05/1.015, allocations: 10.03 kB / 1.279 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/1.015, allocations: 0 / 1.279 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.139e-05/1.015, allocations: 8 kB / 1.279 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004188/1.015, allocations: 95.83 kB / 1.279 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.363e-05/1.015, allocations: 8 kB / 1.279 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002708/1.016, allocations: 55.73 kB / 1.279 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.724e-05/1.016, allocations: 20 kB / 1.279 GB, free: 10.56 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.0001858/1.016, allocations: 156 kB / 1.279 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.182e-05/1.016, allocations: 35.75 kB / 1.279 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.748e-05/1.016, allocations: 33.86 kB / 1.279 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.229e-05/1.016, allocations: 8 kB / 1.279 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/1.016, allocations: 0 / 1.279 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/1.016, allocations: 0 / 1.279 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000417/1.016, allocations: 353.3 kB / 1.279 GB, free: 9.926 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/1.016, allocations: 3.938 kB / 1.279 GB, free: 9.922 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004068/1.017, allocations: 75.89 kB / 1.279 GB, free: 9.848 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.5e-06/1.017, allocations: 4 kB / 1.279 GB, free: 9.844 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.165e-05/1.017, allocations: 11.98 kB / 1.279 GB, free: 9.832 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.332e-06/1.017, allocations: 11.94 kB / 1.279 GB, free: 9.82 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/1.017, allocations: 3.938 kB / 1.279 GB, free: 9.816 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001279/1.018, allocations: 0.5747 MB / 1.28 GB, free: 9.215 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.431e-05/1.018, allocations: 112.8 kB / 1.28 GB, free: 9.086 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.708e-05/1.018, allocations: 8 kB / 1.28 GB, free: 9.078 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002317/1.018, allocations: 36.14 kB / 1.28 GB, free: 9.043 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001894/1.019, allocations: 55.97 kB / 1.28 GB, free: 8.988 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.507e-05/1.019, allocations: 23.92 kB / 1.28 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001652/1.019, allocations: 125.2 kB / 1.28 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/1.019, allocations: 0 / 1.28 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000406/1.019, allocations: 83.94 kB / 1.28 GB, free: 8.762 MB / 0.9825 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.001586/1.021, allocations: 1.151 MB / 1.281 GB, free: 7.578 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0008123/1.022, allocations: 360.4 kB / 1.282 GB, free: 7.23 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/1.022, allocations: 3.938 kB / 1.282 GB, free: 7.227 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0003912/1.022, allocations: 193.6 kB / 1.282 GB, free: 7.039 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003965/1.022, allocations: 42.59 kB / 1.282 GB, free: 7 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004857/1.027, allocations: 3.178 MB / 1.285 GB, free: 3.66 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000397/1.028, allocations: 0.7648 MB / 1.286 GB, free: 2.871 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.000175/1.028, allocations: 38.95 kB / 1.286 GB, free: 2.828 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001833/1.028, allocations: 91.41 kB / 1.286 GB, free: 2.738 MB / 0.9825 GB Notification: Performance of SimCode: time 8.72e-07/1.028, allocations: 0 / 1.286 GB, free: 2.738 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03541/1.063, allocations: 6.563 MB / 1.292 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.534/9.597, allocations: 14.2 kB / 1.292 GB, free: 12.33 MB / 0.9981 GB " [Timeout remaining time 290] (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_2/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: 15.758399736136198]