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.0008878/0.0008878, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0008692/0.0008692, 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.9009/0.9009, allocations: 177.2 MB / 202.8 MB, free: 5.738 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.664/1.664, allocations: 359 MB / 0.6037 GB, free: 11.11 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_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 2.986e-06/2.986e-06, allocations: 3.938 kB / 0.9506 GB, free: 3.402 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.122e-05/2.421e-05, allocations: 5.094 kB / 0.9506 GB, free: 3.398 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart): time 0.002406/0.00243, allocations: 1.913 MB / 0.9525 GB, free: 1.465 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0009615/0.003392, allocations: 0.7094 MB / 0.9531 GB, free: 0.75 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001012/0.003493, allocations: 0 / 0.9531 GB, free: 0.75 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 5.2e-05/0.003545, allocations: 19.69 kB / 0.9532 GB, free: 0.7305 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.0001086/0.003653, allocations: 51.52 kB / 0.9532 GB, free: 0.6797 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006099/0.004263, allocations: 175.7 kB / 0.9534 GB, free: 0.5078 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0003059/0.004569, allocations: 339 kB / 0.9537 GB, free: 180 kB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001548/0.004724, allocations: 36.86 kB / 0.9537 GB, free: 140 kB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000305/0.005029, allocations: 195.6 kB / 0.9539 GB, free: 15.95 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001386/0.005168, allocations: 119.6 kB / 0.954 GB, free: 15.83 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 3.535e-05/0.005203, allocations: 28 kB / 0.9541 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 5.493e-05/0.005258, allocations: 35.98 kB / 0.9541 GB, free: 15.77 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 4.77e-05/0.005306, allocations: 87.7 kB / 0.9542 GB, free: 15.68 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 6.884e-05/0.005375, allocations: 95.78 kB / 0.9543 GB, free: 15.59 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0002725/0.005647, allocations: 335 kB / 0.9546 GB, free: 15.26 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.00565, allocations: 4 kB / 0.9546 GB, free: 15.25 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.312e-06/0.005651, allocations: 0 / 0.9546 GB, free: 15.25 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.005657, allocations: 0 / 0.9546 GB, free: 15.25 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.0008373/0.006494, allocations: 0.5676 MB / 0.9552 GB, free: 14.66 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.147e-05/0.006546, allocations: 12.03 kB / 0.9552 GB, free: 14.65 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.294e-05/0.006599, allocations: 58.67 kB / 0.9552 GB, free: 14.58 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001993/0.006798, allocations: 56.72 kB / 0.9553 GB, free: 14.53 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002814/0.00708, allocations: 201.3 kB / 0.9555 GB, free: 14.3 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002077/0.007287, allocations: 495.7 kB / 0.9559 GB, free: 13.71 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.292e-05/0.00733, allocations: 36.34 kB / 0.956 GB, free: 13.67 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003392/0.007669, allocations: 259.1 kB / 0.9562 GB, free: 13.41 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/0.007684, allocations: 192 / 0.9562 GB, free: 13.41 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.896e-05/0.007703, allocations: 15.88 kB / 0.9562 GB, free: 13.39 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.007709, allocations: 4 kB / 0.9562 GB, free: 13.39 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002686/0.007978, allocations: 183.8 kB / 0.9564 GB, free: 13.21 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007569/0.008734, allocations: 0.6832 MB / 0.9571 GB, free: 12.47 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003425/0.009077, allocations: 199.7 kB / 0.9573 GB, free: 12.25 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001546/0.009231, allocations: 130.7 kB / 0.9574 GB, free: 12.11 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 3.168e-05/0.009263, allocations: 12 kB / 0.9574 GB, free: 12.1 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003413/0.009604, allocations: 308.5 kB / 0.9577 GB, free: 11.78 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=48): time 2.034e-06/0.009606, allocations: 0 / 0.9577 GB, free: 11.78 MB / 0.9167 GB Notification: Performance of matching and sorting (n=48): time 0.0006952/0.0103, allocations: 487.8 kB / 0.9582 GB, free: 11.3 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.221e-05/0.01036, allocations: 118.8 kB / 0.9583 GB, free: 11.16 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001386/0.0105, allocations: 184.6 kB / 0.9585 GB, free: 10.97 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 3.147e-05/0.01053, allocations: 45.7 kB / 0.9585 GB, free: 10.92 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 6.203e-05/0.0106, allocations: 125.3 kB / 0.9586 GB, free: 10.8 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 8.53e-05/0.01068, allocations: 150.7 kB / 0.9588 GB, free: 10.65 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001038/0.01079, allocations: 110.3 kB / 0.9589 GB, free: 10.54 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 9.623e-05/0.01088, allocations: 338.8 kB / 0.9592 GB, free: 10.2 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001895/0.01107, allocations: 149.2 kB / 0.9593 GB, free: 10.05 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002333/0.0113, allocations: 252.8 kB / 0.9596 GB, free: 9.766 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004169/0.01172, allocations: 398.1 kB / 0.96 GB, free: 9.34 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.01172, allocations: 0 / 0.96 GB, free: 9.34 MB / 0.9167 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0005386/0.01226, allocations: 489.5 kB / 0.9604 GB, free: 8.855 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.01228, allocations: 8 kB / 0.9604 GB, free: 8.848 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.01229, allocations: 7.938 kB / 0.9604 GB, free: 8.84 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.01231, allocations: 4 kB / 0.9604 GB, free: 8.836 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001941/0.0125, allocations: 99.77 kB / 0.9605 GB, free: 8.738 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.814e-06/0.01251, allocations: 7.938 kB / 0.9605 GB, free: 8.73 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001313/0.01264, allocations: 63.73 kB / 0.9606 GB, free: 8.668 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.28e-05/0.01266, allocations: 20 kB / 0.9606 GB, free: 8.648 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.0001319/0.01279, allocations: 161.8 kB / 0.9608 GB, free: 8.48 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.105e-05/0.01282, allocations: 31.8 kB / 0.9608 GB, free: 8.449 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.626e-05/0.01287, allocations: 41.83 kB / 0.9608 GB, free: 8.398 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.01288, allocations: 8 kB / 0.9609 GB, free: 8.391 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.01288, allocations: 4 kB / 0.9609 GB, free: 8.387 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.341e-06/0.01289, allocations: 3.984 kB / 0.9609 GB, free: 8.383 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002083/0.0131, allocations: 272.5 kB / 0.9611 GB, free: 8.074 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.359e-06/0.0131, allocations: 8.062 kB / 0.9611 GB, free: 8.066 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000198/0.0133, allocations: 71.89 kB / 0.9612 GB, free: 7.996 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.0133, allocations: 4 kB / 0.9612 GB, free: 7.992 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.518e-05/0.01333, allocations: 15.92 kB / 0.9612 GB, free: 7.977 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.01333, allocations: 4 kB / 0.9612 GB, free: 7.973 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.01333, allocations: 0 / 0.9612 GB, free: 7.973 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007037/0.01404, allocations: 0.5955 MB / 0.9618 GB, free: 7.352 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 2.643e-05/0.01406, allocations: 27.75 kB / 0.9618 GB, free: 7.324 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.103e-05/0.01409, allocations: 11.94 kB / 0.9618 GB, free: 7.312 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001017/0.0142, allocations: 35.95 kB / 0.9619 GB, free: 7.277 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001036/0.0143, allocations: 59.84 kB / 0.9619 GB, free: 7.219 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.972e-05/0.01432, allocations: 16 kB / 0.962 GB, free: 7.203 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 8.644e-05/0.0144, allocations: 136.3 kB / 0.9621 GB, free: 7.07 MB / 0.9167 GB Notification: Performance of sort global known variables: time 8e-08/0.01441, allocations: 4 kB / 0.9621 GB, free: 7.066 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002642/0.01467, allocations: 80.03 kB / 0.9622 GB, free: 6.988 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.0009015/0.01557, allocations: 1.144 MB / 0.9633 GB, free: 5.809 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0004824/0.01605, allocations: 363.1 kB / 0.9636 GB, free: 5.453 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.01605, allocations: 0 / 0.9636 GB, free: 5.453 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0002236/0.01628, allocations: 179.8 kB / 0.9638 GB, free: 5.277 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002316/0.01651, allocations: 35.5 kB / 0.9638 GB, free: 5.246 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002753/0.01926, allocations: 3.181 MB / 0.9669 GB, free: 1.898 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.534e-05/0.01936, allocations: 160.5 kB / 0.9671 GB, free: 1.719 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 9.642e-05/0.01946, allocations: 34.97 kB / 0.9671 GB, free: 1.68 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001248/0.01958, allocations: 104.5 kB / 0.9672 GB, free: 1.578 MB / 0.9167 GB Notification: Performance of SimCode: time 5.41e-07/0.01958, allocations: 0 / 0.9672 GB, free: 1.578 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01917/0.03875, allocations: 7.548 MB / 0.9746 GB, free: 10.24 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.935/6.974, allocations: 8.688 kB / 0.9746 GB, free: 10.23 MB / 0.9323 GB " [Timeout remaining time 293] (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/jenkins/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: 11.046948879957199]