Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_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.001198/0.001198, allocations: 108.3 kB / 19.73 MB, free: 420 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.001441/0.001441, allocations: 212.6 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 0.9791/0.9791, allocations: 230.6 MB / 256.8 MB, free: 9.613 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 1.981/1.981, allocations: 0.5046 GB / 0.8104 GB, free: 2.762 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,fileNamePrefix="Buildings_13_Buildings_Controls_OBC_CDL_Reals_Validation_MovingAverage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage,fileNamePrefix="Buildings_13_Buildings_Controls_OBC_CDL_Reals_Validation_MovingAverage",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001595/0.001595, allocations: 67.89 kB / 1.177 GB, free: 11.94 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7743/0.7759, allocations: 180 MB / 1.352 GB, free: 1.656 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage): time 0.001624/0.7776, allocations: 1.034 MB / 1.354 GB, free: 0.6211 MB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.001076/0.7786, allocations: 1.135 MB / 1.355 GB, free: 15.47 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.855e-05/0.7787, allocations: 0 / 1.355 GB, free: 15.47 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 4.568e-05/0.7788, allocations: 15.75 kB / 1.355 GB, free: 15.46 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 8.697e-05/0.7788, allocations: 39.58 kB / 1.355 GB, free: 15.42 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003883/0.7792, allocations: 151.7 kB / 1.355 GB, free: 15.27 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.0002434/0.7795, allocations: 335 kB / 1.355 GB, free: 14.94 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000136/0.7796, allocations: 36.58 kB / 1.355 GB, free: 14.91 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002158/0.7798, allocations: 139.7 kB / 1.355 GB, free: 14.77 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001355/0.78, allocations: 135.3 kB / 1.355 GB, free: 14.64 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 3.154e-05/0.78, allocations: 32 kB / 1.355 GB, free: 14.61 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 5.738e-05/0.78, allocations: 32 kB / 1.355 GB, free: 14.57 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 4.563e-05/0.7801, allocations: 79.78 kB / 1.356 GB, free: 14.5 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 7.268e-05/0.7802, allocations: 115.5 kB / 1.356 GB, free: 14.38 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002463/0.7804, allocations: 321 kB / 1.356 GB, free: 14.07 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.7804, allocations: 0 / 1.356 GB, free: 14.07 MB / 1.042 GB Notification: Performance of FrontEnd: time 2.064e-06/0.7804, allocations: 3.938 kB / 1.356 GB, free: 14.07 MB / 1.042 GB Notification: Performance of Transformations before backend: time 5.63e-06/0.7804, allocations: 8 kB / 1.356 GB, free: 14.06 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.0007243/0.7811, allocations: 0.5576 MB / 1.357 GB, free: 13.47 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.7812, allocations: 8.922 kB / 1.357 GB, free: 13.46 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.633e-05/0.7812, allocations: 58.72 kB / 1.357 GB, free: 13.39 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000183/0.7814, allocations: 64.72 kB / 1.357 GB, free: 13.33 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.47e-05/0.7815, allocations: 143 kB / 1.357 GB, free: 13.16 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000212/0.7817, allocations: 0.4918 MB / 1.357 GB, free: 12.56 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.259e-05/0.7818, allocations: 28.38 kB / 1.357 GB, free: 12.54 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003258/0.7821, allocations: 262 kB / 1.358 GB, free: 12.27 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.495e-05/0.7821, allocations: 8 kB / 1.358 GB, free: 12.26 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.664e-05/0.7821, allocations: 4 kB / 1.358 GB, free: 12.25 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.7821, allocations: 11.98 kB / 1.358 GB, free: 12.24 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002519/0.7824, allocations: 171.8 kB / 1.358 GB, free: 12.07 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007462/0.7831, allocations: 0.6948 MB / 1.358 GB, free: 11.33 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003111/0.7834, allocations: 203.7 kB / 1.359 GB, free: 11.1 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001448/0.7836, allocations: 122.5 kB / 1.359 GB, free: 10.97 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.377e-05/0.7836, allocations: 11.98 kB / 1.359 GB, free: 10.96 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003686/0.784, allocations: 315.4 kB / 1.359 GB, free: 10.63 MB / 1.042 GB Notification: Performance of pre-optimization done (n=48): time 1.914e-06/0.784, allocations: 3.938 kB / 1.359 GB, free: 10.62 MB / 1.042 GB Notification: Performance of matching and sorting (n=48): time 0.0006289/0.7846, allocations: 492.2 kB / 1.36 GB, free: 10.14 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.44e-05/0.7847, allocations: 118.8 kB / 1.36 GB, free: 10 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001083/0.7848, allocations: 176.7 kB / 1.36 GB, free: 9.816 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 2.308e-05/0.7848, allocations: 37.7 kB / 1.36 GB, free: 9.773 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 5.204e-05/0.7849, allocations: 125.3 kB / 1.36 GB, free: 9.648 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 8.193e-05/0.7849, allocations: 158.8 kB / 1.36 GB, free: 9.492 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.479e-05/0.785, allocations: 106.3 kB / 1.36 GB, free: 9.383 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 8.922e-05/0.7851, allocations: 334.8 kB / 1.361 GB, free: 9.047 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001809/0.7853, allocations: 153.2 kB / 1.361 GB, free: 8.898 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002152/0.7855, allocations: 248.8 kB / 1.361 GB, free: 8.617 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003705/0.7859, allocations: 398 kB / 1.361 GB, free: 8.191 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.7859, allocations: 0 / 1.361 GB, free: 8.191 MB / 1.042 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0004796/0.7864, allocations: 493.7 kB / 1.362 GB, free: 7.703 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.7864, allocations: 7.938 kB / 1.362 GB, free: 7.695 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.7864, allocations: 8 kB / 1.362 GB, free: 7.688 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.7864, allocations: 4 kB / 1.362 GB, free: 7.684 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001946/0.7866, allocations: 95.89 kB / 1.362 GB, free: 7.59 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.7866, allocations: 8 kB / 1.362 GB, free: 7.582 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001183/0.7867, allocations: 59.73 kB / 1.362 GB, free: 7.523 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.03e-05/0.7868, allocations: 20 kB / 1.362 GB, free: 7.504 MB / 1.042 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.0001109/0.7869, allocations: 160 kB / 1.362 GB, free: 7.34 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.699e-05/0.7869, allocations: 31.75 kB / 1.362 GB, free: 7.309 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.308e-05/0.7869, allocations: 33.95 kB / 1.362 GB, free: 7.27 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.7869, allocations: 8 kB / 1.362 GB, free: 7.262 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.7869, allocations: 0 / 1.362 GB, free: 7.262 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.7869, allocations: 4.078 kB / 1.362 GB, free: 7.258 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000204/0.7872, allocations: 280.4 kB / 1.362 GB, free: 6.941 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.7872, allocations: 7.922 kB / 1.362 GB, free: 6.934 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001968/0.7874, allocations: 75.89 kB / 1.363 GB, free: 6.859 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/0.7874, allocations: 7.938 kB / 1.363 GB, free: 6.852 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.036e-05/0.7874, allocations: 15.98 kB / 1.363 GB, free: 6.836 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.836e-06/0.7874, allocations: 4 kB / 1.363 GB, free: 6.832 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.7874, allocations: 0 / 1.363 GB, free: 6.832 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006545/0.788, allocations: 0.5784 MB / 1.363 GB, free: 6.23 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.304e-05/0.7881, allocations: 31.69 kB / 1.363 GB, free: 6.199 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.591e-05/0.7881, allocations: 12.09 kB / 1.363 GB, free: 6.188 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.49e-05/0.7882, allocations: 39.89 kB / 1.363 GB, free: 6.148 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.272e-05/0.7883, allocations: 55.92 kB / 1.363 GB, free: 6.094 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.982e-05/0.7883, allocations: 19.98 kB / 1.363 GB, free: 6.074 MB / 1.042 GB Notification: Performance of sorting global known variables: time 6.068e-05/0.7884, allocations: 125.3 kB / 1.363 GB, free: 5.953 MB / 1.042 GB Notification: Performance of sort global known variables: time 5e-08/0.7884, allocations: 0 / 1.363 GB, free: 5.953 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.000212/0.7886, allocations: 83.92 kB / 1.363 GB, free: 5.871 MB / 1.042 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.0008395/0.7894, allocations: 1.148 MB / 1.365 GB, free: 4.691 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0004359/0.7898, allocations: 362.7 kB / 1.365 GB, free: 4.336 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.7898, allocations: 0 / 1.365 GB, free: 4.336 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002104/0.7901, allocations: 180.5 kB / 1.365 GB, free: 4.16 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002189/0.7903, allocations: 52.22 kB / 1.365 GB, free: 4.113 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002639/0.7929, allocations: 3.167 MB / 1.368 GB, free: 0.7773 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.507e-05/0.793, allocations: 160.2 kB / 1.368 GB, free: 0.6055 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 9.214e-05/0.7931, allocations: 30.97 kB / 1.368 GB, free: 0.5742 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001204/0.7932, allocations: 95.41 kB / 1.369 GB, free: 492 kB / 1.042 GB Notification: Performance of SimCode: time 8.82e-07/0.7932, allocations: 0 / 1.369 GB, free: 492 kB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08245/0.8757, allocations: 7.346 MB / 1.376 GB, free: 9.336 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.108/7.984, allocations: 6.219 kB / 1.376 GB, free: 9.332 MB / 1.057 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Controls_OBC_CDL_Reals_Validation_MovingAverage_fmu --startTime=0 --stopTime=900 --stepSize=0.36 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Controls_OBC_CDL_Reals_Validation_MovingAverage.fmu) > Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_fmpy.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_fmpy_res.csv --start-time 0 --stop-time 900 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.36 ../Buildings_13_Buildings_Controls_OBC_CDL_Reals_Validation_MovingAverage.fmu) > Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.918497965671122]