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.001207/0.001207, allocations: 80.52 kB / 19.95 MB, free: 4.602 MB / 18.57 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.001373/0.001373, allocations: 173.2 kB / 23.24 MB, free: 1.324 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.9899/0.9899, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.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.994/1.994, allocations: 389.6 MB / 0.6343 GB, free: 12.6 MB / 0.6042 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 2.836e-06/2.836e-06, allocations: 0 / 1.001 GB, free: 13.45 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.328e-05/2.612e-05, allocations: 2.281 kB / 1.001 GB, free: 13.45 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage): time 0.001966/0.001992, allocations: 1.036 MB / 1.002 GB, free: 12.41 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001175/0.003167, allocations: 1.128 MB / 1.003 GB, free: 11.27 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.731e-05/0.003234, allocations: 4 kB / 1.003 GB, free: 11.27 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.936e-05/0.003273, allocations: 23.69 kB / 1.003 GB, free: 11.24 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 8.991e-05/0.003363, allocations: 39.58 kB / 1.003 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004122/0.003775, allocations: 167.5 kB / 1.003 GB, free: 11.04 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0002538/0.004029, allocations: 335 kB / 1.003 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001359/0.004165, allocations: 32.58 kB / 1.003 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002696/0.004435, allocations: 199.6 kB / 1.004 GB, free: 10.48 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001493/0.004584, allocations: 119.7 kB / 1.004 GB, free: 10.37 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 3.995e-05/0.004624, allocations: 32 kB / 1.004 GB, free: 10.34 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 6.334e-05/0.004687, allocations: 32 kB / 1.004 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 5.414e-05/0.004741, allocations: 83.7 kB / 1.004 GB, free: 10.22 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 7.544e-05/0.004817, allocations: 95.78 kB / 1.004 GB, free: 10.13 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0003002/0.005117, allocations: 346.9 kB / 1.004 GB, free: 9.789 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.005121, allocations: 0 / 1.004 GB, free: 9.789 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.272e-06/0.005122, allocations: 0 / 1.004 GB, free: 9.789 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.591e-06/0.005127, allocations: 0 / 1.004 GB, free: 9.789 MB / 0.9636 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.0007945/0.005922, allocations: 0.5521 MB / 1.005 GB, free: 9.203 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.005965, allocations: 13.34 kB / 1.005 GB, free: 9.191 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.156e-05/0.006016, allocations: 58.72 kB / 1.005 GB, free: 9.125 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000203/0.006219, allocations: 60.72 kB / 1.005 GB, free: 9.066 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.98e-05/0.006319, allocations: 146.3 kB / 1.005 GB, free: 8.895 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002253/0.006545, allocations: 499.7 kB / 1.006 GB, free: 8.297 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.837e-05/0.006583, allocations: 28.38 kB / 1.006 GB, free: 8.27 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003363/0.006919, allocations: 259.1 kB / 1.006 GB, free: 8.004 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.636e-05/0.006936, allocations: 8.141 kB / 1.006 GB, free: 7.996 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.912e-05/0.006955, allocations: 8.375 kB / 1.006 GB, free: 7.988 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.974e-06/0.006962, allocations: 11.88 kB / 1.006 GB, free: 7.977 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002652/0.007227, allocations: 182.5 kB / 1.006 GB, free: 7.801 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007943/0.008021, allocations: 0.6948 MB / 1.007 GB, free: 7.055 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003914/0.008413, allocations: 191.7 kB / 1.007 GB, free: 6.84 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000175/0.008588, allocations: 126.5 kB / 1.007 GB, free: 6.707 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 3.942e-05/0.008627, allocations: 11.98 kB / 1.007 GB, free: 6.695 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003959/0.009023, allocations: 316.3 kB / 1.007 GB, free: 6.363 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=48): time 2.014e-06/0.009025, allocations: 3.938 kB / 1.007 GB, free: 6.359 MB / 0.9636 GB Notification: Performance of matching and sorting (n=48): time 0.000744/0.009769, allocations: 485.7 kB / 1.008 GB, free: 5.879 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.875e-05/0.009828, allocations: 118.8 kB / 1.008 GB, free: 5.738 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001198/0.009947, allocations: 176.6 kB / 1.008 GB, free: 5.555 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.857e-05/0.009976, allocations: 41.64 kB / 1.008 GB, free: 5.508 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 5.66e-05/0.01003, allocations: 121.4 kB / 1.008 GB, free: 5.383 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 8.226e-05/0.01011, allocations: 150.8 kB / 1.008 GB, free: 5.234 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.855e-05/0.01021, allocations: 110.3 kB / 1.008 GB, free: 5.117 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.232e-05/0.01031, allocations: 338.8 kB / 1.009 GB, free: 4.777 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001978/0.0105, allocations: 145.2 kB / 1.009 GB, free: 4.637 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002388/0.01074, allocations: 252.8 kB / 1.009 GB, free: 4.352 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000403/0.01115, allocations: 398 kB / 1.01 GB, free: 3.926 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.01115, allocations: 0 / 1.01 GB, free: 3.926 MB / 0.9636 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0005295/0.01168, allocations: 485 kB / 1.01 GB, free: 3.445 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.0117, allocations: 8 kB / 1.01 GB, free: 3.438 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.01171, allocations: 4 kB / 1.01 GB, free: 3.434 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.05e-05/0.01173, allocations: 7.938 kB / 1.01 GB, free: 3.426 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002285/0.01195, allocations: 99.83 kB / 1.01 GB, free: 3.328 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.01196, allocations: 4 kB / 1.01 GB, free: 3.324 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001381/0.0121, allocations: 59.7 kB / 1.01 GB, free: 3.266 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.46e-05/0.01213, allocations: 23.98 kB / 1.01 GB, free: 3.242 MB / 0.9636 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.000134/0.01226, allocations: 167.7 kB / 1.01 GB, free: 3.07 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.162e-05/0.01229, allocations: 23.86 kB / 1.01 GB, free: 3.047 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.495e-05/0.01234, allocations: 41.89 kB / 1.01 GB, free: 3.008 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.01234, allocations: 7.938 kB / 1.01 GB, free: 3 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/0.01235, allocations: 4 kB / 1.01 GB, free: 2.996 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.01236, allocations: 0 / 1.01 GB, free: 2.996 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002322/0.01259, allocations: 276.5 kB / 1.011 GB, free: 2.684 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.01259, allocations: 0 / 1.011 GB, free: 2.684 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000214/0.0128, allocations: 75.83 kB / 1.011 GB, free: 2.609 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/0.01281, allocations: 4 kB / 1.011 GB, free: 2.605 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.164e-05/0.01283, allocations: 15.94 kB / 1.011 GB, free: 2.59 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.509e-06/0.01284, allocations: 8 kB / 1.011 GB, free: 2.582 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.01284, allocations: 8.688 kB / 1.011 GB, free: 2.574 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007184/0.01356, allocations: 0.5854 MB / 1.011 GB, free: 1.965 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 2.987e-05/0.01359, allocations: 31.8 kB / 1.011 GB, free: 1.934 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.2e-05/0.01362, allocations: 8 kB / 1.011 GB, free: 1.926 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001093/0.01373, allocations: 32 kB / 1.011 GB, free: 1.895 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001077/0.01384, allocations: 63.78 kB / 1.012 GB, free: 1.832 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.97e-05/0.01386, allocations: 23.98 kB / 1.012 GB, free: 1.809 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 7.375e-05/0.01393, allocations: 125.2 kB / 1.012 GB, free: 1.688 MB / 0.9636 GB Notification: Performance of sort global known variables: time 7e-08/0.01393, allocations: 4 kB / 1.012 GB, free: 1.684 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002651/0.0142, allocations: 83.89 kB / 1.012 GB, free: 1.602 MB / 0.9636 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.0009771/0.01517, allocations: 1.137 MB / 1.013 GB, free: 440 kB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0005162/0.01569, allocations: 372.7 kB / 1.013 GB, free: 72 kB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.01569, allocations: 0 / 1.013 GB, free: 72 kB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0002404/0.01593, allocations: 184.4 kB / 1.013 GB, free: 15.89 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002547/0.01619, allocations: 47.97 kB / 1.013 GB, free: 15.84 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003044/0.01923, allocations: 3.139 MB / 1.017 GB, free: 12.54 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.31e-05/0.01932, allocations: 160 kB / 1.017 GB, free: 12.36 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0001149/0.01944, allocations: 43.14 kB / 1.017 GB, free: 12.32 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001265/0.01957, allocations: 92.47 kB / 1.017 GB, free: 12.22 MB / 0.9792 GB Notification: Performance of SimCode: time 1.503e-06/0.01957, allocations: 0 / 1.017 GB, free: 12.22 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1061/0.1257, allocations: 7.47 MB / 1.024 GB, free: 4.953 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.786/7.912, allocations: 8.938 kB / 1.024 GB, free: 4.949 MB / 0.9792 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.836447407491505]