Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_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.001209/0.001209, allocations: 100.3 kB / 19.72 MB, free: 428 kB / 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.001245/0.001245, allocations: 216.7 kB / 23.02 MB, free: 2.969 MB / 13.93 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.01/1.01, allocations: 230.6 MB / 256.8 MB, free: 9.617 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 2.008/2.008, allocations: 0.5045 GB / 0.8104 GB, free: 2.742 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.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_13_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_13_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.001361/0.001361, allocations: 65.14 kB / 1.177 GB, free: 15.43 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3116/0.313, allocations: 180 MB / 1.353 GB, free: 9.105 MB / 1.042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart): time 0.002365/0.3154, allocations: 1.914 MB / 1.354 GB, free: 7.18 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.0009096/0.3163, allocations: 0.7012 MB / 1.355 GB, free: 6.473 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.522e-05/0.3164, allocations: 0 / 1.355 GB, free: 6.473 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 4.919e-05/0.3164, allocations: 23.67 kB / 1.355 GB, free: 6.449 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 9.952e-05/0.3165, allocations: 39.58 kB / 1.355 GB, free: 6.41 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005161/0.317, allocations: 187.6 kB / 1.355 GB, free: 6.227 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.0003583/0.3174, allocations: 331.1 kB / 1.356 GB, free: 5.902 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000143/0.3175, allocations: 33.19 kB / 1.356 GB, free: 5.871 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002041/0.3177, allocations: 143.6 kB / 1.356 GB, free: 5.73 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000144/0.3179, allocations: 135.3 kB / 1.356 GB, free: 5.598 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 3.38e-05/0.3179, allocations: 28 kB / 1.356 GB, free: 5.57 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.113e-05/0.318, allocations: 32 kB / 1.356 GB, free: 5.539 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001245/0.3181, allocations: 79.78 kB / 1.356 GB, free: 5.461 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 8.579e-05/0.3182, allocations: 119.5 kB / 1.356 GB, free: 5.344 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002733/0.3185, allocations: 322.7 kB / 1.356 GB, free: 5.027 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.3185, allocations: 0 / 1.356 GB, free: 5.027 MB / 1.042 GB Notification: Performance of FrontEnd: time 2.074e-06/0.3185, allocations: 0 / 1.356 GB, free: 5.027 MB / 1.042 GB Notification: Performance of Transformations before backend: time 7.434e-06/0.3185, allocations: 0 / 1.356 GB, free: 5.027 MB / 1.042 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.0008014/0.3193, allocations: 0.5636 MB / 1.357 GB, free: 4.434 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/0.3193, allocations: 8.922 kB / 1.357 GB, free: 4.426 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.058e-05/0.3194, allocations: 62.67 kB / 1.357 GB, free: 4.355 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002002/0.3196, allocations: 64.7 kB / 1.357 GB, free: 4.293 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00029/0.3199, allocations: 191 kB / 1.357 GB, free: 4.082 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002074/0.3201, allocations: 0.4957 MB / 1.358 GB, free: 3.473 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.805e-05/0.3201, allocations: 24.38 kB / 1.358 GB, free: 3.449 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003459/0.3204, allocations: 261.7 kB / 1.358 GB, free: 3.184 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.474e-05/0.3205, allocations: 4 kB / 1.358 GB, free: 3.18 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.845e-05/0.3205, allocations: 11.94 kB / 1.358 GB, free: 3.168 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.3205, allocations: 4 kB / 1.358 GB, free: 3.164 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002631/0.3207, allocations: 171.9 kB / 1.358 GB, free: 2.996 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007571/0.3215, allocations: 0.6987 MB / 1.359 GB, free: 2.246 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003478/0.3219, allocations: 199.7 kB / 1.359 GB, free: 2.023 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000155/0.322, allocations: 130.4 kB / 1.359 GB, free: 1.887 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.623e-05/0.322, allocations: 8.359 kB / 1.359 GB, free: 1.879 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003543/0.3224, allocations: 315.3 kB / 1.36 GB, free: 1.547 MB / 1.042 GB Notification: Performance of pre-optimization done (n=48): time 1.714e-06/0.3224, allocations: 3.938 kB / 1.36 GB, free: 1.543 MB / 1.042 GB Notification: Performance of matching and sorting (n=48): time 0.0006811/0.3231, allocations: 488 kB / 1.36 GB, free: 1.062 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.863e-05/0.3231, allocations: 118.8 kB / 1.36 GB, free: 0.9219 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001225/0.3233, allocations: 183.5 kB / 1.36 GB, free: 0.7344 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 2.49e-05/0.3233, allocations: 37.7 kB / 1.36 GB, free: 0.6914 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 5.682e-05/0.3233, allocations: 121.3 kB / 1.36 GB, free: 0.5703 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 8.284e-05/0.3234, allocations: 158.8 kB / 1.361 GB, free: 424 kB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.768e-05/0.3235, allocations: 106.3 kB / 1.361 GB, free: 312 kB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0001012/0.3236, allocations: 342.8 kB / 1.361 GB, free: 15.96 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001927/0.3238, allocations: 145.2 kB / 1.361 GB, free: 15.82 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002407/0.3241, allocations: 260.7 kB / 1.361 GB, free: 15.53 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004017/0.3245, allocations: 386.1 kB / 1.362 GB, free: 15.11 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.3245, allocations: 0 / 1.362 GB, free: 15.11 MB / 1.057 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.000536/0.325, allocations: 0.4896 MB / 1.362 GB, free: 14.62 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 2.305e-05/0.325, allocations: 6.5 kB / 1.362 GB, free: 14.61 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.325, allocations: 4 kB / 1.362 GB, free: 14.61 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.3251, allocations: 4 kB / 1.362 GB, free: 14.61 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002131/0.3253, allocations: 103.8 kB / 1.362 GB, free: 14.5 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.859e-06/0.3253, allocations: 4 kB / 1.362 GB, free: 14.5 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001385/0.3254, allocations: 63.7 kB / 1.362 GB, free: 14.44 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.479e-05/0.3254, allocations: 24 kB / 1.362 GB, free: 14.41 MB / 1.057 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.0001291/0.3256, allocations: 159.5 kB / 1.363 GB, free: 14.25 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.32e-05/0.3256, allocations: 27.8 kB / 1.363 GB, free: 14.22 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.037e-05/0.3257, allocations: 41.91 kB / 1.363 GB, free: 14.18 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/0.3257, allocations: 4 kB / 1.363 GB, free: 14.17 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.385e-06/0.3257, allocations: 0 / 1.363 GB, free: 14.17 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.3257, allocations: 3.984 kB / 1.363 GB, free: 14.17 MB / 1.057 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003144/0.326, allocations: 296.4 kB / 1.363 GB, free: 13.84 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.648e-06/0.326, allocations: 8 kB / 1.363 GB, free: 13.83 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002167/0.3262, allocations: 71.89 kB / 1.363 GB, free: 13.76 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.3262, allocations: 0 / 1.363 GB, free: 13.76 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.336e-05/0.3262, allocations: 16 kB / 1.363 GB, free: 13.74 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.3262, allocations: 0 / 1.363 GB, free: 13.74 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/0.3262, allocations: 4 kB / 1.363 GB, free: 13.74 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006969/0.3269, allocations: 0.5784 MB / 1.364 GB, free: 13.14 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 3.161e-05/0.327, allocations: 43.86 kB / 1.364 GB, free: 13.09 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.002e-05/0.327, allocations: 12 kB / 1.364 GB, free: 13.08 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000103/0.3271, allocations: 31.91 kB / 1.364 GB, free: 13.05 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001008/0.3272, allocations: 51.91 kB / 1.364 GB, free: 13 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.91e-05/0.3272, allocations: 19.98 kB / 1.364 GB, free: 12.98 MB / 1.057 GB Notification: Performance of sorting global known variables: time 6.965e-05/0.3273, allocations: 128.4 kB / 1.364 GB, free: 12.86 MB / 1.057 GB Notification: Performance of sort global known variables: time 5e-08/0.3273, allocations: 0 / 1.364 GB, free: 12.86 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.0002265/0.3275, allocations: 80.03 kB / 1.364 GB, free: 12.78 MB / 1.057 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.0009033/0.3284, allocations: 1.159 MB / 1.365 GB, free: 11.59 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.0004829/0.3289, allocations: 358.7 kB / 1.365 GB, free: 11.24 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.3289, allocations: 4 kB / 1.365 GB, free: 11.23 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.00024/0.3291, allocations: 184.4 kB / 1.366 GB, free: 11.05 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002879/0.3294, allocations: 47.75 kB / 1.366 GB, free: 11.01 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002997/0.3324, allocations: 3.213 MB / 1.369 GB, free: 7.629 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.446e-05/0.3325, allocations: 156.2 kB / 1.369 GB, free: 7.453 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.0001105/0.3326, allocations: 38.97 kB / 1.369 GB, free: 7.41 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001328/0.3328, allocations: 91.59 kB / 1.369 GB, free: 7.32 MB / 1.057 GB Notification: Performance of SimCode: time 1.262e-06/0.3328, allocations: 0 / 1.369 GB, free: 7.32 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09214/0.4249, allocations: 7.417 MB / 1.376 GB, free: 104 kB / 1.057 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.23/7.655, allocations: 6.062 kB / 1.376 GB, free: 100 kB / 1.057 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Controls_OBC_CDL_Reals_Validation_MovingAverage_nonZeroStart_fmu --startTime=100 --stopTime=900 --stepSize=0.32 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Controls_OBC_CDL_Reals_Validation_MovingAverage_nonZeroStart.fmu) > Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart_fmpy.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart_fmpy_res.csv --start-time 100 --stop-time 900 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.32 ../Buildings_13_Buildings_Controls_OBC_CDL_Reals_Validation_MovingAverage_nonZeroStart.fmu) > Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.965242789126933]